Your message dated Sat, 11 May 2013 10:05:52 +0000
with message-id <[email protected]>
and subject line Bug#707655: Removed package(s) from unstable
has caused the Debian Bug report #626244,
regarding bogus fail to restart message upon upgrade
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
626244: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626244
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: klogd
Version: 1.5-6.1
Severity: important

Upgrading the package the following was printed to the terminal.

        klogd (1.5-6.1) wird eingerichtet ...
        Neue Version der Konfigurationsdatei /etc/default/klogd wird 
installiert ...
        Neue Version der Konfigurationsdatei /etc/init.d/klogd wird installiert 
...
        Stopping kernel log daemon....
        Starting kernel log daemon... failed!
        sysklogd (1.5-6.1) wird eingerichtet ...

I am able to reproduce this and adding `set -x` to the init script and removing 
`--quiet` from the `start-stop-daemon` call it seems that `stop` does not work 
correctly.

        $ sudo service klogd status
        klogd is not running ... failed!
        $ sudo service klogd stop
        Stopping kernel log daemon....
        $ sudo service klogd start
        Starting kernel log daemon...mkfifo: Erzeugen von FIFO 
„/var/run/klogd/kmsg“ nicht möglich: Die Datei existiert bereits
        /bin/dd already running.
        /sbin/klogd already running.
         failed!
 
It follows the outpu with `set -x`. 

        $ sudo service klogd status
        + PATH=/bin:/usr/bin:/sbin:/usr/sbin
        + pidfile=/var/run/klogd/klogd.pid
        + kmsgpipe=/var/run/klogd/kmsg
        + kmsgpidfile=/var/run/klogd/kmsgpipe.pid
        + binpath=/sbin/klogd
        + test -f /sbin/klogd
        + . /lib/lsb/init-functions
        ++ FANCYTTY=
        ++ '[' -e /etc/lsb-base-logging.sh ']'
        ++ true
        + KLOGD='-P /var/run/klogd/kmsg'
        + test '!' -r /etc/default/klogd
        + . /etc/default/klogd
        + case "$1" in
        + status_of_proc -p /var/run/klogd/klogd.pid /sbin/klogd klogd
        + local pidfile daemon name status
        + pidfile=
        + OPTIND=1
        + getopts p: opt
        + case "$opt" in
        + pidfile=/var/run/klogd/klogd.pid
        + getopts p: opt
        + shift 2
        + '[' -n /var/run/klogd/klogd.pid ']'
        + pidfile='-p /var/run/klogd/klogd.pid'
        + daemon=/sbin/klogd
        + name=klogd
        + status=0
        + pidofproc -p /var/run/klogd/klogd.pid /sbin/klogd
        + local pidfile line status specified pid
        + pidfile=
        + specified=
        + OPTIND=1
        + getopts p: opt
        + case "$opt" in
        + pidfile=/var/run/klogd/klogd.pid
        + specified=specified
        + getopts p: opt
        + shift 2
        + base=klogd
        + '[' '!' specified ']'
        + '[' -n /var/run/klogd/klogd.pid ']'
        + '[' -r /var/run/klogd/klogd.pid ']'
        + '[' -x /bin/pidof ']'
        + '[' '!' specified ']'
        + '[' specified ']'
        + return 3
        + status=3
        + '[' 3 = 0 ']'
        + '[' 3 = 4 ']'
        + log_failure_msg 'klogd is not running'
        + '[' -n 'klogd is not running' ']'
        + log_begin_msg klogd is not running ...
        + '[' -z klogd ']'
        + /bin/echo -n klogd is not running ...
        klogd is not running ...+ log_end_msg 1
        + '[' -z 1 ']'
        + local retval
        + retval=1
        + log_end_msg_pre 1
        + :
        + log_use_fancy_output
        + TPUT=/usr/bin/tput
        + EXPR=/usr/bin/expr
        + '[' -t 1 ']'
        + '[' xxterm '!=' x ']'
        + '[' xxterm '!=' xdumb ']'
        + '[' -x /usr/bin/tput ']'
        + '[' -x /usr/bin/expr ']'
        + /usr/bin/tput hpa 60
        + /usr/bin/tput setaf 1
        + '[' -z ']'
        + FANCYTTY=1
        + case "$FANCYTTY" in
        + true
        ++ /usr/bin/tput setaf 1
        + RED=''
        ++ /usr/bin/tput setaf 3
        + YELLOW=''
        ++ /usr/bin/tput op
        + NORMAL=''
        + '[' 1 -eq 0 ']'
        + '[' 1 -eq 255 ']'
        + /bin/echo -e ' failed!'
         failed!
        + log_end_msg_post 1
        + :
        + return 1
        + true
        + return 3
        + exit 3
        $ sudo service klogd stop
        + PATH=/bin:/usr/bin:/sbin:/usr/sbin
        + pidfile=/var/run/klogd/klogd.pid
        + kmsgpipe=/var/run/klogd/kmsg
        + kmsgpidfile=/var/run/klogd/kmsgpipe.pid
        + binpath=/sbin/klogd
        + test -f /sbin/klogd
        + . /lib/lsb/init-functions
        ++ FANCYTTY=
        ++ '[' -e /etc/lsb-base-logging.sh ']'
        ++ true
        + KLOGD='-P /var/run/klogd/kmsg'
        + test '!' -r /etc/default/klogd
        + . /etc/default/klogd
        + case "$1" in
        + log_begin_msg 'Stopping kernel log daemon...'
        + '[' -z 'Stopping kernel log daemon...' ']'
        + /bin/echo -n 'Stopping kernel log daemon...'
        Stopping kernel log daemon...+ start-stop-daemon --stop --retry 3 
