Re: How best get rid of SELinux?

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

 



Somebody in the thread at some point said:

>> # touch /.autorelabel
>>
>> and a reboot.  This will make sure your files have the right selinux
>> label, the cause of many problems.

> With all due respect Andy, I probably did that 6 or 7 times.  Not once did it 
> actually fix a problem.

Well that will only fix "a problem" whose cause is a simple mislabelling
or lack of the selinux label.  That has happened to me in the past
upgrading machines with old Fedora versions or ones with filesystems
that had previously been used with selinux=0.  You can also make the
kind of problem this will fix by copying files, say from /var/www/html
to /home and then mv-ing them back.  If your problem is different or
more subtle then naturally it won't help.

Maybe I have been lucky, but I have been able to figure out how to get
around whatever selinux has complained about to me recently.  Only once
did it need a local policy, to get gitweb working.

So because that has been my experience, which I can see has been
different to yours I accept, I am more positive about trying to get it
working.

-Andy


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux