Dependency based boot sequencing reaches 2/3 threshold (Was: Please all dependency info into your init.d script)

2007-12-22 Thread Petter Reinholdtsen
When measuring the amount of packages in Debian/sid with dependency information for their init.d scripts today, I was very happy to discover that more than 2/3 of the packages in Sid now have dependency information included. Only one base package is missing it (libdevmapper1.02.1), and only

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 URL:http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot to track the progress of this work. See also URL:http://wiki.debian.org/LSBInitScripts for clues on how to write such header. Please have

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 info which

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 might use

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 applications

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 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 least

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 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

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, to

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, this

Please all dependency info into your init.d script

2007-07-06 Thread 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 all, I want us to switch to a dependency based sequencing of the symlinks in /etc/rc*.d/. I gave a talk about