Package: ppp
Version: 2.4.8-1+1~exp1
Severity: serious

Hello,

On upgrade, I see dpkg telling me the following:

Obsolete conffile /lib/systemd/system/pppd-dns.service has been modified by you.
Saving as /lib/systemd/system/pppd-dns.service.dpkg-bak ...

Two problems here:

1) I never modified this file
2) This is not a conffile and the file should be removed by the package

In any case, if a user would need to modify a systemd .service file,
they would never modify the file in the (/usr)/lib hierarchy, but in
/etc.

Please drop the following line in ppp.maintscript (AFAIK, that should
never be called on files that are not conffiles):

rm_conffile /lib/systemd/system/pppd-dns.service 2.4.8-1+1~exp1~

Moreover, the package leave dangling symlink
(/etc/systemd/system/multi-user.target.wants/pppd-dns.service) as the
service was enabled before... There are also leftover in
/var/lib/systemd/deb-systemd-helper-enabled.

On update you should call the following commands to make sure all these
files are removed:

if dpkg --compare-versions "$2" le-nl "2.4.8-1+2~"; then
  rm -f /lib/systemd/system/pppd-dns.service.dpkg-bak
  deb-systemd-helper purge pppd-dns.service >/dev/null
  deb-systemd-helper unmask pppd-dns.service >/dev/null
fi

Kind regards,
Laurent Bigonville


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-5-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy

Versions of packages ppp depends on:
ii  libc6           2.31-6
ii  libcrypt1       1:4.4.17-1
ii  libpam-modules  1.3.1-5
ii  libpam-runtime  1.3.1-5
ii  libpam0g        1.3.1-5
ii  libpcap0.8      1.9.1-4
ii  libssl1.1       1.1.1i-1
ii  libsystemd0     247.2-3
ii  procps          2:3.3.16-5

ppp recommends no packages.

ppp suggests no packages.

-- Configuration Files:
/etc/chatscripts/gprs [Errno 13] Permission non accordée: 
'/etc/chatscripts/gprs'
/etc/chatscripts/pap [Errno 13] Permission non accordée: '/etc/chatscripts/pap'

-- no debconf information

Reply via email to