It seems /etc/sysctl.conf is not present anymore and, as a consequence, the link is dead QA Notice: Symbolic link /usr/lib/sysctl.d/99-sysctl.conf points to /etc/sysctl.conf which does not exist. Best regards
*** Bug 889338 has been marked as a duplicate of this bug. ***
To eliminate the symlink, we would need some plan to migrate away from /etc/systctl.conf on existing systems.
Maybe it would be possible to drop the symlink when /etc/systctl.conf is not present in the system :/
I guess we could do something like this in pkg_postinst: >if [[ -e ${EROOT}/etc/sysctl.conf ]]; then > ln -snf ../sysctl.conf "${EROOT}/etc/sysctl.d/99-systemd.conf > fi
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e92f7252b53bce0359a7dedbf02d5d6cb3dc1c44 commit e92f7252b53bce0359a7dedbf02d5d6cb3dc1c44 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-07-22 20:48:52 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-07-22 20:48:52 +0000 sys-apps/systemd: create sysctl.d symlink only when /etc/sysctl.conf exists Closes: https://bugs.gentoo.org/885287 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/systemd/systemd-254_rc2.ebuild | 8 +++++--- sys-apps/systemd/systemd-9999.ebuild | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-)