Your message dated Fri, 18 Feb 2022 10:33:41 +0000
with message-id <[email protected]>
and subject line Bug#1005939: fixed in ccid 1.5.0-2
has caused the Debian Bug report #1005939,
regarding libccid: invoke-rc.d pcscd restart might fail in postinst
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1005939: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005939
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libccid
Version: 1.5.0-1
Severity: important

Hello,

I currently encounter:

        uwe@taurus:~$ sudo apt install
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        0 upgraded, 0 newly installed, 0 to remove and 626 not upgraded.
        1 not fully installed or removed.
        After this operation, 0 B of additional disk space will be used.
        Setting up libccid (1.5.0-1) ...
        Failed to restart pcscd.service: Unit pcscd.socket is masked.
        invoke-rc.d: initscript pcscd, action "restart" failed.
        ○ pcscd.service - PC/SC Smart Card Daemon
             Loaded: loaded (/usr/lib/systemd/system/pcscd.service; indirect; 
vendor preset: enabled)
             Active: inactive (dead)
               Docs: man:pcscd(8)
        dpkg: error processing package libccid (--configure):
         installed libccid package post-installation script subprocess returned 
error exit status 1
        Errors were encountered while processing:
         libccid
        E: Sub-process /usr/bin/dpkg returned an error code (1)

This is similar to #1001155, but a bit more hairy to fix, because
libccid restarts a service that isn't "owned" by the package.

I think the fix is to not restart pcscd when libccid is updated. Other
libs also don't care for their consumers and it's a well-known (to me at
least) duty to check for binaries using old versions of an updated lib
after a package update.

(Side note: libccid doesn't even transitively depend on pcscd, so I can
even make libccid's postinst fail with:

        invoke-rc.d: unknown initscript, /etc/init.d/pcscd not found.

.)

Best regards
Uwe

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (700, 'testing-debug'), (700, 'stable-security'), (700, 
'stable-debug'), (700, 'testing'), (700, 'stable'), (600, 'unstable'), (500, 
'unstable-debug'), (500, 'oldstable-updates'), (500, 'oldstable-debug'), (500, 
'oldoldstable'), (500, 'oldstable'), (499, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64

Kernel: Linux 5.15.0-3-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libccid depends on:
ii  libc6         2.33-5
ii  libusb-1.0-0  2:1.0.24-3

libccid recommends no packages.

Versions of packages libccid suggests:
pn  pcmciautils  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: ccid
Source-Version: 1.5.0-2
Done: Ludovic Rousseau <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ccid, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ludovic Rousseau <[email protected]> (supplier of updated ccid package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 18 Feb 2022 11:18:25 +0100
Source: ccid
Architecture: source
Version: 1.5.0-2
Distribution: unstable
Urgency: medium
Maintainer: Ludovic Rousseau <[email protected]>
Changed-By: Ludovic Rousseau <[email protected]>
Closes: 1005939
Changes:
 ccid (1.5.0-2) unstable; urgency=medium
 .
   * Fix "invoke-rc.d pcscd restart might fail in postinst" do not fail
     on error (Closes: #1005939)
Checksums-Sha1:
 618bb9eb6bd876123fae83f103a39c4c5742591a 2131 ccid_1.5.0-2.dsc
 5a10b68b91b591cbe83b8fdfd8a87e5ade6293b8 10848 ccid_1.5.0-2.debian.tar.xz
 e279e0c7fab696e829ca5e905aed4e7644034a5f 6275 ccid_1.5.0-2_amd64.buildinfo
Checksums-Sha256:
 844c9eec05474d9724f79ef9ebfb526e098ec48c44ac7099a8b0aec3c4dff12f 2131 
ccid_1.5.0-2.dsc
 4e5e3185e56528e2f45d500938d0f1a3b4cd6a61a52006431e9f79bfdc03d14a 10848 
ccid_1.5.0-2.debian.tar.xz
 93f1b2998ce3b81eeb62eea26a149b0fb48b9272aa89ef57278520d12ea639e7 6275 
ccid_1.5.0-2_amd64.buildinfo
Files:
 c99698a81a9cd35a1a73ccf23f06ef1e 2131 libs optional ccid_1.5.0-2.dsc
 5d4d8413c9df56ab6e52e99c19c331ca 10848 libs optional ccid_1.5.0-2.debian.tar.xz
 8f47ce2f9e6077eed575634769162a51 6275 libs optional 
ccid_1.5.0-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCAAyFiEE9eEbn/6REUb0HZU9eKG03+j5xX4FAmIPcsgUHHJvdXNzZWF1
QGRlYmlhbi5vcmcACgkQeKG03+j5xX5zXg//S3CIz6vIexvJqoCIGCcMYOgpGSeK
N07q2g6FDx7h1frT/lWJLP/tDzVjQERncZv63MGC7ba0XmqxqqmZhDF83L45+P7w
p1zc/mR3w86S5j9O8pqVcWEBaqSOEetYMH7OzZeNg/rytbRGNwmO4NQgE4+z3TF8
NCSp2AIBeMrn11NaG6fWRbWVIfY/KrmL1K/v5dYn4dzy+JAb1gmQvJb8gBr1XmkP
qr0Rh2qDHtgIEJXLJEt4QFg+Ty9Z0XbjW8tq75+9AyvVw4tJ9T/Cps69BHgLGBef
so7d9mDW9EoySF2ANkNWsCXBwivdvxO4PYLwlXUSjRwbQ2Dw+Ckz4u850qyiTwBx
XA5SLZ2n1Eu+XuX5tDh4GZpnYwnz8FeyYEFamHINOByyP88mKyZkuLGNjAdOu8h3
GbEa0ZrogyRdAOAaYzNdhZCJMDvafMHxL3Jz8ctzzgUUjUPwKMMzG7BDtBvaX3pr
jeq5Z+N8da6S1/qcd5qqXNusFOsMPkbmzCG3uVq+wk7thfqDg73FIydXELGm+97Y
bO5s8+bb5NhdbOU7q3vJeOgyPYaU5SaDPOVk8QQHWDvFyoVGfi9xy9fgMXzdWjk6
aKeJQiuNwpmGXxDbG+Gc2on3NCOQh669qh+FmB45F231STrV5ZYl50jP7kGHHhV7
wOm7DSSNjiIEitw=
=pkwL
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to