Summary: | systemd-sysctl: earlier files 'override' values in higher files | ||
---|---|---|---|
Product: | systemd | Reporter: | Michał Górny <mgorny> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | redneb |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Michał Górny
2013-08-05 13:04:59 UTC
I just ran into the exact same issue. I want to set kernel.sysrq=1 overriding the value from /usr/lib/sysctl.d/50-default.conf but because of the duplicate assignment restriction my only choice is to copy the supplied file to /etc/sysctl.d and modify it there. But then I will lose all future updates that systemd is going to do in /usr/lib/sysctl.d/50-default.conf. (In reply to comment #1) > I just ran into the exact same issue. I want to set kernel.sysrq=1 > overriding the value from /usr/lib/sysctl.d/50-default.conf but because of > the duplicate assignment restriction my only choice is to copy the supplied > file to /etc/sysctl.d and modify it there. But then I will lose all future > updates that systemd is going to do in /usr/lib/sysctl.d/50-default.conf. You can also set it in /etc/sysctl.conf which overrides everything else. Commit 04bf3c1a [1] contains a fix for that issue so hopefully this will be fixed in systemd-207. I tried it with the gentoo live ebuild and it works. [1] http://cgit.freedesktop.org/systemd/systemd/commit/?id=04bf3c1a60d82791e0320381e9268f727708f776 Closing then. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.