[Bug 432008] [NEW] chipcard64 should avoid polling (...every 10 seconds)
Paul Sladen
ubuntu at paul.sladen.org
Thu Sep 17 17:31:56 UTC 2009
Public bug reported:
On default Ubuntu installs a daemon named 'chipcard64' is run, which
sits in the background and polls every 10 seconds by attempting to
'accept()' a socket:
$ sudo strace -r -p 3328
0.000000 select(6, [5], NULL, NULL, {9, 682247}) = 0 (Timeout)
9.683726 accept(5, 0xa06f8a8, [110]) = -1 EAGAIN (Resource temporarily unavailable)
0.000226 select(6, [5], NULL, NULL, {10, 0}) = 0 (Timeout)
10.010503 accept(5, 0xa06f8a8, [110]) = -1 EAGAIN (Resource temporarily unavailable)
0.000152 select(6, [5], NULL, NULL, {10, 0}) = 0 (Timeout)
10.010469 accept(5, 0xa06f8a8, [110]) = -1 EAGAIN (Resource temporarily unavailable)
0.000153 select(6, [5], NULL, NULL, {10, 0}) = 0 (Timeout)
...
Ideally chipcard64 should be switched internally to an asynchronous
model in order to avoid waking up every 10 seconds in order to poll. In
additional, the startup mechanism should ideally be altered to be load
the daemon dynamically via udev when suitable interrupt sources and
events are available and to unload it again upon reader or device
removal.
The daemon should definitely *not* be running if there is no suitable
card reader installed on the machine in question.
** Affects: libchipcard (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- chipcard64 should using polling (once every 10 seconds)
+ chipcard64 should avoid polling (...every 10 seconds)
--
chipcard64 should avoid polling (...every 10 seconds)
https://bugs.launchpad.net/bugs/432008
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list