--oknodo --exec /sbin/klogd --pidfile /var/run/klogd/klogd.pid
        No /sbin/klogd found running; none killed.
        + start-stop-daemon --stop --oknodo --pidfile 
/var/run/klogd/kmsgpipe.pid
        No process in pidfile '/var/run/klogd/kmsgpipe.pid' found running; none 
killed.
        + rm -f /var/run/klogd/kmsgpipe.pid /var/run/klogd/kmsg
        + log_end_msg 0
        + '[' -z 0 ']'
        + local retval
        + retval=0
        + log_end_msg_pre 0
        + :
        + log_use_fancy_output
        + TPUT=/usr/bin/tput
        + EXPR=/usr/bin/expr
        + '[' -t 1 ']'
        + '[' xxterm '!=' x ']'
        + '[' xxterm '!=' xdumb ']'
        + '[' -x /usr/bin/tput ']'
        + '[' -x /usr/bin/expr ']'
        + /usr/bin/tput hpa 60
        + /usr/bin/tput setaf 1
        + '[' -z ']'
        + FANCYTTY=1
        + case "$FANCYTTY" in
        + true
        ++ /usr/bin/tput setaf 1
        + RED=''
        ++ /usr/bin/tput setaf 3
        + YELLOW=''
        ++ /usr/bin/tput op
        + NORMAL=''
        + '[' 0 -eq 0 ']'
        + echo .
        .
        + log_end_msg_post 0
        + :
        + return 0
        + exit 0
        $ sudo service klogd start
        + PATH=/bin:/usr/bin:/sbin:/usr/sbin
        + pidfile=/var/run/klogd/klogd.pid
        + kmsgpipe=/var/run/klogd/kmsg
        + kmsgpidfile=/var/run/klogd/kmsgpipe.pid
        + binpath=/sbin/klogd
        + test -f /sbin/klogd
        + . /lib/lsb/init-functions
        ++ FANCYTTY=
        ++ '[' -e /etc/lsb-base-logging.sh ']'
        ++ true
        + KLOGD='-P /var/run/klogd/kmsg'
        + test '!' -r /etc/default/klogd
        + . /etc/default/klogd
        + case "$1" in
        + log_begin_msg 'Starting kernel log daemon...'
        + '[' -z 'Starting kernel log daemon...' ']'
        + /bin/echo -n 'Starting kernel log daemon...'
        Starting kernel log daemon...+ mkdir -p /var/run/klogd
        + chown klog:klog /var/run/klogd
        + mkfifo -m 700 /var/run/klogd/kmsg
        + chown klog:klog /var/run/klogd/kmsg
        + start-stop-daemon --start --pidfile /var/run/klogd/kmsgpipe.pid 
