Bug#449049: powermgmt-base: /sbin/MAKEDEV not /dev/
On Feb 24, Justin Pryzby [EMAIL PROTECTED] wrote: What about under a chroot environment (like live-helper)? Should all chroot environments should be built with a working (for appropriate values of working) /dev/MAKEDEV. -- ciao, Marco signature.asc Description: Digital signature
Bug#449049: powermgmt-base: /sbin/MAKEDEV not /dev/
reopen 449049 retitle 449049 must not use /sbin/MAKEDEV thanks On Nov 02, Justin Pryzby [EMAIL PROTECTED] wrote: package:makedev contains /sbin/MAKEDEV and its initscript creates the link /dev/MAKEDEV = /sbin/MAKEDEV. powermgmt-base.postinst does: cd /dev ./MAKEDEV -v apm; but the link isn't apparently guaranteed to exist when this is called. It is. If it does not exist then your system is broken. If udev is installed but makedev is not, /sbin/MAKEDEV will not exist but /dev/MAKEDEV will. /dev/MAKEDEV is the correct interface and is what is used by other packages. BTW, please remove the dependency on modutils, it's not in the archive anymore. (I also wonder if the device created by MAKEDEV is still provided by modern kernels.) -- ciao, Marco signature.asc Description: Digital signature
Bug#449049: powermgmt-base: /sbin/MAKEDEV not /dev/
On Sun, Feb 24, 2008 at 01:20:00AM +0100, Marco d'Itri wrote: reopen 449049 retitle 449049 must not use /sbin/MAKEDEV thanks On Nov 02, Justin Pryzby [EMAIL PROTECTED] wrote: package:makedev contains /sbin/MAKEDEV and its initscript creates the link /dev/MAKEDEV = /sbin/MAKEDEV. powermgmt-base.postinst does: cd /dev ./MAKEDEV -v apm; but the link isn't apparently guaranteed to exist when this is called. It is. If it does not exist then your system is broken. What about under a chroot environment (like live-helper)? Should all the packages that do cd /dev ./MAKEDEV actually do the udev /proc/1/root test? Or should MAKEDEV itself test /proc/1/root = / exit? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#449049: powermgmt-base: /sbin/MAKEDEV not /dev/
retitle 449049 postinst incomplete if installed in chroot tags 449049 +patch thanks Please change your postinst script to call /sbin/MAKEDEV. The link in /dev is not available in chroots, and thus making your postinst be incomplete if the package is installed into a chroot. Besides the incompleteness, it also gives an annoying warning about the missing MAKEDEV. --- powermgmt-base.postinst.old 2007-12-27 22:48:09.0 +0100 +++ powermgmt-base.postinst 2007-12-27 22:48:22.0 +0100 @@ -4,7 +4,7 @@ case ${1} in (configure) -cd /dev ./MAKEDEV -v apm || true +cd /dev /sbin/MAKEDEV -v apm || true FN=/etc/modprobe.d/apm if [ -f ${FN} ] md5sum --check --status /dev/null 21 EOF 05bec108b10c64c5a614cf4576e5d66a ${FN} -- Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist Email: [EMAIL PROTECTED] Internet: http://people.panthera-systems.net/~daniel-baumann/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#449049: powermgmt-base: /sbin/MAKEDEV not /dev/
Package: powermgmt-base Version: 1.29 package:makedev contains /sbin/MAKEDEV and its initscript creates the link /dev/MAKEDEV = /sbin/MAKEDEV. powermgmt-base.postinst does: cd /dev ./MAKEDEV -v apm; but the link isn't apparently guaranteed to exist when this is called. I'm building a debian-live ISO image which triggers this, though I'm not sure I guess something is pulling it in as a dependency. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]