Debian Bug report logs - #599394
init script logging broken with parallel booting

version graph

Package: exim4-base; Maintainer for exim4-base is Exim4 Maintainers <pkg-exim4-maintainers@lists.alioth.debian.org>; Source for exim4-base is src:exim4.

Reported by: Stanislav Maslovski <stanislav.maslovski@gmail.com>

Date: Thu, 7 Oct 2010 08:51:01 UTC

Severity: minor

Tags: jessie, sid, squeeze, wheezy

Found in version exim4/4.72-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Exim4 Maintainers <pkg-exim4-maintainers@lists.alioth.debian.org>:
Bug#599394; Package exim4-base. (Thu, 07 Oct 2010 08:51:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stanislav Maslovski <stanislav.maslovski@gmail.com>:
New Bug report received and forwarded. Copy sent to Exim4 Maintainers <pkg-exim4-maintainers@lists.alioth.debian.org>. (Thu, 07 Oct 2010 08:51:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Stanislav Maslovski <stanislav.maslovski@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: init script logging broken with parallel booting
Date: Thu, 07 Oct 2010 12:48:45 +0400
Package: exim4-base
Version: 4.72-1
Severity: minor
Tags: squeeze sid

The approach to log the boot process that is currently implemented in
the init script of exim4 is inappropriate for parallel booting
(which is, by the way, the default for squeeze).

This is what I usually get in the boot log:
...
Thu Oct  7 12:34:55 2010: Starting MTA:Starting GNUstep distributed object mapper: gdomap.
Thu Oct  7 12:34:56 2010: CST Solver Server 2008 started successfully.
Thu Oct  7 12:34:56 2010: Starting mouse interface server: gpm.
Thu Oct  7 12:34:56 2010: Starting internet superserver: inetd.
Thu Oct  7 12:34:56 2010: Loading cpufreq kernel modules...done
(acpi-cpufreq).
Thu Oct  7 12:34:58 2010: Starting Music Player Daemon: mpd.
Thu Oct  7 12:34:58 2010:  exim4.
...


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

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

Versions of packages exim4-base depends on:
ii  adduser                       3.112      add and remove users and groups
ii  cron                          3.0pl1-114 process scheduling daemon
ii  debconf [debconf-2.0]         1.5.35     Debian configuration management sy
ii  exim4-config [exim4-config-2] 4.72-1     configuration for the Exim MTA (v4
ii  libc6                         2.11.2-6   Embedded GNU C Library: Shared lib
ii  libdb4.8                      4.8.30-2   Berkeley v4.8 Database Libraries [
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip
ii  netbase                       4.42       Basic TCP/IP networking system

Versions of packages exim4-base recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20100314cvs-1 simple mail user agent
ii  perl-modules       5.10.1-14             Core Perl modules
ii  psmisc             22.11-1               utilities that use the proc file s

Versions of packages exim4-base suggests:
ii  bsd-mailx [mail-re 8.1.2-0.20100314cvs-1 simple mail user agent
ii  emacs23 [mail-read 23.2+1-4              The GNU Emacs editor (with GTK+ us
pn  exim4-doc-html | e <none>                (no description available)
pn  eximon4            <none>                (no description available)
ii  file               5.04-5                Determines file type using "magic"
ii  gnutls-bin         2.8.6-1               the GNU TLS library - commandline 
ii  jed [mail-reader]  1:0.99.19-2           editor for programmers (textmode v
pn  libmail-spf-query- <none>                (no description available)
ii  mutt [mail-reader] 1:1.5.18-1            text-based mailreader supporting M
ii  openssl            0.9.8o-2              Secure Socket Layer (SSL) binary a
ii  opera [mail-reader 10.70.9053            A fast and secure web browser and 
pn  swaks              <none>                (no description available)




Information forwarded to debian-bugs-dist@lists.debian.org, Exim4 Maintainers <pkg-exim4-maintainers@lists.alioth.debian.org>:
Bug#599394; Package exim4-base. (Fri, 08 Oct 2010 18:03:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Metzler <ametzler@downhill.at.eu.org>:
Extra info received and forwarded to list. Copy sent to Exim4 Maintainers <pkg-exim4-maintainers@lists.alioth.debian.org>. (Fri, 08 Oct 2010 18:03:09 GMT) Full text and rfc822 format available.

Message #10 received at 599394@bugs.debian.org (full text, mbox):

From: Andreas Metzler <ametzler@downhill.at.eu.org>
To: Stanislav Maslovski <stanislav.maslovski@gmail.com>, 599394@bugs.debian.org
Subject: Re: Bug#599394: init script logging broken with parallel booting
Date: Fri, 8 Oct 2010 20:01:27 +0200
On 2010-10-07 Stanislav Maslovski <stanislav.maslovski@gmail.com> wrote:
> Package: exim4-base
> Version: 4.72-1
> Severity: minor
> Tags: squeeze sid

> The approach to log the boot process that is currently implemented in
> the init script of exim4 is inappropriate for parallel booting
> (which is, by the way, the default for squeeze).

> This is what I usually get in the boot log:
> ...
> Thu Oct  7 12:34:55 2010: Starting MTA:Starting GNUstep distributed object mapper: gdomap.
> Thu Oct  7 12:34:56 2010: CST Solver Server 2008 started successfully.
> Thu Oct  7 12:34:56 2010: Starting mouse interface server: gpm.
> Thu Oct  7 12:34:56 2010: Starting internet superserver: inetd.
> Thu Oct  7 12:34:56 2010: Loading cpufreq kernel modules...done
> (acpi-cpufreq).
> Thu Oct  7 12:34:58 2010: Starting Music Player Daemon: mpd.
> Thu Oct  7 12:34:58 2010:  exim4.
> ...
[...]

Hello,
is there a commonly used solution yet? The examples in latest policy
basically work the same way.

cu andreas




Information forwarded to debian-bugs-dist@lists.debian.org, Exim4 Maintainers <pkg-exim4-maintainers@lists.alioth.debian.org>:
Bug#599394; Package exim4-base. (Fri, 08 Oct 2010 20:21:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stanislav Maslovski <stanislav.maslovski@gmail.com>:
Extra info received and forwarded to list. Copy sent to Exim4 Maintainers <pkg-exim4-maintainers@lists.alioth.debian.org>. (Fri, 08 Oct 2010 20:21:03 GMT) Full text and rfc822 format available.

Message #15 received at 599394@bugs.debian.org (full text, mbox):

From: Stanislav Maslovski <stanislav.maslovski@gmail.com>
To: Andreas Metzler <ametzler@downhill.at.eu.org>
Cc: 599394@bugs.debian.org
Subject: Re: Bug#599394: init script logging broken with parallel booting
Date: Sat, 9 Oct 2010 00:16:04 +0400
Hello,

On Fri, Oct 08, 2010 at 08:01:27PM +0200, Andreas Metzler wrote:
> is there a commonly used solution yet? The examples in latest policy
> basically work the same way.

Hm, the simple scripts use

log_daemon_msg "Starting $DESC" "$NAME"

which outputs the description followed by the daemon name in a single
atomic write, AFAIK.

In the case of several daemons started by an init script a possible
solution could be to abandon the idea of reporting the _progress_ in
real time, and instead report atomically just the final _result_.

-- 
Stanislav




Added tag(s) wheezy. Request was from Kurt Roeckx <kurt@roeckx.be> to control@bugs.debian.org. (Wed, 16 Feb 2011 19:04:48 GMT) Full text and rfc822 format available.

Added tag(s) jessie. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Thu, 18 Apr 2013 17:33:32 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 16 20:02:43 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.