[Pkg-utopia-maintainers] Bug#1131877: Bug#1131877: NetworkManager configures dnsmasq to read all files in /etc/NetworkManager/dnsmasq.d/, including dpkg temporary files
Jann Horn
jannh at google.com
Wed Mar 25 20:31:52 GMT 2026
On Wed, Mar 25, 2026 at 9:27 PM Michael Biebl <biebl at debian.org> wrote:
> 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?
Ah, yes, I saw that with a package that doesn't exist in Debian.
More information about the Pkg-utopia-maintainers
mailing list