Package: pdnsd
Version: 1.2.7-par-1
Severity: serious

pdnsd stopped responding to requests from tap0 interface after the
package was updated. It appears to be a direct result of Debian policy
violations.

> 10.7.2 Location
>
> Any configuration files created or used by your package must reside
> in /etc. If there are several, consider creating a subdirectory of
> /etc named after your package.
>
> If your package creates or uses configuration files outside of /etc,
> and it is not feasible to modify the package to use /etc directly,
> put the files in /etc and create symbolic links to those files from
> the location that the package requires.

pdnsd uses `/usr/share/pdnsd/pdnsd-resolvconf.conf'. To complicate the
matters, there _is_ `/etc/pdnsd.conf' file, ignored by default package
installation. I am sure that many new pdnsd users edit this file and
are a bit surprised to see no result.

> 10.7.3 Behavior
>
> Configuration file handling must conform to the following behavior:
>
>   * local changes must be preserved during a package upgrade, and
>
>   * configuration files must be preserved when the package is removed,
>     and only deleted when the package is purged.

My /usr/share/pdnsd/pdnsd-resolvconf.conf was silently overwritten
during package update. All local changes[1] were discarded.

  [1] server_ip = any; // access restricted by firewall rules

(That is why tap0 interface got no responses.)

IMO, pdnsd should use /etc/pdnsd.conf by default and preserve local
changes to it.

Thank you.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pdnsd depends on:
ii  adduser                       3.110      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.25     Debian configuration management sy
ii  libc6                         2.7-18     GNU C Library: Shared libraries

Versions of packages pdnsd recommends:
ii  resolvconf                    1.43       name server information handler

pdnsd suggests no packages.

-- debconf information:
* pdnsd/conf: Use resolvconf

-- 
vvv



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

Reply via email to