diff --git a/debian/changelog b/debian/changelog index 2485022..a92fbc7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,9 @@ pcsc-lite (1.6.5-1) experimental; urgency=low * New upstream release * debian/rules: do not install pcscd suid root * debian/pcscd.lintian-overrides: removed since no more lintian warnings + * debian/pcscd.init: create $IPCDIR with correct access rights - -- Ludovic Rousseau Sat, 04 Dec 2010 16:54:13 +0100 + -- Ludovic Rousseau Sat, 04 Dec 2010 17:08:21 +0100 pcsc-lite (1.6.4-1) experimental; urgency=low diff --git a/debian/pcscd.init b/debian/pcscd.init index 9ef45f0..c0baa8f 100644 --- a/debian/pcscd.init +++ b/debian/pcscd.init @@ -24,13 +24,20 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="PCSC Lite resource manager" NAME=pcscd DAEMON=/usr/sbin/$NAME -PIDFILE=/var/run/pcscd/$NAME.pid +IPCDIR=/var/run/pcscd +PIDFILE=$IPCDIR/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME # if you need to pass arguments to pcscd you should edit the file # /etc/default/pcscd and add a line # DAEMON_ARGS="--your-option" +# create $IPCDIR with correct access rights +rm -rf $IPCDIR +mkdir $IPCDIR +chgrp pcscd $IPCDIR +chmod g+w $IPCDIR + # DO NOT start the daemon on startup # comment the line to have the same behavior as in version < 1.6.0 exit 0