Debian Bug report logs - #512012
[udev] postinst use of kill -s is unsupported by busybox

Package: buildd.emdebian.org; Maintainer for buildd.emdebian.org is Debian Embedded Team <debian-embedded@lists.debian.org>;

Reported by: "Martin Fuzzey" <mfuzzey@gmail.com>

Date: Fri, 16 Jan 2009 10:15:02 UTC

Severity: normal

Tags: confirmed

Done: Neil Williams <codehelp@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Embedded Team <debian-embedded@lists.debian.org>:
Bug#512012; Package buildd.emdebian.org. (Fri, 16 Jan 2009 10:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Martin Fuzzey" <mfuzzey@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian Embedded Team <debian-embedded@lists.debian.org>. (Fri, 16 Jan 2009 10:15:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "Martin Fuzzey" <mfuzzey@gmail.com>
To: submit@bugs.debian.org
Subject: udev fails to configure
Date: Fri, 16 Jan 2009 11:14:21 +0100
Package: buildd.emdebian.org
Severity: normal

The udev package ( 0.125-7em1) in a root fs crrated by emsandbox for
grip fails to configure with;

sh: bad signal name 's'
dpkg: error processing udev (--configure):
 subprocess post-installation script returned error exit status 1

The cause is the use of  the -s option to kill in the udev postinst
which is not supported by busybox kill.

My workaround is to add this to setup.sh:
sed -i "s/kill -s /kill -/g" $target/var/lib/dpkg/info/udev.postinst

Martin




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Embedded Team <debian-embedded@lists.debian.org>:
Bug#512012; Package buildd.emdebian.org. (Fri, 16 Jan 2009 11:18:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Neil Williams <codehelp@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Embedded Team <debian-embedded@lists.debian.org>. (Fri, 16 Jan 2009 11:18:05 GMT) Full text and rfc822 format available.

Message #10 received at 512012@bugs.debian.org (full text, mbox):

From: Neil Williams <codehelp@debian.org>
To: "Martin Fuzzey" <mfuzzey@gmail.com>, 512012@bugs.debian.org
Cc: control@bugs.debian.org, 484274@bugs.debian.org
Subject: Re: Bug#512012: udev fails to configure
Date: Fri, 16 Jan 2009 11:16:00 +0000
[Message part 1 (text/plain, inline)]
package: buildd.emdebian.org
tag 512012 + confirmed
retitle 512012 [udev] postinst use of kill -s is unsupported by busybox
thanks

> The udev package ( 0.125-7em1) in a root fs crrated by emsandbox for
> grip fails to configure with;
> 
> sh: bad signal name 's'
> dpkg: error processing udev (--configure):
>  subprocess post-installation script returned error exit status 1
> 
> The cause is the use of  the -s option to kill in the udev postinst
> which is not supported by busybox kill.
> 
> My workaround is to add this to setup.sh:
> sed -i "s/kill -s /kill -/g" $target/var/lib/dpkg/info/udev.postinst

Thanks, I've implemented this as a new Emdebian patch for udev:

--- udev.old/debian/udev.postinst	Fri Jan 16 10:53:04 2009
+++ /opt/emdebian/trunk/u/udev/trunk/udev-0.125/debian/udev.postinst	Fri Jan 16 10:56:54 2009
@@ -118,7 +118,7 @@
 
   # restart some daemons because their /dev sockets have been hidden by
   # the tmpfs
-  kill -s HUP 1
+  kill -HUP 1
   local sysloginits="inetutils-syslogd metalog socklog-run sysklogd syslog-ng"
   for script in $sysloginits; do
     [ -x /etc/init.d/$script ] && invoke-rc.d $script restart || true

