The init script (etc/init.d/spamd) does not work any more after update to openrc and baselayout-2 Reproducible: Always Steps to Reproduce: 1. Update to openrc/baselayout-2 2. /etc/init.d/spamd (re)start 3. Actual Results: /etc/init.d/spamd start * Starting spamd ... * start-stop-daemon: /usr/sbin/spamd is a script * start-stop-daemon: and should be started, stopped or signalled with * start-stop-daemon: --exec /usr/bin/perl -w /usr/sbin/spamd * start-stop-daemon: or you should specify a pidfile or process name * Failed to start spamd [ !! ] * ERROR: spamd failed to start Expected Results: Service to be started Worked correctly before but apparently start-stop-daemon in openrc is a bit more picky about correct invocations
(In reply to comment #0) > * start-stop-daemon: /usr/sbin/spamd is a script > * start-stop-daemon: and should be started, stopped or signalled with > * start-stop-daemon: --exec /usr/bin/perl -w /usr/sbin/spamd > * start-stop-daemon: or you should specify a pidfile or process name > * Failed to start spamd [ !! Solution from http://bugs.gentoo.org/show_bug.cgi?id=178772 worked here for me.
Created attachment 150430 [details] Modified init script Line starting with "--name ..." added
See the modified script (line starting with --name is added). Found this solution (workaround?) in a baselayout-2 thread on the Gentoo forum: http://forums.gentoo.org/viewtopic-t-656399-postdays-0-postorder-asc-start-50.html
please fix it (or I do). ;-)
I did. fixed init-script in CVS. Just re-emerge and you should be fine.