[Pkg-sysvinit-devel] Bug#330235: marked as done ([BOOTLOGD] Fails when /var is a separate partition)

Debian Bug Tracking System owner at bugs.debian.org
Wed Jan 18 09:03:17 UTC 2006


Your message dated Wed, 18 Jan 2006 09:57:12 +0100
with message-id <43CE02E8.90808 at yahoo.co.uk>
and subject line Ex-bug
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at bugs) by bugs.debian.org; 26 Sep 2005 21:29:20 +0000
>From cristian.ionescu-idbohrn at axis.com Mon Sep 26 14:29:20 2005
Return-path: <cristian.ionescu-idbohrn at axis.com>
Received: from miranda.se.axis.com [193.13.178.8] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EK0XI-000123-00; Mon, 26 Sep 2005 14:29:20 -0700
Received: from lassie.se.axis.com (lassie.se.axis.com [193.13.178.6])
	by miranda.se.axis.com (8.12.9/8.12.9/Debian-5local0.1) with ESMTP id j8QLSloX015052
	for <bugs at bugs.debian.org>; Mon, 26 Sep 2005 23:28:47 +0200
Received: from localhost (lassie.se.axis.com [193.13.178.6])
	by lassie.se.axis.com (8.12.9/8.12.9/Debian-5local0.1) with ESMTP id j8QLSkQ1013950
	for <bugs at bugs.debian.org>; Mon, 26 Sep 2005 23:28:47 +0200
Date: Mon, 26 Sep 2005 23:28:45 +0200 (CEST)
From: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>
Reply-To: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>
To: bugs at bugs.debian.org
Subject: initscripts: bootlogd ceased to function
Message-ID: <0509262304320.7465 at somehost>
X-Sucks: micro$oft
X-User-Tracking: sucks
X-To-Spammers: spam-me-senseless at sittingduck
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: bugs at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

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

---------------------------------------
Received: (at 330235-done) by bugs.debian.org; 18 Jan 2006 08:57:38 +0000
>From jdthood at yahoo.co.uk Wed Jan 18 00:57:37 2006
Return-path: <jdthood at yahoo.co.uk>
Received: from mailservice.tudelft.nl ([130.161.131.5])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1Ez98L-0002x3-PN
	for 330235-done at bugs.debian.org; Wed, 18 Jan 2006 00:57:37 -0800
Received: from localhost (localhost [127.0.0.1])
	by rav.antivirus (Postfix) with ESMTP id 876B9800B1
	for <330235-done at bugs.debian.org>; Wed, 18 Jan 2006 09:57:06 +0100 (CET)
Received: from yahoo.co.uk (x108.decis.nl [130.161.177.108])
	by mx4.tudelft.nl (Postfix) with ESMTP id 4B9628009A
	for <330235-done at bugs.debian.org>; Wed, 18 Jan 2006 09:57:06 +0100 (CET)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by yahoo.co.uk (Postfix) with ESMTP id 643C4C0009
	for <330235-done at bugs.debian.org>; Wed, 18 Jan 2006 09:57:13 +0100 (CET)
Message-ID: <43CE02E8.90808 at yahoo.co.uk>
Date: Wed, 18 Jan 2006 09:57:12 +0100
From: Thomas Hood <jdthood at yahoo.co.uk>
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: 330235-done at bugs.debian.org
Subject: Ex-bug
X-Enigmail-Version: 0.92.1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at tudelft.nl
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

> what I reported is now an ex-bug :)

Music to my ears.
-- 
Thomas Hood



More information about the Pkg-sysvinit-devel mailing list