Bug#1074076: pdns-server: avoid changing permissions of pdns.conf

2024-07-16 Thread Chris Hofstaedtler
On Sun, Jun 23, 2024 at 04:23:34PM +, Michael Gold wrote: > > However, I would agree to running these lines only on install, > > not on every configure. > > That would work for me, although I wonder whether it would need > a postinst script at all--could ownership and mode be set while buildin

Bug#1074076: pdns-server: avoid changing permissions of pdns.conf

2024-06-23 Thread Michael Gold
On Sun, Jun 23, 2024 at 15:14:02 +0200, Chris Hofstaedtler wrote: > dpkg-statoverride is AFAIK not really intended for conffiles. I don't know much about this, except that searching /var/lib/dpkg for 'statoverride' reveals several packages doing it, such as chrony and polkitd. > However, I would

Bug#1074076: pdns-server: avoid changing permissions of pdns.conf

2024-06-23 Thread Chris Hofstaedtler
On Sat, Jun 22, 2024 at 10:05:08PM +, Michael Gold wrote: > While investigating why git kept complaining about the permissions of > /etc/powerdns/pdns.conf, I found that pdns-server.postinst was resetting > them after every upgrade: [..] > chown root:pdns /etc/powerdns/pdns.conf || t

Bug#1074076: pdns-server: avoid changing permissions of pdns.conf

2024-06-22 Thread Michael Gold
Package: pdns-server Version: 4.9.1-1 Severity: wishlist Dear Maintainer, While investigating why git kept complaining about the permissions of /etc/powerdns/pdns.conf, I found that pdns-server.postinst was resetting them after every upgrade: case "$1" in configure)