Package: initscripts
Version: 2.86.ds1-61
Severity: important
File: /etc/init.d/checkroot.sh


If VERBOSE is set and/or usplash is not running, checkroot.sh will hang after the filesystem check:

=== Begin ===
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda1 /dev/sda1: clean, 11706/624624 files, 154445/2496091 blocks
=== End ===


This is because with VERBOSE set or usplash not running checkroot.sh will run fsck via logsave in the foreground (i.e. wait for it to return):

275-            if [ "$VERBOSE" = no ]
276-            then
[...]
278- if [ "$roottype" = "ext2" -o "$roottype" = "ext3" -o "$roottype" = "ext4" ] && usplash_running; then
[...]
281: logsave -s $FSCK_LOGFILE fsck -C3 $force $fix -t $roottype $rootdev >/dev/console 2>&1 3>$PROGRESS_FILE &
[...]
285-                    else
[...]
287: logsave -s $FSCK_LOGFILE fsck $spinner $force $fix -t $roottype $rootdev
[...]
290-                    fi
[...]
297-            else
[...]
300: logsave -s $FSCK_LOGFILE fsck $spinner $force $fix -V -t $roottype $rootdev
[...]
304-            fi


But since the rootfs is not mounted read-write yet the logs can't be saved, so logsave never exits.




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

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

Versions of packages initscripts depends on:
ii debianutils 2.30 Miscellaneous utilities specific t ii e2fsprogs 1.41.4-2~bpo40+1 ext2/ext3/ext4 file system utiliti ii libc6 2.7-18 GNU C Library: Shared libraries ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip ii mount 2.13.1.1-1 Tools for mounting and manipulatin
ii  sysvinit-utils          2.86.ds1-61      System-V-like utilities

Versions of packages initscripts recommends:
ii psmisc 22.6-1 Utilities that use the proc filesy

initscripts suggests no packages.

-- no debconf information

CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to