On 2024-07-27 10:23:01 +0200, Michel Verdier wrote:
> On 2024-07-26, Vincent Lefevre wrote:
> 
> > The /etc/sysctl.d/99-sysctl.conf symlink has been removed
> > (currently in unstable) *without any announcement*, so that
> > the /etc/sysctl.conf file (which is still documented, BTW)
> > is no longer read.
> >
> > So, be careful if you have important settings there (security...).
> 
> /etc/sysctl.d/README.sysctl recommends to use a separate file such as
> /etc/sysctl.d/local.conf

No, it does *not* recommend anything:

------------------------------------------------------------------------
Files located in this directory can set kernel parameters using the
sysctl(8) or systemd-sysctl(8) tool which is typically run with a
unit/init file started during the boot sequence.

For details regarding the configuration files refer to
sysctl.d(5) or sysctl.conf(5)
------------------------------------------------------------------------

Worse, it refers to the sysctl.conf(5) man page, which lists
/etc/sysctl.conf as the possible files:

       As the /etc/sysctl.conf file is used to override  default  kernel
              ^^^^^^^^^^^^^^^^
       parameter values, only a small number of parameters is predefined
       in the file.  Use /sbin/sysctl -a or follow sysctl(8) to list all
       possible parameters. The description of individual parameters can
       be found in the kernel documentation.

and in the FILES section:

       /etc/sysctl.d/*.conf
       /run/sysctl.d/*.conf
       /usr/local/lib/sysctl.d/*.conf
       /usr/lib/sysctl.d/*.conf
       /lib/sysctl.d/*.conf
       /etc/sysctl.conf
       ^^^^^^^^^^^^^^^^

So I did exactly as the documentation said, and this got broken!!!

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to