Re: Getting rid of /usr for F12?

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

 



On Sat, 2009-04-18 at 01:48 +0200, Lennart Poettering wrote:
> On Fri, 17.04.09 18:38, Chris Adams (cmadams@xxxxxxxxxx) wrote:
> 
> > 
> > Once upon a time, Lennart Poettering <mzerqung@xxxxxxxxxxx> said:
> > > However, no daemon should ever touch files in /etc automatically. That
> > > NM does that is pretty bad style. Instead resolv.conf should be
> > > replaced by a symlink to /var and manipulated there.
> > 
> > /etc is by standard for system configuration files.  It is unreasonable
> > to expect everything that needs to update system configuration to have
> > to know to remount read-write / (or /etc or whatever).  Making a bunch
> > of symlinks just to repoint configuration files out of the configuration
> > directory would be stupid.
> 
> You are overerstimating how much software actually touches /etc.
> 
> And what you call 'stupid' is pretty common sense everywhere except on
> Fedora as it seems.
> 
> You can do it on OpenSUSE:
> 
> http://en.opensuse.org/How-To_Make_the_root_filesystem_read-only

Above page contains lots of manual steps, like the following:

* move /etc/resolv.conf to /dev/shm/resolv.conf
# mv /etc/resolv.conf /dev/shm
* link /dev/shm/resolv.conf to /etc/resolv.conf
# ln -s /dev/shm/resolv.conf /etc/resolv.conf

So, if that's how "you can do it on OpenSUSE", I bet you could do it
similarly on Fedora today. If the OpenSUSE way is good enough for you,
then perhaps you could just write up a doc similar to theirs for Fedora.

That said, I don't personally care if /usr continues to exist. I also
didn't check the two links below.

> You can do it on Debian:
> 
> http://wiki.debian.org/ReadonlyRoot
> 
> You can do it on Gentoo:
> 
> http://www.gentoo-wiki.info/HOWTO_Read-only_root_filesystem
> 
> Lennart
> 
> -- 
> Lennart Poettering                        Red Hat, Inc.
> lennart [at] poettering [dot] net         ICQ# 11060553
> http://0pointer.net/lennart/           GnuPG 0x1A015CC4
> 


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux