Bug#549275: udev: no longer creates /dev/disk/by-id/md-uuid-* symlinks, breaking boot!

2009-10-02 Thread Marco d'Itri
clone 549275 -1
severity -1 important
retitle -1 mdadm should copy its own rules file to the initramfs
reassign -1 mdadm
thanks

On Oct 02, Daniel Pittman dan...@rimspace.net wrote:

 Unfortunately, the rules that create the symlinks from
 /dev/disk/by-id/md-uuid-* to the /dev/md* devices were *not* considered
 necessary for mounting the root.
My mistake, for some reason I believed that the mdadm package copied
them.
I will add 64-md-raid.rules to the compatibility code in
/usr/share/initramfs-tools/hooks/udev, but mdadm should really change
this in the next release to not have to depend on what my package does.

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Processed: Re: Bug#549275: udev: no longer creates /dev/disk/by-id/md-uuid-* symlinks, breaking boot!

2009-10-02 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 clone 549275 -1
Bug#549275: udev: no longer creates /dev/disk/by-id/md-uuid-* symlinks, 
breaking boot!
Bug 549275 cloned as bug 549298.

 severity -1 important
Bug #549298 [udev] udev: no longer creates /dev/disk/by-id/md-uuid-* symlinks, 
breaking boot!
Severity set to 'important' from 'critical'

 retitle -1 mdadm should copy its own rules file to the initramfs
Bug #549298 [udev] udev: no longer creates /dev/disk/by-id/md-uuid-* symlinks, 
breaking boot!
Changed Bug title to 'mdadm should copy its own rules file to the initramfs' 
from 'udev: no longer creates /dev/disk/by-id/md-uuid-* symlinks, breaking 
boot!'
 reassign -1 mdadm
Bug #549298 [udev] mdadm should copy its own rules file to the initramfs
Bug reassigned from package 'udev' to 'mdadm'.
Bug No longer marked as found in versions udev/146-3.
 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#549275: udev: no longer creates /dev/disk/by-id/md-uuid-* symlinks, breaking boot!

2009-10-01 Thread Daniel Pittman
Package: udev
Version: 146-3
Severity: critical

G'day.

I recently upgraded to the latest udev, help up by the fact that I use
MD software RAID and needed to wait for the mdadm package to catch up.

On reboot my system broke: it could no longer locate the root device.

Having checked by poking around in the initramfs environment this is
because of this change (as far as I can tell):

udev (146-2) experimental; urgency=medium
[...]
  * Copy in the initramfs only the rules files which are needed to mount
the root.

Unfortunately, the rules that create the symlinks from
/dev/disk/by-id/md-uuid-* to the /dev/md* devices were *not* considered
necessary for mounting the root.

On the other hand, they *were* necessary in my boot stack, which is:

md RAID10 = dm_crpyt = lvm = root

Specifically, I used the 'by-id' name for the MD device in
/etc/crypttab, which was no longer created, so the second stage failed.


I appreciate the desire to boot faster, but it is a very, very
significant change to stop creating those device names in the initramfs
since it can break, and make *very* difficult to recover, a previously
working system that used them.


I can supply whatever extra detail is required; I have verified that,
indeed, it is specifically that only the ATA devices, and none of the
soft logical devices, that get by-id links in the initramfs already.

Regards,
Daniel

