Activating selinux: Relabeling before reboot possible?

Axel Thimm Axel.Thimm at ATrpms.net
Mon Jul 31 13:52:56 UTC 2006


On Mon, Jul 31, 2006 at 09:42:43AM -0400, Daniel J Walsh wrote:
> Karsten Wade wrote:
> >On Sat, 2006-07-29 at 16:05 +0200, Axel Thimm wrote:
> >  
> >>Hi,
> >>
> >>I upgraded an old system to FC5. Now I'd like to get selinux running,
> >>but I know that once I do it will relable the system upon
> >>reboot. Since this is a production system I'd like to keep downtime as
> >>low as possible.
> >>
> >>Can I relabel the system before the reboot or skip relabeling the
> >>system upon reboot and relabel on the fly later? If yes, how? :=)
> >>    
> >
> >  
> It will only do this on the initial boot.  Not on every reboot.

Yes, I was aware of that, the relabeling tool > 5 hours. I rm'd
.autorelabel and did it by hand after the reboot.

> >I probably know only the "old" method here.
> >
> >restorecon would work, applied against the entire filesystem; the man
> >page is helpful.
> >
> >You can see all the helpful commands here:
> >
> >http://fedoraproject.org/wiki/SELinux/Commands
> >
> >- Karsten
> >  
> >------------------------------------------------------------------------
> >
> 

-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-selinux-list/attachments/20060731/9cccf40b/attachment.sig>


More information about the fedora-selinux-list mailing list