diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-07-30 18:16:56 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-02 02:12:15 -0700 |
commit | 1993b1f78cc317ce53c3ff46ef14a8744d701537 (patch) | |
tree | 4001dec7f05542ffd89a0868d6eb5ea345ab7654 /meta-python/recipes-devtools | |
parent | a79ca6831128ee99806f4f68a239d17ca6555d88 (diff) | |
download | meta-openembedded-contrib-1993b1f78cc317ce53c3ff46ef14a8744d701537.tar.gz |
rsyslog: fix configuration file for logrotate
The logrotate.rsyslog file uses 'cat /var/run/rsyslogd.pid' to
determine the pid of rsyslogd daemon. This is incorrect, because
rsyslogd may start in a way that does not create rsyslog.pid file.
Failing to send HUP signal to rsyslogd daemon will result in
unexpected behaviour. e.g. rsyslogd is writing to /var/log/messages-xxxx
instead of /var/log/messages.
We should really use pkill to send HUP signal to rsyslogd to ensure
correct behaviour.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools')
0 files changed, 0 insertions, 0 deletions