Bug#493216: labeled mounts break with recent udev
Package: udev Version: 0.125 Severity: grave Hi, the removal of the /dev/.static/dev/ hack in 0.124-1 breaks labeled mounts (via LABEL=...) and might leave people with an unbootable system. Reason is that findfs and friends query /etc/blkid.tab to find the device matching the UUID. Since blkid.tab has things like /dev/.static/dev/hda7 (no idea why blkid picked that one in favour of /dev/hda7) this breaks the mount. I see three possible solutions: * put the hack back in (bad) or * put code into e2fsprogs that updates /etc/blkid.tag and let udev conflict on older than that versions of e2fsprogs. or * document that we stop supporting mounts by LABEL=... and people should use /dev/disk/by-label/ Cheers, -- Guido -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Processed: Re: Bug#493216: labeled mounts break with recent udev
Processing commands for [EMAIL PROTECTED]: reassign 493216 e2fsprogs Bug#493216: labeled mounts break with recent udev Bug reassigned from package `udev' to `e2fsprogs'. thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#493216: labeled mounts break with recent udev
reassign 493216 e2fsprogs thanks On Aug 01, Guido Günther [EMAIL PROTECTED] wrote: Reason is that findfs and friends query /etc/blkid.tab to find the device matching the UUID. Since blkid.tab has things like /dev/.static/dev/hda7 (no idea why blkid picked that one in favour of /dev/hda7) this breaks the mount. I am sorry to hear that blkid has been broken for a long time. I see three possible solutions: * put the hack back in (bad) Not going to happen. * put code into e2fsprogs that updates /etc/blkid.tag and let udev conflict on older than that versions of e2fsprogs. This is a bug which needs to be fixed, we generally do not conflict with packages just because they are buggy. (And anyway, people should use libvolume-id0.) -- ciao, Marco signature.asc Description: Digital signature
Bug#493216: labeled mounts break with recent udev
On Fri, Aug 01, 2008 at 02:13:31PM +0200, Marco d'Itri wrote: On Aug 01, Guido Günther [EMAIL PROTECTED] wrote: Reason is that findfs and friends query /etc/blkid.tab to find the device matching the UUID. Since blkid.tab has things like /dev/.static/dev/hda7 (no idea why blkid picked that one in favour of /dev/hda7) this breaks the mount. I am sorry to hear that blkid has been broken for a long time. Can you someone explain to me what the heck the /dev/.static/dev/hda7 hack is all about? I don't get those crazy names in my /etc/blkid.tab file... - Ted -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#493216: labeled mounts break with recent udev
Hi Marco, On Fri, Aug 01, 2008 at 02:13:31PM +0200, Marco d'Itri wrote: [..snip..] * put code into e2fsprogs that updates /etc/blkid.tag and let udev conflict on older than that versions of e2fsprogs. This is a bug which needs to be fixed, we generally do not conflict with packages just because they are buggy. I meant: _once_ this is fixed udev should conflict on older than fixed e2fsprogs since otherwise people might update udev and be left with an unbootable system. -- Guido -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#493216: labeled mounts break with recent udev
On Aug 01, Theodore Tso [EMAIL PROTECTED] wrote: Can you someone explain to me what the heck the /dev/.static/dev/hda7 hack is all about? udev used to make the underlying static /dev available as /dev/.static/dev/, using a bind mount. I removed this in 0.124-1, since it caused way more problems than it solved. One more problem is that apparently blkid picked up these devices instead of the real ones. -- ciao, Marco signature.asc Description: Digital signature
Bug#493216: labeled mounts break with recent udev
severity 493216 important thanks On Fri, Aug 01, 2008 at 08:24:38AM -0400, Theodore Tso wrote: On Fri, Aug 01, 2008 at 02:13:31PM +0200, Marco d'Itri wrote: On Aug 01, Guido Günther [EMAIL PROTECTED] wrote: Reason is that findfs and friends query /etc/blkid.tab to find the device matching the UUID. Since blkid.tab has things like /dev/.static/dev/hda7 (no idea why blkid picked that one in favour of /dev/hda7) this breaks the mount. I am sorry to hear that blkid has been broken for a long time. Can you someone explain to me what the heck the /dev/.static/dev/hda7 hack is all about? OK, now I know what /dev/.static is, but I still don't get those names in my /etc/blkid.tab file, and I'm not sure how they got into yours. It certainly isn't the name which is used by default, so I'm not sure how they would have gotten into the blkid file at all in the first place. All I can think of is that at some point someone accidentally typed the command blkid /dev/.static/dev/sda7 while running as root, and this errant got stuck in your /etc/blkid.tab file. I see (and will fix) the bug which causes blkid to not fix this problem automatically, but this is something which I've never seen show up in peoples /etc/blkid.tab files in the normal course of events. If you run the command the command blkid -g as root the errant /dev/.static entry will go away. cp /dev/null /etc/blkid.tab will also make the problem go away, and I haven't been able to find a way to make blkid put those names into /etc/blkid.tab unless forced via explicit human intervention. Am I right in assuming that udev 0.125 is not something that you guys are planning on trying to slide into Lenny? - Ted P.S. The huge bug with libvolumeid is that it relies on /dev/disk/by-*, which only gets updated at boot-time. So freshly created filesystems, swap spaces, etc., won't be foud by libvolumeid until after you reboot. That is so hugely windows-eque that I'm amazed users of libvolumeid put up with it. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Processed: Re: Bug#493216: labeled mounts break with recent udev
Processing commands for [EMAIL PROTECTED]: severity 493216 important Bug#493216: labeled mounts break with recent udev Severity set to `important' from `grave' thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]