Re: Odd messages during bootup from gdm

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

 



Gene Heskett wrote:

Except that 4 reboots later I have not succeeded in getting the relabel to work. I've tried SELINUX=disabled and SELINUX=permissive in /etc/selinux/config while leaving the SELINUXTYPE=targeted setting.

So what actually is the magic incantation that will make this work? Your method was ignored, and the manpages method is also being ignored, or is wrong. ISTR the touch /.autorelabel did work once, and the /.autorelabel was auto-removed, but is not now. It still exists right now.
[root@diablo /]# ls -l /.autorelabel
-rw-r--r-- 1 root root 0 May  4 21:13 /.autorelabel




The most sure way for me to relabel the system was to boot with selinux disabled and into runlevel 1. (Add selinux=0 1 to kernel stanza by appending to grub boot line) I then would run 'fixfiles relabel' and also get rid of the contents of /tmp when prompted. I would then reboot the system normally. A drawback is that the system goes into another relabeling since selinux was disabled completely by the above steps.

I have relabeled using touch /.autorelabel and also relabeled by appending autorelabel to the grub stanza. For severe labeling problems, the first choice seems to work best.

Another way to relabel is by changing the setting in system-config-securitylevel. The system should relabel on reboot.

Jim


--
<tausq> Q. What's the difference between Batman and Bill Gates?
<tausq> A. When Batman fought the Penguin, he won.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux