How to set enforcing to 0?

Daniel J Walsh dwalsh at redhat.com
Mon Jan 28 20:26:02 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/28/2013 03:20 PM, Paul Smith wrote:
> On Mon, Jan 28, 2013 at 3:02 PM, Daniel J Walsh <dwalsh at redhat.com> wrote:
>>>>>>>> By running journalctl, I got the following:
>>>>>>>> 
>>>>>>>> kernel: ata1.00 exception emask 0x0 SAct 0x0 action 0x0
>>>>>>>> kernel: ata1.00: BMDMA stat 0x24 kernel: ata1.00: failed
>>>>>>>> command: READ DMA EXT
>>>>>>> 
>>>>>>> ata1.00 is your first hard disk
>>>>>> 
>>>>>> Thanks, Reindl. I only have one hard disk in my computer, which
>>>>>> runs only Fedora 18.
>>>>> 
>>>>> As a consequence of this problem, I cannot boot my computer. This 
>>>>> problem occurred after the last updates, which included 
>>>>> selinux-policy.
>>>> 
>>>> i doubt that HARDWARE errors have anything to do with selinux-policy
>>> 
>>> Thanks again, Reindl. By using smartctl, I get a message similar to the
>>> one below:
>>> 
>>> Error 18 occurred at disk power-on lifetime: 12126 hours (505 days + 6 
>>> hours) When the command that caused the error occurred, the device was 
>>> active or idle.
>>> 
>> Boot your machine with enforcing=0 on the kernel line.  If you still have
>> the problem, then it is probably not SELinux.  If it works, then I would
>> try to relabel.
> 
> 
> Thanks, Daniel. I have meanwhile overcome the problem by re-installing 
> Fedora. Now, everything seems to be working perfectly.
> 
> By the way,
> 
> enforcing=0
> 
> was to be placed in the line that starts with the word
> 
> 'linux',
> 
> right?
> 
> How can one do the relabeling?
> 
> Paul
> 
touch /.autorelabel; reboot

Will cause a relabel at boot, although not necessary now.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEG3toACgkQrlYvE4MpobP2wwCeOsvnnkXjwF4WWzN2QYDWR7B+
Wc0AoK9lmmCpd5po4rI4MQqY54CjkfQD
=d241
-----END PGP SIGNATURE-----


More information about the users mailing list