[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ifupdown writes to /etc... a bug?



Anthony Towns wrote:
> On Thu, Mar 13, 2003 at 11:22:05AM -0500, Joey Hess wrote:
> > > Most of the affected programs are one-shot startup scripts, not daemons.
> > The only program I know if that really needs it is ifupdown, which just
> > needs to write out the state at the end. I'll bet aj won't like the idea
> > though, it is sorta gross.
> 
> I don't see how it'd work: the obvious way of doing it would have
> S40networking block until S45mountnfs.sh was run, but that'd result
> in a deadlock. And in any event, once /var is unmounted, /var/run becomes
> unavailable and you can't bring eth0 down intelligently.

I guess ifupdown would do its operations to bring the network up, and
defer witing ifstate till the end. Then it would fork to backgound and
wait for the directory to become available.

But yeah, the unmount is a killer.

-- 
see shy jo

Attachment: pgpT6YrqWowfU.pgp
Description: PGP signature


Reply to: