From: Anthony F. <ant...@gm...> - 2013-05-30 21:50:25
|
Florent -- On Thu, May 30, 2013 at 9:50 AM, Florent Deybach <fde...@gm...> wrote: > I am more > interested in preventing pcscd from auto-starting. > Is there a way to do it ? By modifying the pcscd files in > /lib/systemd/system/ ? > However on my Ubuntu 12.04LTS using libpcsclite 1.7.4 and I don't have these > files... If you are talking about pcscd starting automatically when the system boots, then that is a question for your system init framework. I believe that Ubuntu uses "upstart": http://upstart.ubuntu.com/cookbook/#disabling-a-job-from-automatically-starting Other systems use "SysV init scripts" or systemd, which all aim to accomplish the same basic task -- do all the tasks and start all the processes that take a unix-like system from "booted and running one process" to "ready to be used": mounting filesystems, bringing up and configuring network interfaces, starting GUIs or servers, etc. If you're talking about pcscd being started when a token is inserted, this is probably driven by udev (the user-space helper that receives hotplug events from the kernel and acts according to certain rules). In the latter case, you need to modify the udev rules to not start pcscd when the token is inserted. I'm not sure exactly how that is done, but you can start by looking at the package you installed on your machine; it should have the relevant ruleset files. (On my Fedora system, they are stored in /etc/udev/rules.d, but apparently most of the magic is done in the hwdb.bin file there anymore...) If you're trying to do something else, then you'll have to be more specific. Good luck, Anthony Foiani |