Package: pcscd
Version: 1.8.4-1
Severity: grave
Tags: patch
Justification: renders package unusable

Dear Maintainer,

   * What led up to the situation?
Upgrade squeeze -> wheezy failed due to the postinstall-script exiting with
error code 1. Exact error code was:

"dpkg: Fehler beim Bearbeiten von pcscd (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1
zurück"

A debug session on irc showed the following problems of the post-install-
scirpt:
a) The pcscd-group was already existing on my computer due to the previous
install. However, it was not a system group at that time. Making the output of
the postinstall-script more verbose, one could see that the script breaks at
that point: ("addgroup: Die Gruppe »pcscd« existiert bereits und ist keine
Systemgruppe. Programmende.").
-> Proposed patch from the IRC-experts: Replace the line
"addgroup --system pcscd --quiet"
 by
"if ! getent group pcscd > /dev/null 2>&1 ; then addgroup --system pcscd
--quiet; fi"

b) the follwoing line seems also to be problematic and the following
replacement was proposed:
Instead of
[ -x /bin/systemctl ] && [ -d /sys/fs/cgroup/systemd ] && systemctl enable
pcscd.socket
rather
if [ -x /bin/systemctl -a -d /sys/fs/cgroup/systemd ]; then systemctl enable
pcscd.socket; fi

The failed upgrade from wheezy -> squeeze breaks the use of chipcardreaders
necessary for homebanking software.

It would be nice to have a fix in the package for the next point release
(7.0.1)



-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pcscd depends on:
ii  adduser                     3.113+nmu3
ii  libc6                       2.13-38
ii  libccid [pcsc-ifd-handler]  1.4.7-1
ii  libpcsclite1                1.8.4-1
ii  libudev0                    175-7.2
ii  lsb-base                    4.1+Debian8

pcscd recommends no packages.

Versions of packages pcscd suggests:
pn  systemd  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to