Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53979 - baculas startup scripts fails to do the "correct" thing when the second or third service fails to start.
Summary: baculas startup scripts fails to do the "correct" thing when the second or th...
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chuck Short (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-15 07:54 UTC by Jaco Kroon
Modified: 2004-07-18 23:41 UTC (History)
0 users

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 2004-06-15 07:54:00 UTC
When starting bacula, specifically when starting all three services, then if the director fails, then the script fails, but the fd and sd services has been started.  This prevents us from starting again as these services then fail.  Neither can we "stop", as the service has not been started.

Reproducible: Always
Steps to Reproduce:
1.  Make sure that bacula-dir is going to fail during startup (invalid config, grab the port, anything).
2.  Try to start bacula
3.

Actual Results:  
Parts of bacula started, parts thereof failed.

Expected Results:  
Either failed entirely and not starting *any* of the bacula services or started
correctly.
Comment 1 Jaco Kroon 2004-06-15 07:55:21 UTC
In my view there are two solutions to this, either create a seperate initrc scripts for each of the three services (my preference) or do something similar to what samba 3.0.4 is doing by using a service list, and should the second daemon fail to start the first gets shot down again as well.
Comment 2 Chuck Short (RETIRED) gentoo-dev 2004-06-19 16:03:40 UTC
Please supply an init script.
Comment 3 Jaco Kroon 2004-06-20 23:42:10 UTC
No problem, which approach would you prefer?  That of having 3 seperate init scripts or a single one, but with functionality similar to that of samba-3.0.4?
Comment 4 Chuck Short (RETIRED) gentoo-dev 2004-06-21 11:40:52 UTC
Similar to svc for samba.

Thanks
Comment 5 Chuck Short (RETIRED) gentoo-dev 2004-06-22 17:59:52 UTC
And attach config.log.
Comment 6 Chuck Short (RETIRED) gentoo-dev 2004-06-23 05:53:10 UTC
doh...wrong bug
Comment 7 Chuck Short (RETIRED) gentoo-dev 2004-07-17 08:37:47 UTC
No response, ill have a look the script later when i have time
Comment 8 Jaco Kroon 2004-07-18 23:41:54 UTC
Uhrm, sorry, totally forgot about this!!