https://bugzilla.novell.com/show_bug.cgi?id=731457
https://bugzilla.novell.com/show_bug.cgi?id=731457#c11
Frederic Crozat changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
CC| |mmarek@suse.com
InfoProvider|fcrozat@suse.com |
--- Comment #11 from Frederic Crozat 2011-12-07 11:23:26 UTC ---
ok, I've compared the situation with dracut (Fedora initramfs) and it looks
like we are missing some bits (which are explained in udev 168 release notes) :
"The running udev daemon can now cleanly shut down with:
udevadm control --exit
Udev in initramfs should clean the state of the udev database
with: udevadm info --cleanup-db which will remove all state left
behind from events/rules in initramfs. If initramfs uses
--cleanup-db and device-mapper/LVM, the rules in initramfs need
to add OPTIONS+="db_persist" for all dm devices. This will
prevent removal of the udev database for these devices.
"
so, I think (I didn't test since I can't rebuild easily kiwi initrd) we need to
:
- ensure we stop udev "safely", ie using :
udevadm control --exit
udevadm info --cleanup-db
- flag dm/lvm in udev database, when running under kiwi, as "persistent", by
adding a additional udev rule, like dracut is doing :11-dm.rules
SUBSYSTEM!="block", GOTO="dm_end"
KERNEL!="dm-[0-9]*", GOTO="dm_end"
ACTION!="add|change", GOTO="dm_end"
OPTIONS+="db_persist"
LABEL="dm_end"
it looks like we should do this for our "regular" initrd too..
--
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.