On Sun, May 31, 2015 at 8:16 AM, Tom Horsley <[email protected]> wrote:
> On Sun, 31 May 2015 07:17:49 -0400, Tom H wrote:
>>
>> While it's true that you usually override a sysctl value with a
>> variable=value pair, symlinking a conf file in "/etc/sysctl.d/" to
>> "/dev/null" overrides a conf file with the same name in
>> "/usr/lib/sysctl.d/" (I've just tried it) in the same way that
>> symlinks to "/dev/null" in "/etc/systemd/system/",
>> "/etc/systemd/network/", and "/etc/udev/rules.d/" override same-named
>> files in their corresponding libdir.
>
> I tried it also, and it had no effect for me, the kernel core name
> file was still the screwy one systemd creates.

Strange, Are you misnaming the file?

I can override a setting in "/usr/lib/sysctl.d/" using a same-named
file in "/etc/sysctl.d/" either by setting the variable to a different
value or by symlinking the file to "/dev/null".

Furthermore, from "man sysctl.d":

If the administrator wants to disable a configuration file supplied by
the vendor, the recommended way is to place a symlink to /dev/null in
the configuration directory in /etc/, with the same filename as the
vendor configuration file.
-- 
users mailing list
[email protected]
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

Reply via email to