[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 12:54:16PM -0600, Steve Langasek wrote:
> > On the NFS-mounted root file system which is shared among all disk-less
> > systems?
> 
> Um, that would make it *worse*, not better.  If /etc/network/ifstate is
> shared, ifupdown will be hopelessly confused about which interfaces are
> up or down.

I don't think you can feasibly hve /etc shared just yet.

However, it would be good if /, /etc, /bin, /lib could be mounted
read-only, eg for security reasons, or booting from CDROM.

/etc/network/ifstate - is just one problem here.

others are:

/etc/mtab - can be solved to certain degree with symlink to
	/proc/mounts, however this is a can of worms.

/etc/resolv.conf - some daemons need to update this, eg. pppd,
	dhcpd

/lib/modules/x.y.z/modules.* - this is horrible IMHO, it really lives
	under /var.

In all these cases, the files are required or potentially required
before /var has been mounted :-(.

Looks like the /mem proposal might be a good idea...

or /var_small maybe???

On some systems this could be on ramdisk, on others it could be part of
the harddisk.
-- 
Brian May <bam@debian.org>



Reply to: