Package: pcscd Version: 1.9.5-1 Followup-For: Bug #1001155 Hello,
I just encountered the same problem. Digging into it (and before having found this bug in the BTS) I saw the postinst script of pcscd restarts the daemon twice. Once explicitly in debian/pcscd.postinst: case "$1" in configure|reconfigure) # restart pcscd (PCSC daemon) invoke-rc.d pcscd restart ;; and again later added by dh_installinit/13.5.2: if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then if [ -z "${DPKG_ROOT:-}" ] && [ -x "/etc/init.d/pcscd" ]; then update-rc.d pcscd defaults >/dev/null invoke-rc.d --skip-systemd-native pcscd restart || exit 1 fi fi Even if you consider it a bug to mask pcscd.socket but not pcscd.service (I disagree BTW), I still ask you to remove the explicit call to invoke-rc.d pcscd restart, as the snippet added by dh_installinit should serve the same purpose and this doesn't fail with pcscd.socket masked. The latter invocation of invoke-rc.d is also better as it honors policy 9.3.3 "Maintainer scripts for packages including init scripts must use update-rc.d [...]." So keeping the status quo might even justify a serious severity for this bug. (Note: There is one relevant difference, where I'm unsure if the snippet added by dh_installinit is better: The explicit call also triggers for $1 == reconfigure.) Best regards Uwe