Debian Bug report logs - #484274
buildd.emdebian.org: lintian support and busybox long options

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

Reported by: Neil Williams <codehelp@debian.org>

Date: Tue, 3 Jun 2008 11:42:05 UTC

Severity: normal

Reply or subscribe to this bug.

Toggle useless messages

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


Report stored:
Bug#484274; Package general. Full text and rfc822 format available.

Acknowledgement sent to Neil Williams <codehelp@debian.org>:
New Bug report received and filed, but not forwarded. Full text and rfc822 format available.

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

From: Neil Williams <codehelp@debian.org>
To: Debian Bug Tracking System <quiet@bugs.debian.org>
Subject: buildd.emdebian.org: lintian support and busybox long options
Date: Tue, 03 Jun 2008 12:40:56 +0100
[Message part 1 (text/plain, inline)]
Package: general
Severity: normal
User: codehelp@debian.org
Usertags: buildd.emdebian.org

Current emdebian-tools lintian support excludes the use of long options
in maintainer scripts and interpreted scripts. This is a hindrance to
compatibility with Debian.

Long option support for adduser is pending in busybox, long option
support for mkdir is available, depending on busybox configuration.

Long option support for other applets needs to be implemented upstream
in busybox.

Emdebian packages should not need to modify long options in maintainer
scripts and the lintian tests need to be updated as new features are
implemented in busybox.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

[signature.asc (application/pgp-signature, inline)]

Bug reassigned from package `general' to `buildd.emdebian.org'. Request was from Neil Williams <codehelp@debian.org> to control@bugs.debian.org. (Wed, 03 Sep 2008 06:30:17 GMT) Full text and rfc822 format available.

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

Message #12 received at 484274@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)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 13:23:05 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.