On mån, 2011-10-03 at 09:24 +0200, Ludovic Rousseau wrote:
> 2011/10/3 Peter Eisentraut <pet...@debian.org>:
> > Package: pcscd
> > Version: 1.7.4-2
> > Severity: wishlist
> > Tags: patch
> >
> > Attached is a patch that adds support for the "status" action to the
> > pcscd init script.
> 
> Why do you need this change?

It's a project-wide goal to add this support.

> > Note that I had to move around some code that creates the IPCDIR.  You
> > should do this anyway, because it seems not sensible to remove the
> > directory containing the PID file before executing, say, the stop
> > action.
> 
> pcscd is no more started as a root daemon on startup. The process is
> auto-started when needed. See [1].
> The init script contains an "exit 0" so unless you comment this line
> the script will not do of any start/stop/status command. I guess you
> have not really tested your patch :-)

I have tested it by removing the "exit 0" as instructed in the
script. :)

> The plan is to completely remove this init script and use systemd
> instead. But this migration is not yet ready.

OK, I'm working on dozens of init scripts across many packages, so I
can't take the time to investigate any possible future plans of each one
individually.  If you remove this init script, then please ignore my
submission.  But as long as the init script exists, even if only for
compatibility usage or whatever, please consider including my patch.  As
long as the init script is there, tools like chkconfig will use it for
global status reports and such.





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

Reply via email to