tech-userlevel archive

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

Re: Moving rc.d scripts to base.tgz

On Thu, Apr 14, 2011 at 01:40:39PM +0100, Julio Merino wrote:
> Hello,
> Every time I run etcupdate and notice differences in the rc.d scripts,
> I can't stop wondering why these binaries are part of etc.tgz (other
> than them being in /etc/).

I have confronted this issue myself repeatedly while trying to build
secure systems whose configuration can be updated.  The presence of all
this interpreter input in /etc means one can't safely leave /etc
mounted read-write ("configuration data" can be written) while leaving
the rest of the system mounted read-only ("binaries" can't).

I know it will raise a storm of protest but I would actually like to
see all the shell input in /etc move to a different directory to make
it easier to build systems secured in this way without resorting to
much more complicated solutions such as veriexec.


Home | Main Index | Thread Index | Old Index