/etc/default in Fedora

Michał Piotrowski mkkp4x4 at gmail.com
Tue Mar 6 17:04:02 UTC 2012


W dniu 6 marca 2012 17:49 użytkownik Daniel J Walsh <dwalsh at redhat.com> napisał:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 03/06/2012 11:38 AM, Michał Piotrowski wrote:
>> 2012/3/6 Pádraig Brady <P at draigbrady.com>:
>>> On 03/06/2012 04:21 PM, Daniel J Walsh wrote:
>>>> On 03/05/2012 03:20 PM, Michał Piotrowski wrote:
>>>>> Hi,
>>>>
>>>>> I wanted to add "selinux=0" to the kernel command line on
>>>>> F17. I checked /etc/sysconfig/, /etc/grub.d/, next I started
>>>>> to read /etc/grub.d/10_linux (this new grub2 is so user
>>>>> friendly..) and I found ${GRUB_CMDLINE_LINUX}. So I grepped
>>>>> /etc for GRUB_CMDLINE_LINUX. I found file: /etc/default/grub
>>>>
>>>>> Why /etc/default dir is used instead of /etc/sysconfig? To
>>>>> be honest - it's not really user friendly from long time RH
>>>>> Linux user POV.
>>>>
>>>> Just disable SELinux in /etc/selinux/config.
>>>
>>> There are subtle differences with doing that apparently.
>>> http://lists.gnu.org/archive/html/coreutils/2012-02/msg00176.html
>>
>>>
>> Once I had a problem to disable SELinux through
>> /etc/sysconfig/selinux - there was a problem with the policy,
>> systemd releated or something like that. So I use big hammer -
>> selinux=0.
>>
>>>
>>> cheers, Pádraig. -- devel mailing list
>>> devel at lists.fedoraproject.org
>>> https://admin.fedoraproject.org/mailman/listinfo/devel
>>
>>
>>
>
>
> I hope this does not get taken out of context.
>
> SLASHDOT/Dan Walsh says disable SELinux.  :^)
>
> You should try to run with SELinux on or in permissive mode.

Now I have a laptop with CPU that is virtualization capable, so if I
find a little more free time I'll try to prepare configuration on VM.

>
> But if you feel you have to disable SELinux, use the config file.   If
> there are bugs we need to know about them and fix them.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk9WQAQACgkQrlYvE4MpobMoTQCgvbQk8eKnJNcqAkDUrO2WDVJa
> hrIAnR1+2KVLMkD56P5ADtU1dcXWx+Cq
> =3VyF
> -----END PGP SIGNATURE-----



-- 
Best regards,
Michal

http://eventhorizon.pl/


More information about the devel mailing list