First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 218008
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Perl Devs @ Gentoo <perl@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Karel De Vriendt <Karel.De-Vriendt@skynet.be>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
spamd Modified init script text/plain Karel De Vriendt 2008-04-20 16:39 0000 894 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 218008 depends on: Show dependency tree
Show dependency graph
Bug 218008 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-16 19:46 0000
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

------- Comment #1 From SchAmane 2008-04-18 05:06:34 0000 -------
(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.

------- Comment #2 From Karel De Vriendt 2008-04-20 16:39:54 0000 -------
Created an attachment (id=150430) [edit]
Modified init script

Line starting with "--name ..." added

------- Comment #3 From Karel De Vriendt 2008-04-20 16:40:14 0000 -------
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

------- Comment #4 From Stefan Briesenick 2008-05-14 21:14:35 0000 -------
please fix it (or I do). ;-)

------- Comment #5 From Stefan Briesenick 2008-05-14 21:26:21 0000 -------
I did. fixed init-script in CVS. Just re-emerge and you should be fine.

First Last Prev Next    No search results available      Search page      Enter new bug