Your message dated Tue, 8 Aug 2017 21:47:48 +0200
with message-id <b2bcd11a-c2cc-87ed-fc9f-78a09ce3e...@debian.org>
and subject line Re: rsyslog won't start if pidfile pid exists - even if pid 
isn't running an rsyslog process
has caused the Debian Bug report #594112,
regarding rsyslog won't start if pidfile pid exists - even if pid isn't running 
an rsyslog process
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 ow...@bugs.debian.org
immediately.)


-- 
594112: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594112
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: rsyslog
Version: 3.18.6-4
Severity: normal



As shown below, rsyslog will not start if there is any process running with the 
pid found in the pidfile specified with the -i switch. Rsyslog should only 
refuse to start if an rsyslog process is running with such a pid. In this case, 
cron was running with the pid and rsyslog failed to start.

root@xen00:/# bash -x /etc/init.d/rsyslog start
+ test -x /usr/sbin/rsyslogd
+ case "$1" in
+ echo 'Starting rsyslog...'
Starting rsyslog...
+ '/usr/sbin/rsyslogd -c3 -f /etc/rsyslog.alt.conf -i /var/run/rsyslog.alt.pid 
-4'
 Already running.
+ exit 0
root@xen00:/# cat /var/run/rsyslog.alt.pid 
1401
root@xen00:/# ps axuw | grep 1401 | grep -v grep
root      1401  0.0  0.0   4264   996 ?        Ss   Aug18   0:00 /usr/sbin/cron
root@xen00:/# rm /var/run/rsyslog.alt.pid
root@xen00:/# /etc/init.d/rsyslog start
Starting rsyslog...
root@xen00:/# ps axuw | grep rsyslog.alt | grep -v grep
root      9812  0.0  0.1  19916  1184 ?        Sl   04:41   0:00 
/usr/sbin/rsyslogd -c3 -f /etc/rsyslog.alt.conf -i /var/run/rsyslog.alt.pid -4



-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

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

Versions of packages rsyslog depends on:
ii  libc6                  2.7-18lenny4      GNU C Library: Shared libraries
ii  lsb-base               3.2-20            Linux Standard Base 3.2 init scrip
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages rsyslog recommends:
ii  logrotate                     3.7.1-5    Log rotation utility

Versions of packages rsyslog suggests:
pn  rsyslog-doc                   <none>     (no description available)
pn  rsyslog-mysql | rsyslog-pgsql <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
On Mon, 23 Aug 2010 19:08:28 +0000 fleish <t...@ongo.com> wrote:
> Package: rsyslog
> Version: 3.18.6-4
> Severity: normal
> 
> 
> 
> As shown below, rsyslog will not start if there is any process running with 
> the pid found in the pidfile specified with the -i switch. Rsyslog should 
> only refuse to start if an rsyslog process is running with such a pid. In 
> this case, cron was running with the pid and rsyslog failed to start.
> 
> root@xen00:/# bash -x /etc/init.d/rsyslog start
> + test -x /usr/sbin/rsyslogd
> + case "$1" in
> + echo 'Starting rsyslog...'
> Starting rsyslog...
> + '/usr/sbin/rsyslogd -c3 -f /etc/rsyslog.alt.conf -i 
> /var/run/rsyslog.alt.pid -4'
>  Already running.
> + exit 0
> root@xen00:/# cat /var/run/rsyslog.alt.pid 
> 1401
> root@xen00:/# ps axuw | grep 1401 | grep -v grep
> root      1401  0.0  0.0   4264   996 ?        Ss   Aug18   0:00 
> /usr/sbin/cron
> root@xen00:/# rm /var/run/rsyslog.alt.pid
> root@xen00:/# /etc/init.d/rsyslog start
> Starting rsyslog...
> root@xen00:/# ps axuw | grep rsyslog.alt | grep -v grep
> root      9812  0.0  0.1  19916  1184 ?        Sl   04:41   0:00 
> /usr/sbin/rsyslogd -c3 -f /etc/rsyslog.alt.conf -i /var/run/rsyslog.alt.pid -4


I can't reproduce this problem (anymore) under Debian sid, so closing
for version 8.28.0-1


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to