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

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



On Mon, Mar 10, 2003 at 10:35:06AM -0300, Henrique de Moraes Holschuh wrote:
> On Mon, 10 Mar 2003, martin f krafft wrote:
> > ifupdown manages the state of interfaces with the file
> > /etc/network/ifstate. this file is being written to. isn't that
> > a violation of the FHS, and should ifstate not live under /var?
> Maybem but it probably creates a lot of headaches. /etc is the ONLY
> directory with guaranteed early write access.  Some stuff IS bound to
> have to use /etc instead of /var.

If you know /var will be available, and want /etc not to be written to:

# mv /etc/network/ifstate /var/run/ifupdown-state
# ln -s /var/run/ifupdown-state /etc/network/ifstate

Likewise if you have some other directory available.

> I would love to have ifstate go kabloom (as in not exist at all), though :)

You're welcome to not use ifup or ifdown then.

Cheers,
aj

-- 
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.

  ``Dear Anthony Towns: [...] Congratulations -- 
        you are now certified as a Red Hat Certified Engineer!''

Attachment: pgpJL9D4s8n9p.pgp
Description: PGP signature


Reply to: