[Bug 2084376] Re: [Ubuntu 24.10 Oracular; systemd-sysctl service] File /etc/sysctl.conf is not processed
fprietog
2084376 at bugs.launchpad.net
Wed Oct 16 16:46:45 UTC 2024
I'm sorry but I don't understand your answer. I don't see the relevancy
of the origin or the contents of the /etc/sysctl.conf file; if that file
exists in the system it must be loaded. Otherwise, it's an error.
Apart from Ubuntu installers there are lot's of configuration scripts,
installers, applications, etc... that uses /etc/sysctl.conf as it's a
method stated in every linux manual or book in the world, or even in the
manual page for sysctl.conf shipped by default in Ubuntu. Using
etc/sysctl.d/*.conf snippets is an option but not mandatory.
Yes, you can place a .conf snippet to /etc/sysctl.d/. But it's not a
solution because this should be done every time the /etc/sysctl.conf
contents are modified by any means. It implies additional administration
work because you need to watch it's future changes to convert it... It's
better to just put a symlink and forget about it.
So, in my opinion, the bug here is not related to the contents or the
origin of /etc/sysctl.conf file. The bug is that systemd-sysctl version
255 effectively loaded /etc/sysctl.conf, as expected, but version 256
don't.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2084376
Title:
[Ubuntu 24.10 Oracular; systemd-sysctl service] File /etc/sysctl.conf
is not processed
Status in systemd package in Ubuntu:
Incomplete
Bug description:
Problem summary:
----------------
After upgrading from Noble to Oracular the kernel parameters enclosed in the file /etc/sysctl.conf are not being loaded by systemd-sysctl service.
The problem is that Oracular systemd package
(systemd_256.5-2ubuntu3_amd64.deb) lacks the file
/etc/sysctl.d/99-sysctl.conf that is a simlink to /etc/sysctl.conf, so
that file is not processed at all.
Previous Noble package (systemd_255.4-1ubuntu8.4_amd64.deb) contains
that file (link) so it worked as expected.
Aditional info:
---------------
#lsb_release -rd
Description: Ubuntu 24.10
Release: 24.10
# apt-cache policy systemd
systemd:
Instalados: 256.5-2ubuntu3
Candidato: 256.5-2ubuntu3
Tabla de versión:
*** 256.5-2ubuntu3 500
500 http://archive.ubuntu.com/ubuntu oracular/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2084376/+subscriptions
More information about the foundations-bugs
mailing list