Re: Please all dependency info into your init.d script

2007-10-25 Thread Francesco P. Lovergine
On Wed, Oct 24, 2007 at 11:53:54AM +0200, Petter Reinholdtsen wrote: > > > I've created > > http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot> to > > track the progress of this work. See also > > http://wiki.debian.org/LSBInitScripts> for clues on how to write > > such header. > > Please

Re: Please all dependency info into your init.d script

2007-10-24 Thread Petter Reinholdtsen
Here is a small status update on the dependency based init.d script ordering effort. [Petter Reinholdtsen] > As you might be aware, there are several bugs in the Debian boot > sequence. The bugs affect some combinations of packages, and are some > times hard to solve. To solve them once and for

Re: Please all dependency info into your init.d script

2007-07-13 Thread Russ Allbery
Steve Langasek <[EMAIL PROTECTED]> writes: > On Fri, Jul 13, 2007 at 07:18:17AM +0200, Adrian von Bidder wrote: >> Hmmm. With slapd, for example, it's certainly possible where one >> scenario (slapd uses SQL database) directly contradicts another >> scenario (startup of SQL database uses auth inf

Re: Please all dependency info into your init.d script

2007-07-12 Thread Steve Langasek
On Fri, Jul 13, 2007 at 07:18:17AM +0200, Adrian von Bidder wrote: > On Tuesday 10 July 2007 20.04:38 Russ Allbery wrote: > > Toni Mueller <[EMAIL PROTECTED]> writes: > > > Slapd may require an > > > external SQL server if a suitable backend is defined, and I guess that > > > a whole slew of other

Re: Please all dependency info into your init.d script

2007-07-12 Thread Adrian von Bidder
On Tuesday 10 July 2007 20.04:38 Russ Allbery wrote: > Toni Mueller <[EMAIL PROTECTED]> writes: > > Slapd may require an > > external SQL server if a suitable backend is defined, and I guess that > > a whole slew of other applications have similar problems. > > You should require everything you mi

Re: Please all dependency info into your init.d script

2007-07-11 Thread Petter Reinholdtsen
[Vincent Danjean] > What about circular dependencies that must be broken differently > depending on the admin configuration ? [Henrique de Moraes Holschuh] > You have your answer right there: let the admin fix it. Exactly. And the insserv system provides a system where overrides are read from /

Re: Please all dependency info into your init.d script

2007-07-10 Thread Henrique de Moraes Holschuh
On Tue, 10 Jul 2007, Vincent Danjean wrote: > What about circular dependencies that must be broken differently > depending on the admin configuration ? You have your answer right there: let the admin fix it. > For example, looking at openvpn and nfs : > * On some machines, openvpn must depend (pe

Re: Please all dependency info into your init.d script

2007-07-10 Thread Vincent Danjean
Petter Reinholdtsen wrote: The current proposal is to document dependencies in the init.d scripts themselves (or override files while we wait for the init.d scripts to be updated), and then replace the update-rc.d program with a program that take these dependencies into account when creating the

Re: Please all dependency info into your init.d script

2007-07-10 Thread Petter Reinholdtsen
[Toni Mueller] > Packages may or may not require services, depending on actual > runtime configuration. Eg. roundup can use one or more out of a > number of database mechanisms, some of which require external SQL > servers, and at least one that doesn't. Correct. > Request-Tracker may be run at l

Re: Please all dependency info into your init.d script

2007-07-10 Thread Russ Allbery
Toni Mueller <[EMAIL PROTECTED]> writes: > Packages may or may not require services, depending on actual runtime > configuration. Eg. roundup can use one or more out of a number of > database mechanisms, some of which require external SQL servers, and at > least one that doesn't. Request-Tracker m

Re: Please all dependency info into your init.d script

2007-07-10 Thread Toni Mueller
Hi, On Fri, 06.07.2007 at 22:43:31 +0200, Petter Reinholdtsen <[EMAIL PROTECTED]> wrote: > As you might be aware, there are several bugs in the Debian boot > sequence. The bugs affect some combinations of packages, and are some > times hard to solve. To solve them once and for all, I want us t

Re: Please all dependency info into your init.d script

2007-07-08 Thread Petter Reinholdtsen
[Neil McGovern] > Blootbot requires a mysql database to be up and running, or it will > fail. However, this database doesn't need to be on the local > host. How's best to handle this situation in the init script > dependencies? I suggest adding the mysql init.d script in the should-start header,

Re: Please all dependency info into your init.d script

2007-07-07 Thread Neil McGovern
On Fri, Jul 06, 2007 at 10:43:31PM +0200, Petter Reinholdtsen wrote: > For this to work properly, all init.d scripts need to provide > dependency information. [snip] > Neil McGovern <[EMAIL PROTECTED]> >blootbot Blootbot requires a mysql database to be up and running, or it will fail. However,