[Bug 712539] New: Having / (root) or /var on a LV prevents dmeventd from working correctly
https://bugzilla.novell.com/show_bug.cgi?id=712539 https://bugzilla.novell.com/show_bug.cgi?id=712539#c0 Summary: Having / (root) or /var on a LV prevents dmeventd from working correctly Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: All OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pieter@hollants.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=446065) --> (http://bugzilla.novell.com/attachment.cgi?id=446065) Patch to move dmeventd start after local filesystem mounting User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 If root is on a LVM LV, we get a number of error messages on boot about "failure to start dmeventd", "event registration failed" etc. This is due to dmeventd now being part of device-mapper and automatically started to monitor eg. RAID-1 style devices with the "mirror" plugin. However, dmeventd is a.) not part of the initrd and b.) requires /var and possibly other resources. Generally, it does not make sense to enable monitoring until all local filesystems have available. vgchange got a --sysinit parameter added because of this. This patch: - adds "--sysinit" to the initrd boot-lvm2.sh script responsible of making LVM VGs available (not even a root filesystem available at this stage) - adds "--sysinit" to the full-blown boot.lvm start script (if eg. /var is on LVM, vgchange will yield errors here, too) - adds a new /etc/init.d/boot.lvm_monitor script that enables monitoring just after local filesystems have become available This is the same behaviour that eg. Arch Linux and Gentoo have adopted (Credits to them for the idea behind the fix). See eg. https://bugs.archlinux.org/task/18153 Reproducible: Always Steps to Reproduce: 1. Install with / (root) and/or /var on a LV 2. Boot Actual Results: Error messages "Unable to start dmeventd", "event registration failed" More important: dmeventd not working! Expected Results: Start dmeventd when local filesystems are available -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=712539 https://bugzilla.novell.com/show_bug.cgi?id=712539#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |xwhu@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=712539 https://bugzilla.novell.com/show_bug.cgi?id=712539#c Xinwei Hu <xwhu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=712539 https://bugzilla.novell.com/show_bug.cgi?id=712539#c1 --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-11-01 11:00:27 CET --- This is an autogenerated message for OBS integration: This bug (712539) was mentioned in https://build.opensuse.org/request/show/89859 12.1 / lvm2 https://build.opensuse.org/request/show/89860 12.1 / lvm2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=712539 https://bugzilla.novell.com/show_bug.cgi?id=712539#c Xinwei Hu <xwhu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|xwhu@suse.com |dmzhang@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=712539 https://bugzilla.novell.com/show_bug.cgi?id=712539#c2 Matti Rintala <bitti@cs.tut.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bitti@cs.tut.fi --- Comment #2 from Matti Rintala <bitti@cs.tut.fi> 2011-11-29 08:16:20 UTC --- This bug also exists in OpenSUSE 12.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=712539 https://bugzilla.novell.com/show_bug.cgi?id=712539#c3 dong mao zhang <dmzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |dmzhang@suse.com Resolution| |FIXED --- Comment #3 from dong mao zhang <dmzhang@suse.com> 2011-12-07 04:13:46 UTC --- fixed in sr#95510 which was accepted in openSUSE:12.1:Update:Test -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com