Re: Another systemd annoyance

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

 



2015-01-31 13:52 GMT+02:00 Heinz Diehl <htd+ml@xxxxxxxxxx>:
> Hi,
>
> tried to safely bring down a crashed Fedora 21 machine today, but M-sysrq
> didn't do anything. After bringing the machine up again, the logs showed
> that M-sysrq functionality was disabled. After investigating further, it seemed
> that only Sysrq-S (emergency save) was actually working. In /etc/sysctl.d/01-sysctl.conf,
> "kernel.sysrq=1" was present. It took me nearly 30 min. to find out that systemd
> has it's own sysctl definitions, gladly ignoring/overwriting /etc/sysctl.d. In
> /usr/lib/sysctl.d/50-default.conf, "kernel.sysrq=16" was set, which is what crippled
> full sysrq functionality.
>
> In addition, I'm curious what happens when the next systemd update gets pulled in.
> Most probably, my manual settings will be overwritten with what systemd thinks
> is good for the user..
>

Processing order of files under /etc/sysctl.d/ seems to be such that
files with a high number override files with a low number. If you do
not want your changes to be overridden, I think it would be a good
idea to pick a high number like 90 instead of 01 for the start if your
config file name.

-Joonas
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux