Re: init.d script dependencies for etch?

2005-04-06 Thread Pierre THIERRY
Scribit Humberto Massa dies 04/04/2005 hora 10:46: Cached? As in queried beforehand? As in two-pass algorithm, once iterating init.d with 'depends' as option, then with 'start' ? There are advantages to call the init.d script to poll its dependencies, instead of reading them: - the script

Re: init.d script dependencies for etch?

2005-04-06 Thread Thomas Hood
Apparently Gentoo is using simpleinit. Anyone know what the other distros are using? -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: init.d script dependencies for etch?

2005-04-05 Thread martin f krafft
also sprach Humberto Massa [EMAIL PROTECTED] [2005.04.04.1546 +0200]: Cached? As in queried beforehand? As in two-pass algorithm, once iterating init.d with 'depends' as option, then with 'start' ? Yeah, that sounds nice. My sarcasm detector went off with this one, so I'll try to

Re: init.d script dependencies for etch?

2005-04-04 Thread Humberto Massa
martin f krafft wrote: also sprach Bastian Blank [EMAIL PROTECTED] [2005.04.01.2104 +0200]: Uh, this looks like a pull type of thing in which ever init.d script starts its dependencies. I don't think this is a good idea. No, it is not. The dependencies are cached. Cached? As in

Re: init.d script dependencies for etch?

2005-04-01 Thread martin f krafft
[taking to devel, per your suggestion] also sprach Lars Wirzenius [EMAIL PROTECTED] [2005.04.01.1546 +0200]: I would like to work on making this happen for etch. I don't have an implementation yet, let alone a plan for how to do it, and I won't start work until after sarge is released, so this

Re: init.d script dependencies for etch?

2005-04-01 Thread Frank Küster
martin f krafft [EMAIL PROTECTED] wrote: [taking to devel, per your suggestion] also sprach Lars Wirzenius [EMAIL PROTECTED] [2005.04.01.1546 +0200]: I would like to work on making this happen for etch. I don't have an implementation yet, let alone a plan for how to do it, and I won't start

Re: init.d script dependencies for etch?

2005-04-01 Thread Thomas Hood
On Fri, 01 Apr 2005 16:50:20 +0200, martin f krafft wrote: I think we need to establish a header format policy, and I suggest something similar to debian/control, e.g. #!/bin/sh -e # init.d script for sshd # #% Depends: network, iptables # if $1 ... This has been

Re: init.d script dependencies for etch?

2005-04-01 Thread Bastian Blank
On Fri, Apr 01, 2005 at 04:28:33PM +0200, martin f krafft wrote: I think we need to establish a header format policy, and I suggest something similar to debian/control, e.g. I must say, that the Gentoo-Way looks better than this. Bastian -- Vulcans believe peace should not depend on force.

Re: init.d script dependencies for etch?

2005-04-01 Thread Wouter van Heyst
On Fri, Apr 01, 2005 at 08:16:58PM +0200, Bastian Blank wrote: On Fri, Apr 01, 2005 at 04:28:33PM +0200, martin f krafft wrote: I think we need to establish a header format policy, and I suggest something similar to debian/control, e.g. I must say, that the Gentoo-Way looks better than

Re: init.d script dependencies for etch?

2005-04-01 Thread Bastian Blank
On Fri, Apr 01, 2005 at 08:18:56PM +0200, Wouter van Heyst wrote: On Fri, Apr 01, 2005 at 08:16:58PM +0200, Bastian Blank wrote: I must say, that the Gentoo-Way looks better than this. What is the Gentoo-Way? | opts=depend checkconfig start stop reload | | depend() { | # Make

Re: init.d script dependencies for etch?

2005-04-01 Thread martin f krafft
also sprach Bastian Blank [EMAIL PROTECTED] [2005.04.01.2031 +0200]: | # Make networking dependency conditional on configuration | case $(sed 's/#.*//' /etc/syslog-ng/syslog-ng.conf) in | *source*tcp*|*source*udp*|*destination*tcp*|*destination*udp*) |

Re: init.d script dependencies for etch?

2005-04-01 Thread martin f krafft
also sprach Thomas Hood [EMAIL PROTECTED] [2005.04.01.1930 +0200]: This has been standardized by LSB: http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html Clearly this is the way to go then. After all, we are striving to be LSB-compliant, so why

Re: init.d script dependencies for etch?

2005-04-01 Thread Bastian Blank
On Fri, Apr 01, 2005 at 08:48:36PM +0200, martin f krafft wrote: Uh, this looks like a pull type of thing in which ever init.d script starts its dependencies. I don't think this is a good idea. No, it is not. The dependencies are cached. Bastian -- Get back to your stations!

Re: init.d script dependencies for etch?

2005-04-01 Thread martin f krafft
also sprach Bastian Blank [EMAIL PROTECTED] [2005.04.01.2104 +0200]: Uh, this looks like a pull type of thing in which ever init.d script starts its dependencies. I don't think this is a good idea. No, it is not. The dependencies are cached. Cached? As in queried beforehand? As in two-pass

Re: init.d script dependencies for etch?

2005-04-01 Thread Thomas Hood
On Fri, 01 Apr 2005 20:40:08 +0200, Bastian Blank wrote: | need clock hostname | provide logger I take it that this is Richard Gooch's simpleinit system as furnished in util-linux. http://www.atnf.csiro.au/people/rgooch/linux/boot-scripts/ Before commenting, people should