Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2008 19:40:13 -0700
From:      "Joshua Piccari" <jpiccari@bblocked.org>
To:        freebsd-hackers@freebsd.org
Subject:   Temp files in /etc
Message-ID:  <15d3bc360809051940t70f0b884mb9a80132acc50b45@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,
I am setting up a few jails and I want them all to use the same /etc files
(with the exception of the files related to the password files and
databases), so I mounted a shared /etc folder as a nullfs with read-only
permissions. The problem is that using utilities like pw or chpass create
temporary files in /etc and that file system is mounted read-only.
So is there a way to force any utilities that create temp files in /etc to
use another location, something like /usr/local/etc for example?

~Joshua



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15d3bc360809051940t70f0b884mb9a80132acc50b45>