Re: Outstanding /dev/.udev bugs for /run migration
On Fri, Jan 13, 2012 at 05:01:54PM +0400, Michael Tokarev wrote:
> On 13.01.2012 03:18, Roger Leigh wrote:
> > All are currently broken. Whether they cause severe breakage depends
> > upon the individual case. Some are working apparently OK, e.g.
> > mdadm. Others are doing broken things to try and create device nodes
> For mdadm an upstream patch is needed. I already removed all refs to
> /dev/.udev from surrounding scripts and plan to patch remaining bit
> in the source. It will still use /dev/.udev to be able to work on
> older systems but will check both it and /run/udev. FWIW. I'd love
> to assume udev is always present but for mdadm it is not a good idea
> since it may be called in initramfs without udev or when udev is
> somehow broken, and mdadm needs to be functioning regardless.
> Besides, when mdadm detects lack of udev it merely creates /dev/md*
> nodes itself, which does not do any (visible) harm - udev just
> re-creates them.
> This missing bit is why I didn't close the bug in question when
> did initial changes (#627774 and #644319).
Cool, thanks for doing that. I'll go through each of the bugs in
detail for each affected package to determine if it's just for backward
compatibility, or if it does need to support /run in addition.
Probably next week sometime.
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.