My point is that by default on Ubuntu, /etc/sysctl.conf contains no
active settings; it is only comments. Hence, loading this by default on
Ubuntu would have no effect. If you want to make custom settings, there
are many other supported ways of doing so (like creating a file in
/etc/sysctl.d). I would not recommend changing the files shipped by
default anyways, because they might be overridden on package upgrades.

The reason the symlink was removed is that in future versions of procps
(the package that owns /etc/sysctl.conf), the file /etc/sysctl.conf will
not be shipped at all. Only snippets in /etc/sysctl.d/ will be used.
Since the file (a) has no effect by default on 24.10, and (b) will not
exist in 25.04+, I do not see why we should ship the symlink in the
systemd package.

> Using etc/sysctl.d/*.conf snippets is an option but not mandatory.

For use with systemd-sysctl, using a supported configuration
directory[1] is mandatory.

[1]
https://www.freedesktop.org/software/systemd/man/latest/sysctl.d.html#

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2084376

Title:
  [Ubuntu 24.10 Oracular; systemd-sysctl service] File /etc/sysctl.conf
  is not processed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2084376/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to