-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 172
lrwxrwxrwx 1 root root   19 Feb 17  2009 025_libgphoto2.rules - 
../libgphoto2.rules
-rw-r--r-- 1 root root  400 Dec 16  2007 05-options.rules
-rw-r--r-- 1 root root  191 Dec 16  2007 05-udev-early.rules
-rw-r--r-- 1 root root 1908 Mar 19  2009 11-hplj10xx.rules
-rw-r--r-- 1 root root 3215 Apr 11  2008 20-names.rules
-rw-r--r-- 1 root root  119 Oct  6  2007 30-cdrom_id.rules
-rw-r--r-- 1 root root  814 Apr 11  2008 40-basic-permissions.rules
-rw-r--r-- 1 root root 3109 Apr 11  2008 40-permissions.rules
-rw-r--r-- 1 root root   30 Sep 19  2007 45-fuse.rules
-rw-r--r-- 1 root root   51 Dec 19  2007 45-kvm.rules
-rw-r--r-- 1 root root  144 Oct 31  2007 50-hdapsd.rules
-rw-r--r-- 1 root root 6661 Dec 31  2007 50-xserver-xorg-input-wacom.rules
-rw-r--r-- 1 root root  495 May 21 09:10 56-hpmud_support.rules
-rw-r--r-- 1 root root  649 Oct  6  2007 60-symlinks.rules
-rw-r--r-- 1 root root  411 Apr 11  2008 61-persistent-storage-edd.rules
-rw-r--r-- 1 root root 1185 Sep 25  2007 65-dmsetup.rules
-rw-r--r-- 1 root root  914 Jul 13  2007 65-mdadm.vol_id.rules
-rw-r--r-- 1 root root  411 Apr  3  2008 66-persistent-storage-edd.rules
-rw-r--r-- 1 root root 1906 Nov 17  2008 70-persistent-cd.rules
-rw-r--r-- 1 root root  553 Oct  1 09:59 70-persistent-net.rules
-rw-r--r-- 1 root root  563 Apr 11  2008 80-programs.rules
-rw-r--r-- 1 root root  171 Sep  4  2007 85-alsa.rules
-rw-r--r-- 1 root root   84 Mar 29  2008 85-hdparm.rules
-rw-r--r-- 1 root root  723 Jun 26  2007 85-hplj10xx.rules
-rw-r--r-- 1 root root  126 Oct  3  2007 85-hwclock.rules
-rw-r--r-- 1 root root  708 Sep 20  2007 85-ifupdown.rules
-rw--- 1 root root   94 Jan  4  2009 85-local-harmony.rules
-rw--- 1 root root   61 Jan  4  2009 85-local-harmony.rules~
-rw-r--r-- 1 root root  667 Oct 30  2008 85-local-powersave.rules
-rw-r--r-- 1 root root  495 Sep  9  2008 85-local-powersave.rules~
-rw-r--r-- 1 root root  272 Jul 20  2007 85-lvm2.rules
-rw-r--r-- 1 root root  274 Jul 13  2007 85-mdadm.rules
-rw-r--r-- 1 root root  950 Mar  8  2007 85-pcmcia.rules
-rw-r--r-- 1 root root 3017 Dec 16  2007 90-modprobe.rules
-rw-r--r-- 1 root root   90 Oct  9  2007 95-hal.rules
-rw-r--r-- 1 root root  233 Dec 16  2007 95-udev-late.rules
-rw-r--r-- 1 root root 1224 Oct  6  2007 README
-rw-r--r-- 1 root root 5354 Mar 16  2009 z60_hplip.rules
-rw-r--r-- 1 root root 4923 Aug  6 07:30 z60_libconcord1.rules
-rw-r--r-- 1 root root 7117 Apr 12 07:32 z60_xserver-xorg-input-wacom.rules

-- /sys/:
/sys/dev
/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3/dev
/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:06/device:07/input/input2/event2/dev
/sys/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input4/event4/dev
/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input5/event5/dev
/sys/devices/pci:00/:00:1a.0/usb3/3-0:1.0/usb_endpoint/usbdev3.1_ep81/dev
/sys/devices/pci:00/:00:1a.0/usb3/3-1/3-1:1.0/usb_endpoint/usbdev3.2_ep02/dev
/sys/devices/pci:00/:00:1a.0/usb3/3-1/3-1:1.0/usb_endpoint/usbdev3.2_ep81/dev
/sys/devices/pci:00/:00:1a.0/usb3/3-1/3-1:1.0/usb_endpoint/usbdev3.2_ep82/dev
/sys/devices/pci:00/:00:1a.0/usb3/3-1/3-1:1.1/usb_endpoint/usbdev3.2_ep03/dev
/sys/devices/pci:00/:00:1a.0/usb3/3-1/3-1:1.1/usb_endpoint/usbdev3.2_ep83/dev
/sys/devices/pci:00/:00:1a.0/usb3/3-1/3-1:1.2/usb_endpoint/usbdev3.2_ep04/dev
/sys/devices/pci:00/:00:1a.0/usb3/3-1/3-1:1.2/usb_endpoint/usbdev3.2_ep84/dev
/sys/devices/pci:00/:00:1a.0/usb3/3-1/dev