Bug#463763: /etc/init.d/opencryptoki stop does not stop pkcsslotd

2008-07-24 Thread Chaskiel M Grundman
The pkcsslotd.pid file gets the wrong pid, because pkcsslotd forks. So the 
stop script still doesn't work (and its failure complicates upgrades)


whitestar:/var/log# pidof pkcsslotd
whitestar:/var/log# cat /var/run/pkcsslotd.pid
cat: /var/run/pkcsslotd.pid: No such file or directory
whitestar:/var/log# invoke-rc.d opencryptoki start
Starting PKCS#11 slot daemon: pkcsslotd.
whitestar:/var/log# pidof pkcsslotd
24579
whitestar:/var/log# cat /var/run/pkcsslotd.pid
24578
whitestar:/var/log# invoke-rc.d opencryptoki stop
Stopping PKCS#11 slot daemon: invoke-rc.d: initscript opencryptoki, action 
stop failed.





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#463763: /etc/init.d/opencryptoki stop does not stop pkcsslotd

2008-02-02 Thread Chaskiel Grundman
Package: opencryptoki
Version: 2.2.5+dfsg-1
Severity: normal

The stop action of the opencryptoki init script does not successfully stop
pkcsslotd. This is because it passes --pidfile to start-stop-daemon, but
pkcsslotd does not actually create a pid file.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-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/bash

Versions of packages opencryptoki depends on:
ii  adduser 3.105add and remove users and groups
ii  libc6   2.7-6GNU C Library: Shared libraries
ii  libopencryptoki02.2.5+dfsg-1 PKCS#11 implementation for Linux (

opencryptoki recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]