[Bug 810736] Re: logrotate script needs to notify all samba processes when logs are rotated

2019-11-01 Thread Andreas Hasenack
Bug still in our queue. -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/810736 Title: logrotate script needs to notify all samba processes when logs are rotated To manage notifications

[Bug 810736] Re: logrotate script needs to notify all samba processes when logs are rotated

2019-05-01 Thread Andreas Hasenack
bionic onwards is using smbcontrol, and I still see some processes using the (deleted) rotated files. At least new log messages are going to the right place (log.smbd), so I'm not sure what's going on. Checked with eoan's samba 4.10.0. -- You received this bug notification because you are a

[Bug 810736] Re: logrotate script needs to notify all samba processes when logs are rotated

2018-10-31 Thread Andreas Hasenack
Still confirmed, even in cosmic with samba 4.8. The smbcontrol reload- config action still leaves processes hanging on to the rotated file. -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report.

[Bug 810736] Re: logrotate script needs to notify all samba processes when logs are rotated

2017-08-10 Thread Andreas Hasenack
Oh, how silly of me. The 8841 process that shows in that fuser list is a tail -f I had open in another terminal. That being said, there were still other processes, samba ones, which held an open fd to the log file, so this bug is still valid. I should just be more careful with my tail -f next

[Bug 810736] Re: logrotate script needs to notify all samba processes when logs are rotated

2017-08-10 Thread Andreas Hasenack
I just saw this bug while merging Debian's latest samba into ubuntu, because it had this changelog snippet: * Fix logrotate for /var/log/samba/log.samba to send SIGHUP to all processes of the service (systemd only) The logrotate script now uses smbcontrol reload-config (not

[Bug 810736] Re: logrotate script needs to notify all samba processes when logs are rotated

2011-07-15 Thread Dave Walker
** Changed in: samba (Ubuntu) Importance: Undecided = Medium ** Changed in: samba (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/810736

[Bug 810736] Re: logrotate script needs to notify all samba processes when logs are rotated

2011-07-14 Thread Simon Déziel
Steps to observe the problem : # Only one log file exists ls -1 /var/log/samba cores log.smbd # Force the rotation logrotate -f /etc/logrotate.d/samba # The log is rotated but the old log file is missing (was rm'ed and does not show in ls) ls -1 /var/log/samba cores log.smbd.1.gz # with lsof

[Bug 810736] Re: logrotate script needs to notify all samba processes when logs are rotated

2011-07-14 Thread Simon Déziel
** Description changed: After the log rotation, logrotate needs to notify all samba processes to release their open file descriptors on the log files. The current logrotate configuration file does not do so and only notify the process that has it's PID stored /var/run/samba/. This is