Edward Catmur wrote: >On Thu, 2005-05-12 at 12:17 +0200, Matthias Bethke wrote: > > >>I also haven't figured out *how* the "net" dependency is provided. The >>postfix iniscript explicitely contains "provide mta", but very few >>scripts use this provide keyword, especially not net.* >>On my previous SuSE system, if I went someplace networked with the >>machine running already, I used to say "ifup-dhcp eth0", and I could mail >>and ssh into the laptop without any further ado. I suppose I could do the >>same with Gentoo's runlevels which I haven't explored yet, but it still >>doesn't solve the problem that I can't have postfix running and queueing >>messages I send while offline so they can be delivered once I plug in >>somewhere. >> >> > >See RC_NET_STRICT_CHECKING in /etc/conf.d/rc. > > >
AFAICT, NET_STRICT_CHECKING will not help. If set to "yes", it requires all net.* scripts to be successfully started for the net dependancy to be satisifed. If set to "no", it requires a single net.* interface, _other than lo_, to satisfy the net dependancy. On a laptop without a network connection, the dependancy will still not be satisfied. My solution, which is probably not the most elegant, was to change all "need net" to "need net.lo" in the init.d scripts. BTW, the 'net' dependancy is handled in the /etc/init.d/runscript.sh script. -Richard -- [email protected] mailing list

