Processed: Re: Bug#429437: new MAKEDEV usage chroot un friendly
Processing commands for [EMAIL PROTECTED]: severity 429437 critical Bug#429437: /dev/MAKEDEV does not exist in a chroot when udev does not run Severity set to `critical' from `minor' 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#429437: new MAKEDEV usage chroot un friendly
On Mon, Jun 18, 2007 at 01:10:38PM +1000, [EMAIL PROTECTED] wrote: Package: libraw1394-8 Version: 1.2.1-3 Severity: serious Tags: patch The new postinst is broken for the common case of installing package in chroot. set -e is used and cd /dev/ ./MAKEDEV is called unconditionally. Please test for existance of ./MAKEDEV, or that you are in a chroot, or just tack a || true onto the offending line. Setting up libraw1394-8 (1.2.1-3) ... Creating device node /dev/raw1394... /var/lib/dpkg/info/libraw1394-8.postinst: line 5: ./MAKEDEV: No such file or directory dpkg: error processing libraw1394-8 (--configure): subprocess post-installation script returned error exit status 1 Thanks, Kel. Hello, I need to know if you use makedev or udev. If you use makedev, /dev/MAKEDEV shoud be a symlink on /sbin/MAKEDEV (used in last version of the package). I verified before to make the changes in libraw1394-8.postinst file, this symlink exist on actual Debian SID with makedev. If you use udev, /dev/MAKEDEV should be a symling on /bin/true, so if you use udev, this file shoud be exist too. I don't understand why MAKEDEV is not in your /dev directory, this file should exist. I need more infos to solve this problem and I don't think that your patch is the solution. Regards -- .---. Ludovic RESLINGER / \ [EMAIL PROTECTED]@./ Trumpet Student in CNR /`\_/`\ Free Software Developer // )X( \\ | \ : )|_ _,'| .''`. /`\_` _/ \ @==TTT=::_ | : :' : \__/'---'\__/ ((_=HHH___)) `.| `. `'` `---UUU---'= `- signature.asc Description: Digital signature
Bug#429437: new MAKEDEV usage chroot un friendly
On Tue, 19 Jun 2007 07:58:35 am Ludovic RESLINGER wrote: On Mon, Jun 18, 2007 at 01:10:38PM +1000, [EMAIL PROTECTED] wrote: Package: libraw1394-8 Version: 1.2.1-3 Severity: serious Tags: patch The new postinst is broken for the common case of installing package in chroot. set -e is used and cd /dev/ ./MAKEDEV is called unconditionally. Please test for existance of ./MAKEDEV, or that you are in a chroot, or just tack a || true onto the offending line. Setting up libraw1394-8 (1.2.1-3) ... Creating device node /dev/raw1394... /var/lib/dpkg/info/libraw1394-8.postinst: line 5: ./MAKEDEV: No such file or directory dpkg: error processing libraw1394-8 (--configure): subprocess post-installation script returned error exit status 1 Thanks, Kel. Hello, I need to know if you use makedev or udev. In a clean chroot, there is nothing in /dev. udev was installed. No my patch is not best answer, but it at least allows package to be installed in chroot. Kel. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#429437: new MAKEDEV usage chroot un friendly
On Tue, 19 Jun 2007 07:58:35 am Ludovic RESLINGER wrote: Hello, I need to know if you use makedev or udev. I should have said: In the chroot, at the time libraw1394-8.postinst was called, udev was installed but inactive due to the fact that it detects it was installed in a chroot in udev.postinst and is no-op. This means that udev does not provide /dev/MAKEDEV in a chroot. There exist only a minimal static /dev at that time. Kel. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Processed: Bug#429437: new MAKEDEV usage chroot un friendly
Processing commands for [EMAIL PROTECTED]: severity 429437 important Bug#429437: new MAKEDEV usage chroot un friendly Severity set to `important' from `serious' tags 429437 moreinfo Bug#429437: new MAKEDEV usage chroot un friendly Tags were: patch Tags added: moreinfo 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#429437: new MAKEDEV usage chroot un friendly
Package: libraw1394-8 Version: 1.2.1-3 Severity: serious Tags: patch The new postinst is broken for the common case of installing package in chroot. set -e is used and cd /dev/ ./MAKEDEV is called unconditionally. Please test for existance of ./MAKEDEV, or that you are in a chroot, or just tack a || true onto the offending line. Setting up libraw1394-8 (1.2.1-3) ... Creating device node /dev/raw1394... /var/lib/dpkg/info/libraw1394-8.postinst: line 5: ./MAKEDEV: No such file or directory dpkg: error processing libraw1394-8 (--configure): subprocess post-installation script returned error exit status 1 Thanks, Kel.diff -Nrup libraw1394-1.2.1/debian/libraw1394-8.postinst libraw1394-1.2.1.patched/debian/libraw1394-8.postinst --- libraw1394-1.2.1/debian/libraw1394-8.postinst 2007-06-18 13:01:59.0 +1000 +++ libraw1394-1.2.1.patched/debian/libraw1394-8.postinst 2007-06-18 13:01:24.0 +1000 @@ -2,7 +2,7 @@ if [ $1 = configure ]; then echo -n Creating device node /dev/raw1394... - cd /dev ./MAKEDEV raw1394 + cd /dev ./MAKEDEV raw1394 || true echo done. fi