[CentOS] The role of /.autorelabel
Johnny Hughes
mailing-lists at hughesjr.com
Mon Sep 12 23:32:14 UTC 2005
On Mon, 2005-09-12 at 16:28 -0700, Todd Cary wrote:
> How can I make sure SElinux is fully turned off...?
set:
SELINUX=disabled
in /etc/sysconfig/selinux
>
> Todd
>
> Ignacio Vazquez-Abrams wrote:
> > On Mon, 2005-09-12 at 10:30 -0700, Todd Cary wrote:
> >
> > > I could not get vsftpd to start; kept getting the "vsftpd Dead Subsys
> > > Locked" error. On doing a Google search, I came across a fix (lost
> > > the site unfortunately) and as I recall, it has something to do with
> > > copying a file and having the incorrect SElinux settings (I have
> > > SElinux disabled).
> > >
> > > The fix was to do a fixfiles, relabel (commands that I have never
> > > used) or a touch of "/.autorelabel" and rebooting.
> > >
> > > It worked, but I have no idea of what I did (my lack of in depth
> > > knowledge of Linux).
> > >
> >
> > /etc/rc.sysinit checks for the presence of /.autorelabel on startup, and
> > if found it relabels all the files in the filesystem with their default
> > SELinux file context as per the current policy. Obviously you didn't
> > disable SELinux as effectively as you thought...
> >
> >
> >
> > ____________________________________________________________________
> >
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
> --
> Ariste Software
> 200 D Street Ext
> Petaluma, CA 94952
> (707) 773-4523
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20050912/bda6379d/attachment.sig>
More information about the CentOS
mailing list