[kubic-bugs] [Bug 1162606] New: fstab.sys with bogus contents remaining after migration
http://bugzilla.suse.com/show_bug.cgi?id=1162606 Bug ID: 1162606 Summary: fstab.sys with bogus contents remaining after migration Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: MicroOS Assignee: iforster@suse.com Reporter: fvogt@suse.com QA Contact: qa-bugs@suse.de CC: kubic-bugs@opensuse.org Found By: --- Blocker: --- This happened to openqaworker4. Installation with Leap 15.0, with /var/lib/openqa/pool on a separate partition. The buggy read-only-root-fs did this: grep "/var" /etc/fstab | grep -v "^#" > /etc/fstab.sys So it copied not only the mount for /var, but also the one for /var/lib/openqa/pool. Later, it was upgraded to Leap 15.1, which migrated away from fstab.sys to fstab with x-initrd.mount. It does so by moving only the mount for /var over, which means that fstab.sys still contained the /var/lib/openqa/pool one. Maybe transactional-update should remove other /var/* mounts as well. IMO fstab.sys is entirely superseded by x-initrd.mount anyway and should be declared deprecated and subsequently removed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162606 http://bugzilla.suse.com/show_bug.cgi?id=1162606#c1 --- Comment #1 from Ignaz Forster <iforster@suse.com> --- I agree that the old read-only-root-fs script shouldn't have written subdirectories of /var into /etc/fstab.sys in the first place. On the other hand: The partition has been (accidentally) mounted during initrd for a very long time. In that sense the behavior just stayed the same as it always was. In this case I don't see why mounting the partition in fstab.sys would cause and problems: systemd should be clever enough to resolve the dependency to /var during umount, so the initial motivation to move everything to /etc/fstab does not apply here. Is this causing any actual problem, or this this more of a cosmetic thing? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1162606 http://bugzilla.suse.com/show_bug.cgi?id=1162606#c2 --- Comment #2 from Oliver Kurz <okurz@suse.com> --- (In reply to Ignaz Forster from comment #1)
Is this causing any actual problem, or this this more of a cosmetic thing?
Well, it did cost me about 4h and a lot of mental question marks because I changed mount point configuration in /etc/fstab and reboots failed because the mount points conflicted with the entries in the file /etc/fstab.sys and I wasn't even aware of the existance nor the idea behind /etc/fstab.sys :) So it's not just cosmetic unless there is any kind of documentation that clearly explains that /etc/fstab.sys is a thing -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com