[Pkg-systemd-maintainers] Bug#725422: marked as done (systemd set kernel.sysrq=16)

Michael Biebl biebl at debian.org
Mon Feb 17 12:19:43 GMT 2014


Ben, you just closed the bug again. I assume this was by accident?

Am 17.02.2014 11:45, schrieb Debian Bug Tracking System:
> On Wed, 2013-11-27 at 20:19 +0100, Michael Stapelberg wrote:
>> > Hi Goffredo,
>> > 
>> > Goffredo Baroncelli <kreijack at gmail.com> writes:
>>>> > >> Solved, the configuration file should be processed *before* the default
>>>> > >> file.
>>>> > >> So I named the file /etc/sysctl.d/01-sysrq.conf.
>>> > >
>>> > > Unfortunately the things are even more complex. Recently systemd changed
>>> > > behaviour: with the latest version (207) the configuration must be
>>> > > processed after the systemd default file: so the file will must be named
>>> > > /etc/sysctl.d/99-sysrq.conf.
>> > Thanks for the heads-up.
>> > 
>> > >From the discussion I take it that there is no actual bug here, so I’m
>> > closing this report.
> There is a bug.  You should not ship /usr/lib/sysctl.d/50-default.conf .
> 
> The default sysrq mask was reviewed some years ago by the kernel
> maintainers and a sensible default (not 1) is set in official kernel
> packages.  This should not be overridden just because people switch to
> systemd; nor should anyone else's customisation in /etc/sysctl.conf or
> kernel build config.

The downside of this approach obviously is, that as soon as you switch
kernels (e.g. use a self-compiled one), this setting changes.
So explicitly setting the sysrq key imho has benefits.

Do you remember, why you decided against using a sysctl.d snippet?

Let me also add, that custom modifications, if done via /etc/sysctl.conf
should be preserved, i.e. once [1] is fixed

Do you also happen to remember where this discussion happened so we have
some reference for this bug report.

Michael

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737184
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140217/be4638aa/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list