Package: pcscd
Version: 1.8.11-1
Severity: normal
Hi,
Currently the postinst script of pcscd is explicitly enabling the .socket:
# enable pcscd for systemd
[ -x /bin/systemctl ] && [ -d /run/systemd/system ] && systemctl enable
pcscd.socket
I think that the package should rely on dh-systemd to do the right
thing. It's actually already done:
# Automatically added by dh_systemd_enable
# This will only remove masks created by d-s-h on package removal.
deb-systemd-helper unmask pcscd.socket >/dev/null || true
# was-enabled defaults to true, so new installations run enable.
if deb-systemd-helper --quiet was-enabled pcscd.socket; then
# Enables the unit on first installation, creates new
# symlinks on upgrades if the unit file has changed.
deb-systemd-helper enable pcscd.socket >/dev/null || true
else
# Update the statefile to add new symlinks (if any), which need to be
# cleaned up on purge. Also remove old symlinks.
deb-systemd-helper update-state pcscd.socket >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_systemd_enable
# This will only remove masks created by d-s-h on package removal.
deb-systemd-helper unmask pcscd.service >/dev/null || true
# was-enabled defaults to true, so new installations run enable.
if deb-systemd-helper --quiet was-enabled pcscd.service; then
# Enables the unit on first installation, creates new
# symlinks on upgrades if the unit file has changed.
deb-systemd-helper enable pcscd.service >/dev/null || true
else
# Update the statefile to add new symlinks (if any), which need to be
# cleaned up on purge. Also remove old symlinks.
deb-systemd-helper update-state pcscd.service >/dev/null || true
fi
# End automatically added section
Cheers,
Laurent Bigonville
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages pcscd depends on:
ii init-system-helpers 1.18
ii libc6 2.18-5
ii libccid [pcsc-ifd-handler] 1.4.16-1
ii libpcsclite1 1.8.11-1
ii libudev1 204-10
ii lsb-base 4.1+Debian12
pcscd recommends no packages.
Versions of packages pcscd suggests:
ii systemd 204-10
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]