/etc/default in Fedora

Michał Piotrowski mkkp4x4 at gmail.com
Tue Mar 6 16:38:16 UTC 2012


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



-- 
Best regards,
Michal

http://eventhorizon.pl/


More information about the devel mailing list