Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 552200

Summary: net-misc/asterisk logrotate file should test that asterisk is running before reloading the logger.
Product: Gentoo Linux Reporter: Jaco Kroon <jaco>
Component: [OLD] ServerAssignee: Tony Vroon (RETIRED) <chainsaw>
Status: RESOLVED FIXED    
Severity: normal CC: jaco
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: updated logrotate config file for asterisk

Description Jaco Kroon 2015-06-15 14:56:09 UTC
I get the following emails coming from cron, suspect due to logrotate:

Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

I've manually shut asterisk on the machine in question - not the normal scenario, but still one that should be covered.

Reproducible: Always
Comment 1 Jaco Kroon 2015-06-15 14:56:47 UTC
Created attachment 405192 [details]
updated logrotate config file for asterisk
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2015-06-19 11:13:43 UTC
+*asterisk-13.4.0 (19 Jun 2015)
+*asterisk-11.18.0 (19 Jun 2015)
+
+  19 Jun 2015; Tony Vroon <chainsaw@gentoo.org> +asterisk-11.18.0.ebuild,
+  -asterisk-12.8.2.ebuild, +asterisk-13.4.0.ebuild,
+  +files/1.6.2/asterisk.logrotate4:
+  Bugfix releases on the 11 & 13 branches. One more fix (IAX2 concurrency by
+  Jaco Kroon) is now upstream. As announced the 12 branch is being withdrawn,
+  please use 13 instead. Updated logrotate snippet closes bug #552200 by Jaco
+  Kroon.