[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#340688: marked as done (/etc/init.d/initrd-tools.sh exits)



Your message dated Mon, 05 May 2008 10:23:25 +0200
with message-id <1209975805.407973.28835.nullmailer@xanadu.blop.info>
and subject line initrd-tools has been removed from Debian, closing #340688
has caused the Debian Bug report #340688,
regarding /etc/init.d/initrd-tools.sh exits
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
340688: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=340688
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initrd-tools
Version: 0.1.84
Severity: serious

Debian Policy states (§9.3.1):

   "Also, if the script name ends `.sh', the script will be sourced in
    runlevel `S' rather that being run in a forked subprocess, but will
    be explicitly run by `sh' in all other runlevels".

Accordingly, .sh scripts run from /etc/rcS.d/ should not do "exit".

/etc/init.d/initrd-tools.sh is run from /etc/rcS.d/ and it does do "exit".

$ grep exit /etc/init.d/initrd-tools.sh
[ "$KEEPINITRD" = yes ] && exit
command -v blockdev > /dev/null 2>&1 || exit 0
        mount -n /proc || exit
grep -q '^[^ ]* /initrd ' /proc/mounts || exit 0
        umount /initrd/dev || exit
umount /initrd || exit
        exit 1

This prevents sysv-rc from obeying policy §9.3.1.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (700, 'unstable'), (400, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-3-686
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro (charmap=ISO-8859-15)

Versions of packages initrd-tools depends on:
ii  coreutils [fileutils]         5.93-5     The GNU core utilities
ii  cpio                          2.6-9      GNU cpio -- a program to manage ar
ii  cramfsprogs                   1.1-6      Tools for CramFs (Compressed ROM F
ii  dash                          0.5.2-8    The Debian Almquist Shell
ii  fileutils                     5.93-5     The GNU file management utilities 
ii  util-linux                    2.12p-8    Miscellaneous system utilities

initrd-tools recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 0.1.84.2+rm

The initrd-tools package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/393092 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.
-- 
Lucas


--- End Message ---

Reply to: