Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552200 - net-misc/asterisk logrotate file should test that asterisk is running before reloading the logger.
Summary: net-misc/asterisk logrotate file should test that asterisk is running before ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-15 14:56 UTC by Jaco Kroon
Modified: 2015-06-19 11:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
updated logrotate config file for asterisk (asterisk,514 bytes, text/plain)
2015-06-15 14:56 UTC, Jaco Kroon
Details

Note You need to log in before you can comment on or make changes to this bug.
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.