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