Your message dated Wed, 02 Jul 2008 10:17:07 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#459683: fixed in opencryptoki 2.2.5+dfsg-2 has caused the Debian Bug report #459683, regarding checks for /var/lib/opencryptoki directories in initscript is broken 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.) -- 459683: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459683 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: opencryptoki Version: 2.2.4.1+dfsg-2 In /etc/init.d/pkcsslotd, the code: if [ ! -d /var/lib/opencryptoki/tpm ] && [ -d /var/lib/opencryptoki/swtok ] then /usr/sbin/pkcs11_startup else echo "device not ready yet, aborting." exit 0 fi This causes opencryptoki to fail to startup if the tpm token is in use, and it causes the tpm to fail to startup if the swtok is not in use, both valid scenarios. I think the right test is to see if the directory /var/lib/opencryptoki has any subdirectories, and only if there are none to run pkcs11_startup. Something like: if [ 0 -ge $(find /var/lib/opencryptoki/ -maxdepth 1 -mindepth 1 -type d | wc -l) ]; then /usr/sbin/pkcs11_startup fi And don't even bother with the "device not ready yet, aborting" part. Thanks, David Smith -- man perl | tail -6 | head -2
signature.asc
Description: This is a digitally signed message part.
--- End Message ---
--- Begin Message ---Source: opencryptoki Source-Version: 2.2.5+dfsg-2 We believe that the bug you reported is fixed in the latest version of opencryptoki, which is due to be installed in the Debian FTP archive: libopencryptoki-dev_2.2.5+dfsg-2_i386.deb to pool/main/o/opencryptoki/libopencryptoki-dev_2.2.5+dfsg-2_i386.deb libopencryptoki0_2.2.5+dfsg-2_i386.deb to pool/main/o/opencryptoki/libopencryptoki0_2.2.5+dfsg-2_i386.deb opencryptoki-dbg_2.2.5+dfsg-2_i386.deb to pool/main/o/opencryptoki/opencryptoki-dbg_2.2.5+dfsg-2_i386.deb opencryptoki_2.2.5+dfsg-2.diff.gz to pool/main/o/opencryptoki/opencryptoki_2.2.5+dfsg-2.diff.gz opencryptoki_2.2.5+dfsg-2.dsc to pool/main/o/opencryptoki/opencryptoki_2.2.5+dfsg-2.dsc opencryptoki_2.2.5+dfsg-2_i386.deb to pool/main/o/opencryptoki/opencryptoki_2.2.5+dfsg-2_i386.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. Daniel Baumann <[EMAIL PROTECTED]> (supplier of updated opencryptoki 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.8 Date: Wed, 2 Jul 2008 11:51:00 +0200 Source: opencryptoki Binary: opencryptoki opencryptoki-dbg libopencryptoki0 libopencryptoki-dev Architecture: source i386 Version: 2.2.5+dfsg-2 Distribution: unstable Urgency: high Maintainer: Daniel Baumann <[EMAIL PROTECTED]> Changed-By: Daniel Baumann <[EMAIL PROTECTED]> Description: libopencryptoki-dev - PKCS#11 implementation for Linux (development) libopencryptoki0 - PKCS#11 implementation for Linux (library) opencryptoki - PKCS#11 implementation for Linux (daemon) opencryptoki-dbg - PKCS#11 implementation for Linux (debug) Closes: 459683 463593 463760 463763 463764 481453 Changes: opencryptoki (2.2.5+dfsg-2) unstable; urgency=high . * Adding dh_link call in rules in order to get symlinks policy compliant. * Calling pkcs11_startup unconditionally in initscript (Closes: #459683). * Adding patch to the executables to open libopencryptoki with soname major (Closes: #463593). * Adding build-conflicts against automake1.9 (Closes: #463760). * Using less alarming 'skipping' rather than 'aborting' when not starting the daemon through the initscript. * Avoiding doublicated start-stop-daemon calls in restart section of the initscript. * Correcting start-stop-daemon call in order to create and use a pidfile in the initscript (Closes: #463763). * Updating cross handling in rules. * Moving soname-independent symlinks for private library modules from libopencryptoki-dev to libopencryptoki0 (Closes: #481453). * Updating to standards 3.8.0. * Reordering rules file. * Using lintian debhelper to install lintian overrides. * Rewriting copyright file in machine-interpretable format. * Adding vcs fields in control file. * Upgrading package to debhelper 7. * Reverting config.guess and config.sub to upstream. * Don't fail on removing non-empty group in postrm (Closes: #463764). Checksums-Sha1: 53f29b88737a10909cc4d60c3c1539318b8fe5c8 1298 opencryptoki_2.2.5+dfsg-2.dsc b2ea50b453fc0f4043cbb55fca4376b686b32ca2 10610 opencryptoki_2.2.5+dfsg-2.diff.gz 81e5d76570db40298b386961d2230db056b477af 47764 opencryptoki_2.2.5+dfsg-2_i386.deb c6d8964408bd4b3a55b92b8d28aaa5fc1fc1e4e7 440838 opencryptoki-dbg_2.2.5+dfsg-2_i386.deb 03f487f623cd9ef065118a73dfbbbc0623741c5e 227942 libopencryptoki0_2.2.5+dfsg-2_i386.deb d5aa1fab630698d2ef126b723027b0de431b9d33 27288 libopencryptoki-dev_2.2.5+dfsg-2_i386.deb Checksums-Sha256: 346692e0dfc81f7b9b432177f2d3dae39f9d28935c7afb81b20ea409379366a1 1298 opencryptoki_2.2.5+dfsg-2.dsc 082d1b5959f335cd9aae7e88cd81a28b41dd33a0d5751467cd57243629dfb174 10610 opencryptoki_2.2.5+dfsg-2.diff.gz 3a62ef255db7b119711699de2db16c5d0d3963bc4bebac3766301487d7902ef4 47764 opencryptoki_2.2.5+dfsg-2_i386.deb 239ecb07409e61758c16ff84607142b35ecbd3a874211ab04e74195979de49c9 440838 opencryptoki-dbg_2.2.5+dfsg-2_i386.deb 1cce2551e837ae616965df90ca5d25527d6f4b35fd4de341ebd70318347dcc15 227942 libopencryptoki0_2.2.5+dfsg-2_i386.deb 563f3bd07fa60a6b0226097f5ea5b137882a5924a8e60abc900d37099a7e86e9 27288 libopencryptoki-dev_2.2.5+dfsg-2_i386.deb Files: cc3732d13fb43d9b77d88833425ca914 1298 admin optional opencryptoki_2.2.5+dfsg-2.dsc 9d90d04bc64c5139090e93645d6e9dcd 10610 admin optional opencryptoki_2.2.5+dfsg-2.diff.gz c713779d7fe9599bc5d72f46ef797c77 47764 admin optional opencryptoki_2.2.5+dfsg-2_i386.deb 510c5eb3ce189ca0e9cabb28d2c398d3 440838 libdevel extra opencryptoki-dbg_2.2.5+dfsg-2_i386.deb 501a8a756b04d65a09e87ec07e9e916a 227942 libs optional libopencryptoki0_2.2.5+dfsg-2_i386.deb cf45e8be2551db843088cab17cd4a34d 27288 libdevel optional libopencryptoki-dev_2.2.5+dfsg-2_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkhrUVYACgkQ+C5cwEsrK55eHwCeJuZeyIaqTEjzbbIxh8y+5jen V3AAnj68l1dDgKaI6quXERX4P4coST0y =Eipx -----END PGP SIGNATURE-----
--- End Message ---

