[systemd-devel] Duplicate assignment of kernel/sysrq

Lennart Poettering lennart at poettering.net
Fri Apr 5 09:47:54 PDT 2013


On Tue, 02.04.13 01:28, Tom Gundersen (teg at jklm.no) wrote:

> 
> On Tue, Apr 2, 2013 at 1:14 AM, Reindl Harald <h.reindl at thelounge.net> wrote:
> > can we please get rid of this messages in the syslog?
> > if the values are in sysctl.conf there is a reason and
> > no need to flood the logs with warnings
> >
> > Apr  2 01:08:46 rawhide systemd-sysctl[136]: Duplicate assignment of kernel/sysrq in file
> > '/usr/lib/sysctl.d/50-default.conf', ignoring
> 
> I don't think silently ignoring entries is a good idea, if people want
> to override the default settings they should follow the manpage and do
> that in /etc/sysctl.d/50-default.conf.
> 
> That said, the fact that we are currently parsing /etc/sysctl.conf is
> not documented. Should we either stop doing that, or at least update
> the manpage? FWIW, I'd be in favor of the former.

Tbh I'd always suggest that people drop something into /etc/sysctl.d/
rather than editing /etc/sysctl.conf. That file is mostly read because
it's well established and understood. But in the man pages we tend to
document only what we think is the best way...

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list