On 06/21/2015 05:13 PM, Sam Varshavchik wrote:
After updating to F22, after the system is up for some period of time, I
have not determine for how long, looks like something removes
/var/run/syslogd.pid

Consequently, logrotate eventually rotates /var/log/messages to
/var/log/messages-yyyymmdd (same for several other /var/log files), but
can't find syslogd's PID to SIGHUP it, so that syslog can reopen the log
files.

I vaguely recall seeing some config files that defines
expiration/cleanup retention period for stuff in /var/run. Anyone recall
where that lives?

I think logrotate, by default, looks for /var/run/syslogd.pid (you'd
need to look at logrotate's config for it). The default logger is now
rsyslogd and the default PID file for it is /var/run/rsyslogd.pid.

Look for that file, then modify logrotate's config file to use it.
Looking at my machine, rsyslogd is running, but it did write its PID to
/var/run/syslogd.pid. Not sure how it did that.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-   To understand recursion, you must first understand recursion.    -
----------------------------------------------------------------------
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to