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

Re: /run and read-only /etc



This one time, at band camp, Marco d'Itri wrote:
>On Apr 07, Thomas Hood <jdthood0@yahoo.co.uk> wrote:
>
> >  * pam, shadow
> >      Allow either /etc/nologin or /run/nologin to prevent non-root logins
>Use a symlink.
>
> >  * util-linux
> >      Use /run/mtab for mount's statefile
>Use a symlink.

A symlink doens't actually solve the problem of keeping program state files
in /etc.  Luckily the patch to fix both these programs isn't very complex at
all.  See the suite of patches for base-files, mount, util-linux, sysvinit,
and pam (in approxmately that order) at http://spacepants.org/src/patches

Packages with these patches (source, powerpc) are available at
http://spacepants.org/debian/experimental

-- 
jaq@debian.org                               http://people.debian.org/~jaq



Reply to: