Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11230 - daemontools svscan should start via inittab, not init script
Summary: daemontools svscan should start via inittab, not init script
Status: RESOLVED DUPLICATE of bug 28294
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-25 19:27 UTC by Jeremy Wohl
Modified: 2006-04-13 09:46 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 Jeremy Wohl 2002-11-25 19:27:34 UTC
I posit that starting svscan by init script, and not DJB's suggested inittab 
method, is dangerous.

Example: new to the Gentoo system, I've tripped on a few changes to outlying 
network interface confs (i.e. not primary & therefore not critical) that 
caused the 'net' init dependency to fail.  Thus, on next boot, failing to run 
svscan.  Thus failing to start critical services, like ssh.  Thus making a 
remote box dead in the water.

Svscan should always be given a chance to run.

(Of course, this also protects from svscan failure -- init will restart it.)
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2003-09-09 15:38:47 UTC
Mike, can you make this an option and add some postinst() info about how to do it? init monitors for dead processes and then will respawn them, which is why DJB uses it. currently, gentoo initscripts do not do this.
Comment 2 SpanKY gentoo-dev 2003-09-09 20:55:24 UTC

*** This bug has been marked as a duplicate of 28294 ***