On Wed, 2008-01-02 at 17:15 +0200, Alon Bar-Lev wrote: > On 1/2/08, Roy Marples <[EMAIL PROTECTED]> wrote: > > Those functions were removed from functions.sh as only update-modules > > still uses them. udev does use KV_to_int though. I don't really want to > > add those functions back. Although we could trivially add is_older_than > > as a C applet built into rc. > > So who should take care of this?
update-modules maintainer which would be vapier. I notified him on IRC about this a few months ago, but he never replied one way or the other. > > > How can I add a specific service dependency using this mechanism? The > > > modified service name is missing... > > > > They're supposed to belong in /etc/conf.d/$SVCNAME > > Maybe you could suggest better wording? > > > > I suppose we could also allow > > rc_$SVCNAME_$depend to work, for example > > > > rc_clock_need="modules" > > Oh... This is good, just document it... :) Done! re-emerge to test. > You did not reply regarding this one: > > > > Also the network dependency of stopping/starting services when network > > > is unavailable/available is gone, any alternative? It's not gone at all - just different. It's also no longer net specific, and applies to any service that can be multiplexed. But lets use net as the example as everyone understands that. With rc_depend_strict=YES (which is the default) If any services added to the current runlevel provide net then all those services will be used. If none found, then check the boot runlevel and use those. If none found then nothing provides net as such. With rc_depend_strict=NO we check the following and abort at the first match. Check if any started service provide net - if so use them. Check if any inactive services provide net - if so use them. Check if any coldplugged services provide net - if so use them. If nothing found then list ALL installed services that provide net. Hopefully that makes things a little more clear. Thanks Roy -- [EMAIL PROTECTED] mailing list