On 04/28/2013 04:10 PM, Andrey Borzenkov wrote:
В Sun, 28 Apr 2013 12:07:41 +0200 Andrea Turrini
пишет: Hi all,
I have noticed that sysrq is disabled in oS 12.3 since /proc/sys/kernel/sysrq contains 0.
The only files containing kernel.sysrq are /etc/sysctl.conf and /lib/sysctl.d/sysctl.conf so following the comment in /etc/sysctl.conf I have created /etc/sysctl.d/sysctl.conf with content
kernel.sysrq = 176
After a reboot, /proc/sys/kernel/sysrq still contains 0.
The only way I have found for enabling sysrq is to comment out the relative line in /etc/sysctl.conf, even if this is not the expected way.
/etc/sysctl.conf has priority over all other sources.
So the comment in such file is wrong. It says: # To disable or override a distribution provided file just place a # file with the same name in /etc/sysctl.d/ and since /etc/sysctl.conf is distribution provided (by procps), it has to be overridden by the file sysctl.conf in /etc/sysctl.d/ Otherwise, as pointed out in
what is benefit of having /etc/sysctl.d? Best, Andrea -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org