--exec /bin/dd -b -m -- bs=1 if=/proc/kmsg of=/var/run/klogd/kmsg
        + start-stop-daemon --start --chuid klog --exec /sbin/klogd -- -P 
/var/run/klogd/kmsg
        /sbin/klogd already running.
        + log_end_msg 1
        + '[' -z 1 ']'
        + local retval
        + retval=1
        + log_end_msg_pre 1
        + :
        + log_use_fancy_output
        + TPUT=/usr/bin/tput
        + EXPR=/usr/bin/expr
        + '[' -t 1 ']'
        + '[' xxterm '!=' x ']'
        + '[' xxterm '!=' xdumb ']'
        + '[' -x /usr/bin/tput ']'
        + '[' -x /usr/bin/expr ']'
        + /usr/bin/tput hpa 60
        + /usr/bin/tput setaf 1
        + '[' -z ']'
        + FANCYTTY=1
        + case "$FANCYTTY" in
        + true
        ++ /usr/bin/tput setaf 1
        + RED=''
        ++ /usr/bin/tput setaf 3
        + YELLOW=''
        ++ /usr/bin/tput op
        + NORMAL=''
        + '[' 1 -eq 0 ']'
        + '[' 1 -eq 255 ']'
        + /bin/echo -e ' failed!'
         failed!
        + log_end_msg_post 1
        + :
        + return 1
        + exit 0


Thanks,

Paul

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

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

Versions of packages klogd depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  libc6                         2.13-2     Embedded GNU C Library: Shared lib
ii  lsb-base                      3.2-27     Linux Standard Base 3.2 init scrip
ii  sysklogd [system-log-daemon]  1.5-6.1    System Logging Daemon

klogd recommends no packages.

klogd suggests no packages.

-- Configuration Files:
/etc/init.d/klogd changed:
set -x
PATH=/bin:/usr/bin:/sbin:/usr/sbin
pidfile=/var/run/klogd/klogd.pid
kmsgpipe=/var/run/klogd/kmsg
kmsgpidfile=/var/run/klogd/kmsgpipe.pid
binpath=/sbin/klogd
test -f $binpath || exit 0
. /lib/lsb/init-functions
KLOGD="-P $kmsgpipe"
test ! -r /etc/default/klogd || . /etc/default/klogd
case "$1" in
  start)
    log_begin_msg "Starting kernel log daemon..."
    # create klog-writeable pid and fifo directory
    mkdir -p /var/run/klogd
    chown klog:klog /var/run/klogd
    mkfifo -m 700 $kmsgpipe
    chown klog:klog $kmsgpipe
 
    # shovel /proc/kmsg to pipe readable by klogd user
    start-stop-daemon --start --pidfile $kmsgpidfile --exec /bin/dd -b -m -- 
bs=1 if=/proc/kmsg of=$kmsgpipe
 
    # start klogd as non-root with reading from kmsgpipe
    start-stop-daemon --start --chuid klog --exec $binpath -- $KLOGD
    log_end_msg $?
    ;;
  stop)
    log_begin_msg "Stopping kernel log daemon..."
    start-stop-daemon --stop --retry 3 --oknodo --exec $binpath --pidfile 
$pidfile
    # stop kmsgpipe
    start-stop-daemon --stop --oknodo --pidfile $kmsgpidfile
    rm -f $kmsgpidfile $kmsgpipe
    log_end_msg $?
    ;;
  restart|force-reload)
    $0 stop
    sleep 1
    $0 start
    ;;
  status)
    status_of_proc -p $pidfile $binpath klogd && exit 0 || exit $?
    ;;
  *)
    log_success_msg "Usage: /etc/init.d/klogd 
{start|stop|restart|force-reload|status}"
    exit 1
esac
exit 0


-- no debconf information

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Version: 1.5-6.2+rm

Dear submitter,

as the package sysklogd has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/707655

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Ansgar Burchardt (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to