Am 25.03.26 um 18:38 schrieb Jann Horn:
Package: network-manager
Version: 1.54.3

NetworkManager has this code in src/core/dns/nm-dns-dnsmasq.c:

```
argv[argv_idx++] = "--conf-dir=" CONFDIR;
```

This instructs NetworkManager to parse _all_ files in
/etc/NetworkManager/dnsmasq.d/ as config files, including temporary
files created by dpkg during package upgrades (*.dpkg-new, *.dpkg-tmp,
*.dpkg-old, *.dpkg-dist). If files in /etc/NetworkManager/dnsmasq.d/
are managed by a debian package, this can cause dnsmasq to fail to
start during package upgrades, because listing the same options in two
files can cause dnsmasq errors.

Please raise such issues upstream at
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/

If you have a need for package provided configuration files, maybe a better approach is to have a /usr/lib/NetworkManager/dnsmasq.d/, where packages can drop in a file and users/admins can override that via a file of the same name in /etc/NetworkManager/dnsmasq.d.

But as said, this is best discussed upstream.

Regards
Michael

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-utopia-maintainers

Reply via email to