Package: initscripts
Version: 2.86.ds1-3
Severity: important

The executive summary is:

  When /etc/rcS.d/S05bootlogd starts /sbin/bootlogd, the /var
  partition may not yet be mounted. Thus neither a pid file can be created
  nor /var/log/boot :(

Please find the details in this log:

,----
| + PATH=/sbin:/bin:/usr/sbin:/usr/bin
| + DAEMON=/sbin/bootlogd
| + NAME=bootlogd
| + DESC='Bootlog daemon'
| + test -f /sbin/bootlogd
| + '[' -r /etc/default/bootlogd ']'
| + . /etc/default/bootlogd
| ++ BOOTLOGD_ENABLE=Yes
| + case "$BOOTLOGD_ENABLE" in
| + . /lib/lsb/init-functions
| ++ '[' -e /etc/lsb-base-logging.sh ']'
| ++ true
| + STOPPER=
| + ACTION=start
| + case "$0" in
| + case "$ACTION" in
| + log_begin_msg 'Starting Bootlog daemon: '
| + '[' -z 'Starting Bootlog daemon: ' ']'
| + echo -n 'Starting Bootlog daemon: '
| + '[' -d /proc/1/. ']'
| + umask 027
| + start-stop-daemon --start --quiet --exec /sbin/bootlogd -- -r
| + sleep 5
| + ps auxwf
| USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
| root         1  0.7  0.1   1688   544 ?        S    19:02   0:00 init boot
| root         2  0.0  0.0      0     0 ?        S    19:02   0:00 [keventd]
| root         3  0.0  0.0      0     0 ?        SN   19:02   0:00 
[ksoftirqd_CPU0]
| root         4  0.0  0.0      0     0 ?        S    19:02   0:00 [kswapd]
| root         5  0.0  0.0      0     0 ?        S    19:02   0:00 [bdflush]
| root         6  0.0  0.0      0     0 ?        S    19:02   0:00 [kupdated]
| root        18  0.0  0.0      0     0 ?        S<   19:02   0:00 [mdrecoveryd]
| root        79  0.0  0.0      0     0 ?        S<   19:02   0:00 [raid1d]
| root       104  0.0  0.0      0     0 ?        S    19:02   0:00 [kjournald]
| root       109  0.0  0.1   1688   536 tty1     Ss+  19:02   0:00 init boot
| root       110  0.5  0.2   2480  1316 tty1     S+   19:02   0:00  \_ /bin/sh 
/etc/init.d/rc S
| root       150  0.4  0.2   2500  1332 tty1     S+   19:02   0:00      \_ 
/bin/sh /etc/rcS.d/S05bootlogd start
| root       154  0.0  0.1   2384   824 tty1     R+   19:02   0:00          \_ 
ps auxwf
| + log_end_msg 0
| + '[' -z 0 ']'
| + log_use_fancy_output
| + TPUT=/usr/bin/tput
| + EXPR=/usr/bin/expr
| + '[' -x /usr/bin/tput ']'
| + FANCYTTY=0
| + false
| + '[' 0 -eq 0 ']'
| + echo .
| + return 0
| + df
| Filesystem           1K-blocks      Used Available Use% Mounted on
| /dev/md0               1829037    288556   1442894  17% /
| df: `/proc/bus/usb': No such file or directory
| + ls -al '/var/log/boot*'
| ls: /var/log/boot*: No such file or directory
| + exit 0
`----

On my systems, /var is not on the root partition.
S25mdadm-raid and S35mountall.sh come much later.
Maybe a possible workaround is to use /dev/shm (which is mounted by
S02mountvirtfs) to preliminary store the log file and get S99stop-bootlogd
to move it to /var/log.


Cheers,
Cristian

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-k7
Locale: LANG=C, LC_CTYPE= (charmap=ANSI_X3.4-1968)

Versions of packages initscripts depends on:
ii  coreutils                     5.2.1-2.1  The GNU core utilities
ii  dpkg                          1.13.11    package maintenance system for Deb
ii  e2fsprogs                     1.38-2     ext2 file system utilities and lib
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  lsb-base                      3.0-9      Linux Standard Base 3.0 init scrip
ii  util-linux                    2.12p-8    Miscellaneous system utilities

initscripts recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to