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

Bug 387013

Summary: net-mta/exim - deprecated start-stop-daemon syntax for reload
Product: Gentoo Linux Reporter: Jaco Kroon <jaco>
Component: Current packagesAssignee: Fabian Groffen <grobian>
Status: RESOLVED FIXED    
Severity: minor CC: net-mail+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 391237    
Bug Blocks:    

Description Jaco Kroon 2011-10-13 07:16:18 UTC
When issuing /etc/init.d/exim reload I get:

 * Reloading exim ...
 * WARNING: -o/--oknodo is deprecated and will be removed in the future                       [ ok ]

This can be fixed by updating the reload() function to not specify --oknodo and to remove --stop.  In other words, the reload()'s function start-stop-daemon line should read as follows:

start-stop-daemon --signal HUP --quiet --pidfile /var/run/exim.pid --name exim

This change will in turn cause problems for logrotate, so in /etc/logrotate.d/exim update the line for /etc/init.d/exim reload >/dev/null to /etc/init.d/exim --ifstarted --quiet reload

Reproducible: Always
Comment 1 Fabian Groffen gentoo-dev 2011-10-13 09:33:29 UTC
Thanks, this (should have been) fixed in the latest versions.  I hope to open a stable request for 4.77 soon, which would fix this bug then as well.
Comment 2 Fabian Groffen gentoo-dev 2011-12-04 10:13:07 UTC
"fixed" by swegener for both stable as upcoming stable 4.77