Package: dnsmasq
Version: 2.62-3+deb7u1
Severity: wishlist

Hi,

While configuring dnsmasq today, I stumbled upon a very annoying
behavior: dnsmasq doesn't ignore files not ending in ".conf" in its
/etc/dnsmasq.d/ configuration directory. I had copied the current config
alongside the original file renaming it with ".old" and it took me some
time to realize that the error message I got when restarting dnsmasq
from now on were because dnsmasq read the two files and found duplicate
configuration options.

The usual way of handling ".d" configuration directories in Debian (to
me, at least) is to only take into account files ending in ".conf", so
that you can have “backup” files or easily ignore some config files.
The current behavior is a bit disturbing when trying to configure
dnsmasq.

I realize that dnsmasq has no easy way of achieving this (it can only
ignore some patterns, not restrict to some pattern), so this may be
difficult to implement, but I'd be glad if someone found a way to “fix”
this.

Thanks,
Benjamin

-- System Information:
Debian Release: 7.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dnsmasq depends on:
ii  adduser       3.113+nmu3
ii  dnsmasq-base  2.62-3+deb7u1
ii  netbase       5.0

dnsmasq recommends no packages.

Versions of packages dnsmasq suggests:
pn  resolvconf  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to