[Pkg-sysvinit-devel] Bug#612594: On boot thw wait have no job to wait for, and fail into reboot.

Erez Geva erezgeva2 at gmail.com
Wed Feb 9 11:54:57 UTC 2011


Package: initscripts
Version: 2.88dsf-13.1
Severity: critical



-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages initscripts depends on:
ii  coreutils               8.5-1            GNU core utilities
ii  debianutils             3.4              Miscellaneous utilities specific t
ii  file-rc                 0.8.12           Alternative boot mechanism using a
ii  libc6                   2.7-18lenny7     GNU C Library: Shared libraries
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  mount                   2.17.2-9         Tools for mounting and manipulatin
ii  sysvinit-utils          2.88dsf-13.1     System-V-like utilities

Versions of packages initscripts recommends:
ii  e2fsprogs                     1.41.3-1   ext2/ext3/ext4 file system utiliti
ii  psmisc                        22.11-1    utilities that use the proc file s

initscripts suggests no packages.

-- bug description
Do not have any output since it occurs during boot proccess.
The /lib/init/usplash-fsck-functions.sh rechechs line 169:
However the wait have no job to wait for though fail into fake maintainance login.
When finnish the maintainance, and exit a reboot is preformed.
But after rebood I get the same fake maintainance login.

The follow patch is bypass to the problem.
It allow to run system normally. However it does not fix the problem.
Why is the fsck does not run, and why is the wait does not have job 1 (%1).
And why is there no check for the job being running before trying to wait for it!

--- usplash-fsck-functions.sh	2011-02-09 13:21:25.000000000 +0200
+++ usplash-fsck-functions.sh	2011-02-09 13:21:25.000000000 +0200
@@ -166,7 +166,7 @@
          usplash_write "VERBOSE default"
           usplash_write "TEXT Drive checks finished."
            usplash_write "TIMEOUT 15"
-         wait %1 # to collect fsck's exit code
+         wait # %1 # to collect fsck's exit code
          EXITCODE=$?
          [ -n "$CANCEL" ] && FSCKCODE=0 || FSCKCODE=$EXITCODE
          if [ "$FSCKCODE" -gt 1 ]; then
**********************************************************************************************
IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the 
named recipient(s) only.
If you have received this email in error, please notify the system manager or the sender immediately and do 
not disclose the contents to anyone or make copies thereof.
*** eSafe scanned this email for viruses, vandals, and malicious content. ***
**********************************************************************************************






More information about the Pkg-sysvinit-devel mailing list