retitle 429437 /dev/MAKEDEV does not exist in a chroot when udev does not run severity 429437 wishlist thanks
Hi Kel, On Tue, Jun 19, 2007 at 06:17:14PM +1000, Kel Modderman wrote: >On Tue, 19 Jun 2007 08:38:30 am Ludovic RESLINGER wrote: >> It is not a solution to apply your patch because if /dev/MAKEDEV doesn't >> exist, /dev/raw1394 won't be created and libraw1394 won't work. >> >> I don't know how udev work in chroot, I think that you should ask it at >> udev's maitainer. > >Or your postinst could get smarter. Unconditionally calling > "cd /dev && ./MAKEDEV" >*assumes* udev is active. That condition is not true in all cases. Not necessarily, as you are using a chroot, the makedev package is present inside by default just after debootstrapping. It also provides a symlink from /dev/MAKEDEV to /sbin/MAKEDEV created by its init script which is called by its postinst maintainer script. To wit, makedev and udev conflict, so you have to make a choice. If you choose to use udev in a chroot, you *have* to run it, otherwise /dev/MAKEDEV will not exist and hence libraw1394 is bound to fail without the raw1394 character device. Silently hiding the non-creation of /dev/raw1394 is a bug and I advise the maintainer not to do so. If you do not want to run udev in your chroot, please choose makedev instead. Cheers, -- .''`. Aurélien GÉRÔME : :' : `. `'` Free Software Developer `- Unix Sys & Net Admin
signature.asc
Description: Digital signature