Your message dated Fri, 04 Apr 2008 17:47:40 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#474238: fixed in pcsc-lite 1.4.100-3
has caused the Debian Bug report #474238,
regarding pcscd: LSB init script doesn't depend on hal
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.)
--
474238: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474238
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: pcscd
Version: 1.4.100-2
Severity: normal
Tags: patch
Hello,
From version 1.4.100-2 pcscd depends on hal [1], but the LSB headers in
the init script doesn't show this dependency. This should mean that
when using the dependency based boot [2], pcscd isn't started after hal.
I wrote "should" because while this is true on my sid (/etc/rc2.d/ has
S20pcscd and S21hal), I cannot reproduce it on a minimal cowbuilder
chroot (/etc/rc2.d/ has S12hal and S12pcscd).
The patch is trivial and attached: according to [3], I think
Should-Start/Stop are the correct keywords, because AFAIK hal is
necessary for USB readers only, so PCMCIA ones shouldn't require it
(unfortunately I don't have a PCMCIA one here ATM, so I cannot confirm).
Moreover, pcscd doesn't fail to start if hal isn't present, but it only
print a message:
=====
[EMAIL PROTECTED]:/home/luca# invoke-rc.d pcscd stop
Stopping PCSC Lite resource manager: pcscd.
[EMAIL PROTECTED]:/home/luca# invoke-rc.d hal stop
Stopping Hardware abstraction layer: hald.
[EMAIL PROTECTED]:/home/luca# pcscd -f
00000000 pcscdaemon.c:275:main() pcscd set to foreground with debug \
send to stderr
00000543 pcscdaemon.c:493:main() pcsc-lite 1.4.100 daemon ready.
00120299 hotplug_libhal.c:484:HPRegisterForHotplugEvents() Could not \
initialise connection to hald.
00000014 hotplug_libhal.c:485:HPRegisterForHotplugEvents() Normally \
this means the HAL daemon (hald) is not running or not ready.
[...]
[EMAIL PROTECTED]:/home/luca#
=====
Here's the patch against the SVN repository (tested on my sid):
--8<---------------cut here---------------start------------->8---
Index: debian/changelog
===================================================================
--- debian/changelog (revision 9029)
+++ debian/changelog (working copy)
@@ -1,3 +1,10 @@
+pcsc-lite (1.4.100-3) UNRELEASED; urgency=low
+
+ * debian/pcscd.init: add hal to LSB Should-Start/Stop. Closes: #NNN:
+ "pcscd: LSB init script doesn't depend on hal"
+
+ --
+
pcsc-lite (1.4.100-2) unstable; urgency=low
* debian/control: add Depends: hal. Closes: #472493: "pcscd: must depends on
Index: debian/pcscd.init
===================================================================
--- debian/pcscd.init (revision 9029)
+++ debian/pcscd.init (working copy)
@@ -10,8 +10,8 @@
# Provides: pcscd
# Required-Start: $local_fs $remote_fs $syslog
# Required-Stop: $local_fs $remote_fs $syslog
-# Should-Start: usbmgr udev hotplug
-# Should-Stop: usbmgr udev hotplug
+# Should-Start: usbmgr udev hotplug hal
+# Should-Stop: usbmgr udev hotplug hal
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Daemon to access a smart card using PC/SC
--8<---------------cut here---------------end--------------->8---
Thx, bye,
Gismo / Luca
Footnotes:
[1] http://bugs.debian.org/472493
[2] http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot
[3] http://wiki.debian.org/LSBInitScripts
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages pcscd depends on:
ii hal 0.5.11~rc2-1 Hardware Abstraction Layer
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libccid [pcsc-ifd-handler] 1.3.5-1 PC/SC driver for USB CCID smart ca
ii libdbus-1-3 1.1.20-1 simple interprocess messaging syst
ii libhal1 0.5.11~rc2-1 Hardware Abstraction Layer - share
ii lsb-base 3.2-6 Linux Standard Base 3.2 init scrip
pcscd recommends no packages.
-- no debconf information
pgp1mR84boB0X.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: pcsc-lite
Source-Version: 1.4.100-3
We believe that the bug you reported is fixed in the latest version of
pcsc-lite, which is due to be installed in the Debian FTP archive:
libpcsclite-dev_1.4.100-3_amd64.deb
to pool/main/p/pcsc-lite/libpcsclite-dev_1.4.100-3_amd64.deb
libpcsclite1_1.4.100-3_amd64.deb
to pool/main/p/pcsc-lite/libpcsclite1_1.4.100-3_amd64.deb
pcsc-lite_1.4.100-3.diff.gz
to pool/main/p/pcsc-lite/pcsc-lite_1.4.100-3.diff.gz
pcsc-lite_1.4.100-3.dsc
to pool/main/p/pcsc-lite/pcsc-lite_1.4.100-3.dsc
pcscd_1.4.100-3_amd64.deb
to pool/main/p/pcsc-lite/pcscd_1.4.100-3_amd64.deb
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 pcsc-lite 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: SHA1
Format: 1.7
Date: Fri, 04 Apr 2008 15:32:03 +0200
Source: pcsc-lite
Binary: pcscd libpcsclite-dev libpcsclite1
Architecture: source amd64
Version: 1.4.100-3
Distribution: unstable
Urgency: low
Maintainer: Ludovic Rousseau <[EMAIL PROTECTED]>
Changed-By: Ludovic Rousseau <[EMAIL PROTECTED]>
Description:
libpcsclite-dev - Middleware to access a smart card using PC/SC (development
files)
libpcsclite1 - Middleware to access a smart card using PC/SC (library)
pcscd - Middleware to access a smart card using PC/SC (daemon side)
Closes: 474238
Changes:
pcsc-lite (1.4.100-3) unstable; urgency=low
.
* debian/rules: add --sysconfdir=/etc to correctly generate path in pcscd(8)
manpage
* debian/pcscd.init:
- add hal to LSB Should-Start/Stop. Closes: #474238 "pcscd: LSB init script
doesn't depend on hal"
- remove usbmgr and hotplug from Should-Start: and Should-Stop: since these
packages are no more available in lenny
Files:
6870c00e0c2e7a44e0050fe2ff4be23c 838 misc extra pcsc-lite_1.4.100-3.dsc
f18a8949ce65ee37fd3797d426ad06fd 12645 misc extra pcsc-lite_1.4.100-3.diff.gz
79abe12a9a4ab4cd759e240998ba5180 77300 misc extra pcscd_1.4.100-3_amd64.deb
010092c391cbb75daf92989cf1fe0e8c 58460 libdevel optional
libpcsclite-dev_1.4.100-3_amd64.deb
c8ea5a0d6b47b012c738049483c1ac8f 42686 libs optional
libpcsclite1_1.4.100-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH9mcYP0qKj+B/HPkRAiMgAJ94FoNegqxWoyI+TGSlFPZyQUSERQCggask
CjdxX7Nj4qBgEotujNEKOoM=
=T2o3
-----END PGP SIGNATURE-----
--- End Message ---