FS#63103 - [hiawatha] logrotate error when hiawatha is not running
Attached to Project:
Community Packages
Opened by Armand (Kewl) - Friday, 05 July 2019, 06:53 GMT
Last edited by freswa (frederik) - Sunday, 13 September 2020, 17:33 GMT
Opened by Armand (Kewl) - Friday, 05 July 2019, 06:53 GMT
Last edited by freswa (frederik) - Sunday, 13 September 2020, 17:33 GMT
|
Details
Description:
logrotate service returns an error when hiawatha is not running. It can happen for example if logrotate.service starts before hiawatha.service at boot time. The postrotate /usr/bin/killall -HUP hiawatha returns an error because hiawatha is absent. Steps to reproduce: # systemctl stop hiawatha.service # logrotate -vf /etc/logrotate.d/hiawatha Fix: postrotate command to be replaced by /usr/bin/killall -HUP hiawatha || true proposed /etc/logrotate.d/hiawatha attached |
This task depends upon
Closed by freswa (frederik)
Sunday, 13 September 2020, 17:33 GMT
Reason for closing: Fixed
Additional comments about closing: 10.11
Sunday, 13 September 2020, 17:33 GMT
Reason for closing: Fixed
Additional comments about closing: 10.11
Comment by Armand (Kewl) - Tuesday,
14 July 2020, 23:34 GMT
I have contacted the developer and it has been fixed upstream in
Hiawatha 10.11
Comment by Armand (Kewl) - Tuesday,
28 July 2020, 14:24 GMT
this can be closed with no further action once the package is
updated to 10.11+
Comment by Armand (Kewl) - Sunday,
13 September 2020, 16:47 GMT
has been corrected in 10.11
hiawatha