[Bug 1152064] New: Editing or marking a libvirt vm as autostart on transactional server causes /etc to unmount
http://bugzilla.suse.com/show_bug.cgi?id=1152064 Bug ID: 1152064 Summary: Editing or marking a libvirt vm as autostart on transactional server causes /etc to unmount Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: william.brown@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 819531 --> http://bugzilla.suse.com/attachment.cgi?id=819531&action=edit machine xml On transactional server 15.1, any action that alters /etc/libvirt via virsh causes /etc to unmount and renders the system unstable. For example: virsh autostart <domain> virsh edit <domain> virt-create .... This is 100% reproduce-able in my environment. Steps: 1. install transactional server 2. install libvirt 3. do anything with virsh /etc will unmount and can not be recovered, forcing a reboot. For the sake of completion I have attached an example machine xml that this affected, but it affects *every* vm I have regardless of the xml content, and affects new machines with virt-create. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1152064
http://bugzilla.suse.com/show_bug.cgi?id=1152064#c1
--- Comment #1 from William Brown
http://bugzilla.suse.com/show_bug.cgi?id=1152064
Alynx Zhou
http://bugzilla.suse.com/show_bug.cgi?id=1152064
http://bugzilla.suse.com/show_bug.cgi?id=1152064#c2
Ignaz Forster
http://bugzilla.suse.com/show_bug.cgi?id=1152064
http://bugzilla.suse.com/show_bug.cgi?id=1152064#c3
James Fehlig
1. install transactional server
Is there anything special about /etc on a transactional server? Must services avoid writing there? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1152064
http://bugzilla.suse.com/show_bug.cgi?id=1152064#c4
--- Comment #4 from William Brown
http://bugzilla.suse.com/show_bug.cgi?id=1152064
http://bugzilla.suse.com/show_bug.cgi?id=1152064#c5
William Brown
I'm not sure it's possible to move that file out the way, rm/mv causes /etc to unmount before the operation completes, and after the reboot it's still there ... I'm genuinely concerned now about if it's going to be possible to resolve this via an update :|
Booting rescue + disable network manager, then the file can be removed. This then allows the machine to be autostarted. So yes, this is the network manager issue. Closing. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1152064
http://bugzilla.suse.com/show_bug.cgi?id=1152064#c6
Ignaz Forster
http://bugzilla.suse.com/show_bug.cgi?id=1152064
http://bugzilla.suse.com/show_bug.cgi?id=1152064#c7
--- Comment #7 from James Fehlig
@James: Just to answer your question in case you are interested: A transactional server is using a read-only Btrfs root file system, with certain directories / subvolumes mounted read-write. /etc is one of those writable directories. There are indeed a few things that have to be avoided on a transactional system, the most important one is that /var should not be written directly from the package - see https://en.opensuse.org/openSUSE:Packaging_for_transactional-updates for more information.
Nice, thanks for the info!
That said I haven't found any problems with the libvirt packages during testing.
Nod, I think it is fine in this regard. I'll keep it in mind for other packages I touch. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com