FS#358 - sysklogd's syslog rc.d script is broken

Attached to Project: Arch Linux
Opened by Dale Blount (dale) - Monday, 29 December 2003, 16:09 GMT
Last edited by Judd Vinet (judd) - Tuesday, 30 December 2003, 21:57 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Judd Vinet (judd)
Architecture All
Severity Very Low
Priority Normal
Reported Version 0.6 Widget
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

looks like the rc.d script for syslog doesn't record the current pid (actually it tries twice, the binary does it, and the script does it (locking race?)).

This could be a potential security risk as the logs are not rotated as configured in logrotate (killall can't find syslog's PID).

removing the "echo $PID > /var/run/syslogd.pid" line from /etc/rc.d/syslogd seems to fix it in my tests.
This task depends upon

Closed by  Anonymous Submitter
Tuesday, 30 December 2003, 21:57 GMT
Reason for closing:  Fixed
Comment by Judd Vinet (judd) - Tuesday, 30 December 2003, 21:57 GMT
  • Task details edited
Fixed in 1.4.1-8

Loading...