Re: autorelabel => reboot loop

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

 



On Sun, Oct 23, 2016 at 12:07:45PM -0700, Robin Lee Powell wrote:
> 
> 
> On Sun, Oct 23, 2016 at 07:54:26PM +0100, Trevor Hemsley wrote:
> > On 23/10/16 19:40, Robin Lee Powell wrote:
> > > This is on a rawhide machine on which I just ran dnf upgrade, touch
> > > /.autorelabel, and rebooted.  It's now stuck in a reboot loop.
> > >
> > > The important part is probably:
> > >
> > > rm: cannot remove '/.autorelabel': Permission denied
> > 
> > Try passing enforcing=0 as part of the kernel parameters.
> 
> If I have to do that, isn't that a bug?

Generally autorelabel works in enforcing mode and you don't need to
switch to permissive. However there can be corner cases when a
filesystem is mislabeled in a way that even init process runs with a
wrong SELinux type and you need to switch to permissive on
boot manually.

Petr
_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux