]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
systemd: make /etc/sysctl.conf have real effect ChenQi/systemd-sysctl
authorChen Qi <Qi.Chen@windriver.com>
Thu, 6 Nov 2014 07:26:58 +0000 (15:26 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Thu, 6 Nov 2014 07:26:58 +0000 (15:26 +0800)
commita66c9ed9fe8f4b1524803dd814e62fa606a1c34c
tree4adcd8997038ff0334e4b02e60b4a2790e93d68d
parentd7a277b35bcc67050046c76fb70412101679a545
systemd: make /etc/sysctl.conf have real effect

In systemd, /etc/sysctl.conf is actually ignored by systemd-sysctl,
because this command only examine *.conf files under a bunch of directories
like /etc/sysctl.d or /usr/lib/sysctl.d.

The problem is we are used to configuring kernel parameters in /etc/sysctl.conf,
so it would be really strange if the configuration in that file doesn't have any
effect.

This patch reference Fedora's solution to this problem, creating a symlink to
/etc/sysctl.conf under /etc/sysctl.d/.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/recipes-core/systemd/systemd_216.bb