Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
   hiawatha (0.2 KiB)
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
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

Loading...