Re: Resetting SELinux to default

Thomas Cameron <[email protected]>
Newsgroups gmane.linux.redhat.fedora.selinux
Message-ID <[email protected]>
On 11/8/18 10:33 AM, Mahmood Naderan wrote:
>>/sbin/fixfiles -F restore >/dev/null 2>&1 
>>so if anything would have been printed, it is redirected to /dev/null.
> 
> 
> 
> 
>>But before we go any further, what are you actually trying to
>>accomplish?
> 
> 
> Earlier I asked about an SELinux prevention message. After running
> "touch /.autorelabel && reboot" I don't see such messages in the log and
> ALSO it seems that the problem has been solved! Because I can upload
> files on the server via browser.

Heh - are you sure you understand the implications of being able to
upload random files to your computer?

> So, I wonder if there are still some messages that are redirected to
> /dev/null

Any SELinux messages should be stored in /var/log/audit/audit.log

You can use tools like ausearch and aureport to see what's going on.

TC
_______________________________________________
selinux mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.