Bug#991479: systemd: /etc/sysctl.d/99-sysctl.conf gets overwritten even with --force-confold

Michael Biebl biebl at debian.org
Sun Jul 25 22:21:21 BST 2021


Control: tags -1 moreinfo

Am 25.07.21 um 13:21 schrieb Franziska Kunsmann:
> Package: systemd
> Version: 247.3-6
> Severity: important
> 
> Dear Maintainer,
> 
> I'm upgrading my systems periodically using:
>      DEBIAN_FRONTEND=noninteractive apt-get -y -q -o Dpkg::Options::=--force-confold dist-upgrade
> 
> The systemd debian package will silently overwrite
> /etc/sysctl.d/99-sysctl.conf with a symlink to /etc/sysctl.conf
> 
> If a user changes 99-sysctl.conf to a regular file and puts some changes
> into that file, these changes will get lost during the upgrade, thus
> possibly breaking systems which depend on those changes.
> 

This is dpkg replacing that file with a symlink. I don't see how systemd 
can change anything about the behaviour of dpkg.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20210725/d957492b/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list