[Pkg-sysvinit-devel] Bug#599734: initscripts: chedkfs.sh does not save fsck exit status when usplash_running

Serafeim Zanikolas sez at debian.org
Sun Oct 10 16:37:02 UTC 2010


Package: initscripts
Version: 2.88dsf-12
Severity: normal
Tags: patch

Hi,

checkfs.sh doesn't save the exit status of fsck when roottype is ext* and
usplash_running is true.

Cheers,
Serafeim

diff -urp sysvinit-2.88dsf.orig//debian/src/initscripts/etc/init.d/checkfs.sh sysvinit-2.88dsf/debian/src/initscripts/etc/init.d/checkfs.sh
--- sysvinit-2.88dsf.orig//debian/src/initscripts/etc/init.d/checkfs.sh	2010-10-10 18:04:42.000000000 +0200
+++ sysvinit-2.88dsf/debian/src/initscripts/etc/init.d/checkfs.sh	2010-10-10 18:05:39.000000000 +0200
@@ -99,6 +99,7 @@ Continuing with system boot in 5 seconds
 			    PROGRESS_FILE=`mktemp` || exit 1
 			    set -m
 			    logsave -s $FSCK_LOGFILE fsck -C3 -R -A $fix $force $FSCKTYPES_OPT >/dev/console 2>&1 3>$PROGRESS_FILE &
+			    FSCKCODE=$?
 			    set +m
 			    usplash_progress "$PROGRESS_FILE"
 			    rm -f $PROGRESS_FILE

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=el_GR.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  libc6                         2.11.2-6   Embedded GNU C Library: Shared lib
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip
ii  mount                         2.17.2-3.2 Tools for mounting and manipulatin
ii  sysv-rc                       2.88dsf-12 System-V-like runlevel change mech
ii  sysvinit-utils                2.88dsf-12 System-V-like utilities

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

initscripts suggests no packages.

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list