[Bug 989871] New: System goes into emergency mode on boot (lvmetad problem)
http://bugzilla.opensuse.org/show_bug.cgi?id=989871 Bug ID: 989871 Summary: System goes into emergency mode on boot (lvmetad problem) Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: x86-64 OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: nwr10cst-oslnx@yahoo.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.21 (KHTML, like Gecko) konqueror/4.14.18 Safari/537.21 Build Identifier: On first boot after install, the system went into emergency mode. The messages indicated a problem with the partition that I am mounting at "/xhome" (really my home partition). A check of "/dev/mapper" showed that it was not available. I ran "vgchange -a y", and then resumed the boot. This worked. I have since edited "/etc/lvm/lvm.conf", and changed "use_lvmetad = 1" to "use_lvmetad = 0". This corrects the problem. I'm pretty sure that we have seen this before. Reproducible: Always -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=989871
http://bugzilla.opensuse.org/show_bug.cgi?id=989871#c1
--- Comment #1 from Neil Rickert
http://bugzilla.opensuse.org/show_bug.cgi?id=989871
http://bugzilla.opensuse.org/show_bug.cgi?id=989871#c3
--- Comment #3 from Neil Rickert
Please see whether the following service is running or not: systemctl status initrd-udevadm-cleanup-db.service
# systemctl status initrd-udevadm-cleanup-db.service ● initrd-udevadm-cleanup-db.service - Cleanup udevd DB Loaded: loaded (/usr/lib/systemd/system/initrd-udevadm-cleanup-db.service; static; vendor preset: disabled) Active: inactive (dead) Jul 25 07:00:37 linux-zbzz systemd[1]: Starting Cleanup udevd DB... Jul 25 07:00:37 linux-zbzz systemd[1]: Started Cleanup udevd DB. I see the same output on the system where I am having problems and on the system where everything works (except different timestamps). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=989871
http://bugzilla.opensuse.org/show_bug.cgi?id=989871#c5
--- Comment #5 from Neil Rickert
http://bugzilla.opensuse.org/show_bug.cgi?id=989871
http://bugzilla.opensuse.org/show_bug.cgi?id=989871#c7
--- Comment #7 from Neil Rickert
http://bugzilla.opensuse.org/show_bug.cgi?id=989871
http://bugzilla.opensuse.org/show_bug.cgi?id=989871#c8
--- Comment #8 from Neil Rickert
http://bugzilla.opensuse.org/show_bug.cgi?id=989871
http://bugzilla.opensuse.org/show_bug.cgi?id=989871#c9
--- Comment #9 from Neil Rickert
http://bugzilla.opensuse.org/show_bug.cgi?id=989871
http://bugzilla.opensuse.org/show_bug.cgi?id=989871#c13
--- Comment #13 from Neil Rickert
I am a little confused.
Sorry about that. I guess I did not give enough detail. I use the particular computer for testing. I have several linux versions installed, including both Tumbleweed and 42.2. My tests all had secure-boot enabled. The boot path then should be: firmware --> shim.efi --> grub.efi which loads "grub.cfg". Here, "shim.efi", "grub.efi" and "grub.cfg" are all in "/boot/efi/EFI/opensuse". Each install takes over booting. So I keep backups of those three files so that I can restore them as needed. When those three files come from the new 42.2 install, then everything is fine. When those three files come from Tumbleweed (snapshot 20160828), I can boot into Tumbleweed, but I run into lvmetad issues if I try to boot into 42.2 For the Tumbleweed grub menu entry, I use the following to boot 42.2: --- cut here --- ### Entry to boot 42.2 on sdb4 menuentry "configfile for linux on /dev/sdb4 (42.2)" { set bootdir='hd1,gpt4' search --fs-uuid --set=bootdir 723d6d1e-6b1f-410c-bd53-87e944c288e0 configfile (${bootdir})/boot/grub2/grub.cfg } --- cut here --- The UUID is for "/dev/sdb4" which is "/boot" for 42.2. And there is a symlink so that "/boot/grub2/grub.cfg" works relative to "/boot". So I am really using the 42.2 boot menu via a "configfile" command. It does work, in that the kernel is loaded. But the home volume in my encrypted LVM is not made accessible and boot ends in emergency mode. No, I don't understand it either. All LVM operations should be initiated by the "initrd", and that happens after grub is no longer doing anything. So I agree that it does not make sense. Nevertheless, using the three boot path files for 42.2 was 100% effective when booting. And using those files from Tumbleweed failed every time (at least 4 attempts) yesterday. But now a new event. I tried again this morning, and it booted successfully using the basic boot files from Tumbleweed. So this is quite strange. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com