install fails because / is not writeable

Kris Kennaway kris at obsecurity.org
Mon Apr 30 19:10:12 UTC 2007


On Mon, Apr 30, 2007 at 08:45:17AM +0200, [LoN]Kamikaze wrote:
> Once in a while a port fails to upgrade, because it wants to write something in /etc. E.g. perl into /etc/make.conf or other ports into /etc/group.
> 
> On my systems / is normally a read only mount. These ports build fine during a portupgrade and fail during install, leaving most of the port installed, but unregistered (i.e. the package database is broken).
> 
> I think such ports should set something like USE_WRITE_SLASH=yes and refuse to install if / is not writeable.

I don't think this is something we should support in ports - that way
lies madness (what about systems with non-writable /var?  What about
systems with /etc on a md? etc).

Kris


More information about the freebsd-ports mailing list