Package: procps
Version: 2:3.3.16-5
Severity: normal

My normal expectation with most things unix/linux is that
administrator-controlled files in /etc supersede package-shipped files in
/lib and /usr/lib.

However, the documented (and AFAICT actual) order of loading sysctl .conf
files is:

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

This makes it super annoying/frustrating to ensure proper configuration as
the settings in the files in /etc/sysctl.d/ can be overridden by almost
everything else.

It seems from the documentation that the intent is to allow the
/etc/sysctl.d/ _files_ to override files of the same name in later
directories, but this is rather confusing and frustrating. If I want to
ensure some limit-style setting is raised to a high enough level, I have to
make sure I know every package-provided file that might adjust that setting,
and manually maintain a copy of every other setting that package provides,
except the limit I want to raise.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'stable'), (490, 
'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages procps depends on:
ii  init-system-helpers  1.58
ii  libc6                2.31-3
ii  libncurses6          6.2+20200918-1
ii  libncursesw6         6.2+20200918-1
ii  libprocps8           2:3.3.16-5
ii  libtinfo6            6.2+20200918-1
ii  lsb-base             11.1.0

Versions of packages procps recommends:
ii  psmisc  23.3-1

procps suggests no packages.

-- no debconf information

Reply via email to