Re: SE alert

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

 



Hi,

~ getenforce 
Enforcing

Please be aware that setenforce will only change the mode SELinux is running in. For a permanent change, you have to edit the configuration file.

On Mon, Jul 20, 2015 at 4:32 PM jd1008 <jd1008@xxxxxxxxx> wrote:


On 07/20/2015 12:38 PM, Martin Cigorraga wrote:
> Hi,
>
> I created the file /.autorelabel (# touch /.autorelabel), set SELinux
> to 'enforcing' and (/etc/sysconfig/selinux) and rebooted.
>
> May be I could do it without rebooting as stated in this question:
> https://serverfault.com/questions/453137/how-can-i-do-an-selinux-filesystem-relabel-without-rebooting-firstbut
> before landind there I was unaware of the 'fixfiles' tool :)
>
> HTH, let us know if not.
>
>
> On Mon, Jul 20, 2015 at 3:31 PM jd1008 <jd1008@xxxxxxxxx
> <mailto:jd1008@xxxxxxxxx>> wrote:
>
>
>
>     On 07/20/2015 12:23 PM, Martin Cigorraga wrote:
>     > Hello folks,
>     >
>     > It happened to me too that about a week or so ago SELinux
>     > automatically turned to 'Permissive' with an upgrade of
>     > selinux-related packages, I had to relabel everything to get things
>     > back to its previous state.
>     >
>     > Although I didn't delve in the issue at that moment I will keep
>     an eye
>     > on this issue should it happens again.
>     >
>     > Cheers,
>     > -Martín
>     >
>     >
>     >
>     >
>     >
>     >
>     >
>     So how did yo set it back to Enforcing?
>
After I executed
setenforce Enforcing
touched /.autorelabel and rebooted,
during the reboot, the labeling was taking place, and I saw
3 messages, which I cannot see anywhere in /var/log.
The messages included that plymouthd killed systemd
and that some file or directory in /lib/modules/ had too many
symlinks or some such, and the relabeling died at when it was at about 13%.

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux