FS#54314 - [rsyslog] problem with logrotate?

Attached to Project: Community Packages
Opened by James (thx1138) - Monday, 05 June 2017, 16:42 GMT
Last edited by Balló György (City-busz) - Sunday, 07 January 2018, 21:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

rsyslog 8.27.0-1
linux 4.11.3-1
logrotate 3.12.2-1

HUP fails.

$ cat /etc/logrotate.d/rsyslog
/var/log/auth.log /var/log/cron.log /var/log/daemon.log /var/log/debug /var/log/kern.log /var/log/lpr.log /var/log/mail.err /var/log/mail.info /var/log/mail.log /var/log/mail.warn /var/log/messages /var/log/news /var/log/syslog /var/log/user.log {
missingok
sharedscripts
postrotate
/usr/bin/killall -HUP /usr/bin/rsyslogd
endscript
}

$ ps wax|grep sysl
361 ? Ssl 1:05 /usr/bin/rsyslogd -n -i /run/rsyslogd.pid

$ sudo /usr/bin/killall -HUP /usr/bin/rsyslogd ; echo $?
/usr/bin/rsyslogd: no process found
1

$ sudo /usr/bin/killall -HUP rsyslogd ; echo $?
0

Why is that?

Does the HUP command in /etc/logrotate.d/rsyslog need to be changed?
This task depends upon

Closed by  Balló György (City-busz)
Sunday, 07 January 2018, 21:29 GMT
Reason for closing:  Won't fix
Comment by Balló György (City-busz) - Sunday, 07 January 2018, 21:29 GMT

Loading...