$ parsechangelog 
Source: udev
Version: 0.125-7em2
Distribution: unstable
Urgency: low
Maintainer: Neil Williams <codehelp@debian.org>
Date: Fri, 16 Jan 2009 11:05:59 +0000
Closes: 512012
Changes: 
 udev (0.125-7em2) unstable; urgency=low
 .
   * New emdebian release.
   * Remove unsupported -s option to kill in postinst. (Closes: #512012)

I'll also update the Emdebian lintian checks to look for 'kill -s' in
other maintainer scripts in emdebian-tools (>= 1.4.15). (Cloned this
report for that purpose.)

Also adding this issue to #484274 for easier tracking.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

[Message part 2 (application/pgp-signature, inline)]

Bug 512012 cloned as bug 512016. Request was from Neil Williams <codehelp@debian.org> to control@bugs.debian.org. (Fri, 16 Jan 2009 11:18:05 GMT) Full text and rfc822 format available.

Tags added: confirmed Request was from Neil Williams <codehelp@debian.org> to control@bugs.debian.org. (Fri, 16 Jan 2009 11:18:13 GMT) Full text and rfc822 format available.

Changed Bug title to `[udev] postinst use of kill -s is unsupported by busybox' from `udev fails to configure'. Request was from Neil Williams <codehelp@debian.org> to control@bugs.debian.org. (Fri, 16 Jan 2009 11:18:14 GMT) Full text and rfc822 format available.

Reply sent to Neil Williams <codehelp@debian.org>:
You have taken responsibility. (Fri, 16 Jan 2009 11:30:03 GMT) Full text and rfc822 format available.

Notification sent to "Martin Fuzzey" <mfuzzey@gmail.com>:
Bug acknowledged by developer. (Fri, 16 Jan 2009 11:30:03 GMT) Full text and rfc822 format available.

Message #21 received at 512012-done@bugs.debian.org (full text, mbox):

From: Neil Williams <codehelp@debian.org>
To: 512012-done@bugs.debian.org
Subject: Automated closure message
Date: Fri, 16 Jan 2009 11:29:08 +0000
Package: buildd.emdebian.org

Most recent changes: http://buildd.emdebian.org/svn/changeset/4643


The new version of udev has been uploaded to Emdebian.
A summary of the changes between this version and
the previous Emdebian one is attached.

Format: 1.8
Date: Fri, 16 Jan 2009 11:05:59 +0000
Source: udev
Binary: udev libvolume-id0 libvolume-id-dev udev-udeb
Architecture: source arm
Version: 0.125-7em2
Distribution: unstable
Urgency: low
Maintainer: Marco d'Itri <md@linux.it>
Changed-By: Neil Williams <codehelp@debian.org>
Description: 
 libvolume-id-dev - libvolume_id development headers
 libvolume-id0 - libvolume_id shared library
 udev       - /dev/ and hotplug management daemon
 udev-udeb  - /dev/ and hotplug management daemon (udeb)
Closes: 512012
Changes: 
 udev (0.125-7em2) unstable; urgency=low
 .
   * New emdebian release.
   * Remove unsupported -s option to kill in postinst. (Closes: #512012)
Checksums-Sha1: 
 81cba4e693b60da72b0de56d7c278d1732c82c0b 770 udev_0.125-7em2.dsc
 4fe1f8b9cb56df199235726e44b0786dc8e113fc 62798 udev_0.125-7em2.diff.gz
 b3b07e8f2afb32b41859073474f84d0e8e26c146 142336 udev_0.125-7em2_arm.deb
 ec223eb56e1d233dd7a2e90069cbde5601352a94 17736 libvolume-id0_0.125-7em2_arm.deb
 8c70e0b4be35f59b6bca5ccdd3408444cbbd3202 2366 libvolume-id-dev_0.125-7em2_arm.deb
 332adc462b8c247e3343856e1779c9e48999b98a 122416 udev-udeb_0.125-7em2_arm.udeb
Checksums-Sha256: 
 a3045d9361b7db4d5424f0677cb268d2a6238b826fc19ade07d312fd4dfe3875 770 udev_0.125-7em2.dsc
 630b4015d8db02e50fd62e334b069fb14b0a437834b485916c1b82a79da9c208 62798 udev_0.125-7em2.diff.gz
 59e205bb67b67a9aef59fec60d6103fb727a420b36fe61092e507dbd81c39df2 142336 udev_0.125-7em2_arm.deb
 e9d1693eed8a5d85f827cd31a50a8af10c1e7141fcd5bbcb226c4741a016506f 17736 libvolume-id0_0.125-7em2_arm.deb
 079c525127b7a68f3fb0d6737e6e06e0cec31022da5332bab2566c6370426425 2366 libvolume-id-dev_0.125-7em2_arm.deb
 9c9d4b325ffdd8cd5fbe3c5c8048c8952a42ab6e44b7c6d5fe0c0976ee222fc5 122416 udev-udeb_0.125-7em2_arm.udeb
Files: 
 590f5507d5af43c1949c744304e58dca 770 admin important udev_0.125-7em2.dsc
 978b8454497c5b58eca4cacf6127a2fa 62798 admin important udev_0.125-7em2.diff.gz
 ebafc1d68fe9ad4b37f13fc7a6ba2304 142336 admin important udev_0.125-7em2_arm.deb
 712b3f8502c025af9988491b68d6e383 17736 libs required libvolume-id0_0.125-7em2_arm.deb
 ca94ef9a895a68476d52aba22857027c 2366 libdevel optional libvolume-id-dev_0.125-7em2_arm.deb
 567096806eac9d8dbd57d35dc34a75b6 122416 debian-installer important udev-udeb_0.125-7em2_arm.udeb
Package-Type: udeb




Message #22 received at 512012-done@bugs.debian.org (full text, mbox):

From: Neil Williams <codehelp@debian.org>
To: 512012-done@bugs.debian.org
Subject: Automated closure message
Date: Fri, 16 Jan 2009 12:03:57 +0000
Package: buildd.emdebian.org

Emdebian patches for udev: http://buildd.emdebian.org/svn/browser///current/target/trunk/u/udev/trunk


The new version of udev has been uploaded to Emdebian.
A summary of the changes between this version and
the previous Emdebian one is attached.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 16 Jan 2009 11:05:59 +0000
Source: udev
Binary: udev libvolume-id0 libvolume-id-dev udev-udeb
Architecture: source arm
Version: 0.125-7em2
Distribution: unstable
Urgency: low
Maintainer: Marco d'Itri <md@linux.it>
Changed-By: Neil Williams <codehelp@debian.org>
Description: 
 libvolume-id-dev - libvolume_id development headers
 libvolume-id0 - libvolume_id shared library
 udev       - /dev/ and hotplug management daemon
 udev-udeb  - /dev/ and hotplug management daemon (udeb)
Closes: 512012
Changes: 
 udev (0.125-7em2) unstable; urgency=low
 .
   * New emdebian release.
   * Remove unsupported -s option to kill in postinst. (Closes: #512012)
Checksums-Sha1: 
 638c660d93a3c418db102fa2b8f057f95f116d89 1015 udev_0.125-7em2.dsc
 4fe1f8b9cb56df199235726e44b0786dc8e113fc 62798 udev_0.125-7em2.diff.gz
 b3b07e8f2afb32b41859073474f84d0e8e26c146 142336 udev_0.125-7em2_arm.deb
 ec223eb56e1d233dd7a2e90069cbde5601352a94 17736 libvolume-id0_0.125-7em2_arm.deb
 8c70e0b4be35f59b6bca5ccdd3408444cbbd3202 2366 libvolume-id-dev_0.125-7em2_arm.deb
 332adc462b8c247e3343856e1779c9e48999b98a 122416 udev-udeb_0.125-7em2_arm.udeb
Checksums-Sha256: 
 ac9501ef9c1a481ca2d683e756e3a409307761f76502bbd19ed9e68f0557c18f 1015 udev_0.125-7em2.dsc
 630b4015d8db02e50fd62e334b069fb14b0a437834b485916c1b82a79da9c208 62798 udev_0.125-7em2.diff.gz
 59e205bb67b67a9aef59fec60d6103fb727a420b36fe61092e507dbd81c39df2 142336 udev_0.125-7em2_arm.deb
 e9d1693eed8a5d85f827cd31a50a8af10c1e7141fcd5bbcb226c4741a016506f 17736 libvolume-id0_0.125-7em2_arm.deb
 079c525127b7a68f3fb0d6737e6e06e0cec31022da5332bab2566c6370426425 2366 libvolume-id-dev_0.125-7em2_arm.deb
 9c9d4b325ffdd8cd5fbe3c5c8048c8952a42ab6e44b7c6d5fe0c0976ee222fc5 122416 udev-udeb_0.125-7em2_arm.udeb
Files: 
 6a0370b63c3bc4e3710db6a34ae01861 1015 admin important udev_0.125-7em2.dsc
 978b8454497c5b58eca4cacf6127a2fa 62798 admin important udev_0.125-7em2.diff.gz
 ebafc1d68fe9ad4b37f13fc7a6ba2304 142336 admin important udev_0.125-7em2_arm.deb
 712b3f8502c025af9988491b68d6e383 17736 libs required libvolume-id0_0.125-7em2_arm.deb
 ca94ef9a895a68476d52aba22857027c 2366 libdevel optional libvolume-id-dev_0.125-7em2_arm.deb
 567096806eac9d8dbd57d35dc34a75b6 122416 debian-installer important udev-udeb_0.125-7em2_arm.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAklwb+sACgkQiAEJSii8s+OOuACfbcqtnIv1QewCQFlJDCq9PYWw
pP0AnjrxZUmmqE0I44nQz0pfHhBNWOtH
=iuew
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 14 Feb 2009 07:26:46 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 09:49:00 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.