Comment 9 for bug 810736

Revision history for this message
schamane (schamane) wrote :

Thanks for suggesting to upgrade to 2:4.16 via backports. The logrotate file included in this samba package does `/usr/bin/smbcontrol smbd reload-config`. I could do only limited testing so far. Anyhow, on the 1 machine where I upgraded to 2:4.16, after logrotation I still see what Andreas described in comment #5.

```
# /usr/bin/smbcontrol smbd reload-config
# kill -HUP `cat /var/run/samba/smbd.pid` # = kill -HUP 2763
# ps axu | grep '[s]mbd'
root 2763 0.0 1.7 75824 18172 ? Ss Jun13 0:00 /usr/sbin/smbd --foreground --no-process-group
root 2765 0.0 0.7 74964 8076 ? S Jun13 0:00 /usr/sbin/smbd --foreground --no-process-group
root 2766 0.0 0.4 74964 4788 ? S Jun13 0:00 /usr/sbin/smbd --foreground --no-process-group
# lsof +D /var/log 2>/dev/null|grep -E '\.[012](\.gz)?'
smbd-noti 2765 root 2w REG 8,7 9600 424 /var/log/samba/log.smbd.1
smbd-noti 2765 root 3w REG 8,7 9600 424 /var/log/samba/log.smbd.1
cleanupd 2766 root 2w REG 8,7 9600 424 /var/log/samba/log.smbd.1
cleanupd 2766 root 3w REG 8,7 9600 424 /var/log/samba/log.smbd.1

```