I'm still having the same problem too. Here's a strace of the rsyslog process when it receives the HUP:
[0] spitzer:/var/log# strace -p 7830 Process 7830 attached - interrupt to quit select(1, NULL, NULL, NULL, {17, 289248}) = ? ERESTARTNOHAND (To be restarted) --- SIGHUP (Hangup) @ 0 (0) --- rt_sigaction(SIGHUP, {0x40c630, [], SA_RESTORER, 0x7f0cd0500190}, NULL, 8) = 0 rt_sigreturn(0x1) = -1 EINTR (Interrupted system call) futex(0x800594, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x800590, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1 sched_yield() = 0 select(1, NULL, NULL, NULL, {30, 0}) = 0 (Timeout) access("/var/log/syslog", F_OK) = 0 open("/var/log/syslog", O_WRONLY|O_CREAT|O_NOCTTY|O_APPEND|O_CLOEXEC, 0640) = -1 EACCES (Permission denied) select(1, NULL, NULL, NULL, {30, 0}) = 0 (Timeout) select(1, NULL, NULL, NULL, {30, 0}) = 0 (Timeout) access("/var/log/syslog", F_OK) = 0 open("/var/log/syslog", O_WRONLY|O_CREAT|O_NOCTTY|O_APPEND|O_CLOEXEC, 0640) = -1 EACCES (Permission denied) select(1, NULL, NULL, NULL, {30, 0}) = 0 (Timeout) select(1, NULL, NULL, NULL, {30, 0}) = 0 (Timeout)
/var/log/syslog is owned by root:adm with permissions 0664 and created by logrotate after the rotation.
I'm still having the same problem too. Here's a strace of the rsyslog process when it receives the HUP:
[0] spitzer:/var/log# strace -p 7830 SIGHUP, {0x40c630, [], SA_RESTORER, 0x7f0cd0500190}, NULL, 8) = 0 OP_PRIVATE, 1, 1, 0x800590, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1 "/var/log/ syslog" , F_OK) = 0 var/log/ syslog" , O_WRONLY| O_CREAT| O_NOCTTY| O_APPEND| O_CLOEXEC, 0640) = -1 EACCES (Permission denied) "/var/log/ syslog" , F_OK) = 0 var/log/ syslog" , O_WRONLY| O_CREAT| O_NOCTTY| O_APPEND| O_CLOEXEC, 0640) = -1 EACCES (Permission denied)
Process 7830 attached - interrupt to quit
select(1, NULL, NULL, NULL, {17, 289248}) = ? ERESTARTNOHAND (To be restarted)
--- SIGHUP (Hangup) @ 0 (0) ---
rt_sigaction(
rt_sigreturn(0x1) = -1 EINTR (Interrupted system call)
futex(0x800594, FUTEX_WAKE_
sched_yield() = 0
select(1, NULL, NULL, NULL, {30, 0}) = 0 (Timeout)
access(
open("/
select(1, NULL, NULL, NULL, {30, 0}) = 0 (Timeout)
select(1, NULL, NULL, NULL, {30, 0}) = 0 (Timeout)
access(
open("/
select(1, NULL, NULL, NULL, {30, 0}) = 0 (Timeout)
select(1, NULL, NULL, NULL, {30, 0}) = 0 (Timeout)
/var/log/syslog is owned by root:adm with permissions 0664 and created by logrotate after the rotation.