Your message dated Sun, 3 Jun 2018 23:26:46 +0200
with message-id <[email protected]>
and subject line Re: Bug#900586: rsyslog: systemd Service File Update Breaks 
logrotate
has caused the Debian Bug report #900586,
regarding rsyslog: systemd Service File Update Breaks logrotate
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.)


-- 
900586: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900586
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rsyslog
Version: 8.34.0-1
Severity: normal

Dear Maintainer,

Between rsyslog package versions 8.24.0-1 and 8.34.0-1, after "logrotate" runs, 
new "/var/log/syslog" and "/var/log/messages" files are created but ignored; 
their sizes are 0 bytes, and rsyslogd continues writing to "/var/log/syslog.1" 
and "/var/log/messages.1".

Comparing rsyslog package versions 8.24.0-1 and 8.34.0-1, the ExecStart line in 
file "/lib/systemd/system/rsyslog.service" changed from 
"ExecStart=/usr/sbin/rsyslogd -n" to "ExecStart=/usr/sbin/rsyslogd -n -iNONE".

Apparently, this change breaks log-rotate functionality.  In 
"/etc/init.d/rsyslog", when the function "do_rotate()" is changed from

   do_rotate() {
        start-stop-daemon --stop --signal HUP --quiet --pidfile $PIDFILE --exec 
$DAEMON
   }

to

   do_rotate() {
        start-stop-daemon --stop --signal HUP --quiet --exec $DAEMON
   }

(removing "--pidfile $PIDFILE"), the log files rotate as expected.

In "/etc/init.d/rsyslog", the functions "do_start()" and "do_stop()" also use 
the "--pidfile" argument, options which, based on the change to 
"/lib/systemd/system/rsyslog.service", may no longer be needed.  The package 
maintainer can best determine whether or not those functions also need to be 
changed.


-- System Information:
Debian Release: buster/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rsyslog depends on:
ii  init-system-helpers  1.51
ii  libc6                2.27-3
ii  libestr0             0.1.10-2.1
ii  libfastjson4         0.99.8-2
ii  liblogging-stdlog0   1.0.6-3
ii  liblognorm5          2.0.5-1
ii  libsystemd0          238-4
ii  libuuid1             2.32-0.1
ii  lsb-base             9.20170808
ii  zlib1g               1:1.2.11.dfsg-1

Versions of packages rsyslog recommends:
ii  logrotate  3.11.0-0.1

Versions of packages rsyslog suggests:
pn  rsyslog-doc                    <none>
pn  rsyslog-gnutls                 <none>
pn  rsyslog-gssapi                 <none>
pn  rsyslog-mongodb                <none>
pn  rsyslog-mysql | rsyslog-pgsql  <none>
pn  rsyslog-relp                   <none>

-- Configuration Files:
/etc/init.d/rsyslog changed [not included]
/etc/logrotate.d/rsyslog changed [not included]

-- debconf-show failed

--- End Message ---
--- Begin Message ---
Am 03.06.2018 um 14:09 schrieb Dave Sp:
> !             invoke-rc.d rsyslog rotate > /dev/null

This is indeed incorrect and the Debian package has been updated to use
/usr/lib/rsyslog/rsyslog-rotate.
You should update your locally modified /etc/logrotate.d/rsyslog
accordingly.


-- 
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