[Pkg-utopia-maintainers] Bug#1131877: Bug#1131877: NetworkManager configures dnsmasq to read all files in /etc/NetworkManager/dnsmasq.d/, including dpkg temporary files

Michael Biebl biebl at debian.org
Wed Mar 25 20:27:18 GMT 2026


Am 25.03.26 um 21:04 schrieb Michael Biebl:
> 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

Let me add here, that I don't see a package in the Debian archive which 
uses /etc/NetworkManager/dnsmasq.d

Can you elaborate a bit more on your uses case / what exactly triggered 
this bug report?

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


More information about the Pkg-utopia-maintainers mailing list