FS#56658 - [samba] logrotate fragment has both copytruncate and postrotate script

Attached to Project: Arch Linux
Opened by Marcos Mello (marcosfrm) - Sunday, 10 December 2017, 12:13 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 15 March 2018, 10:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

/var/log/samba/log.smbd /var/log/samba/log.nmbd /var/log/samba/*.log {
notifempty
missingok
sharedscripts
copytruncate
postrotate
/bin/kill -HUP `cat /var/run/samba/*.pid 2>/dev/null` 2>/dev/null || true
endscript
}

copytruncate keeps the existing log files in place, therefore HUP signal to tell Samba reopen its logs is not needed. postrotate/endscript/sharedscripts can be removed.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Thursday, 15 March 2018, 10:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.8.0-1

Loading...