Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387013 - net-mta/exim - deprecated start-stop-daemon syntax for reload
Summary: net-mta/exim - deprecated start-stop-daemon syntax for reload
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on: 391237
Blocks:
  Show dependency tree
 
Reported: 2011-10-13 07:16 UTC by Jaco Kroon
Modified: 2011-12-04 10:13 UTC (History)
1 user (show)

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


Attachments

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