Summary: | sys-apps/pcsc-lite - 99-pcscd-hotplug.rules should check whether the service is already started before attempting to start it | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maciej S. Szmigiero <mail> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | alonbl, openrc, vincent.hardy.be |
Priority: | Normal | Keywords: | PATCH, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/35892 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | proposed fix |
Description
Maciej S. Szmigiero
2019-05-01 13:04:16 UTC
Created attachment 574908 [details, diff]
proposed fix
Have you followed the instructions and put rc_hotplug="pcscd" in /etc/rc.conf? (In reply to Alon Bar-Lev from comment #2) > Have you followed the instructions and put rc_hotplug="pcscd" in > /etc/rc.conf? I have rc_hotplug="*" in /etc/rc.conf. Please note that this bug is not about a failure to start pcscd service, but about an error that is logged when this service is already running (for whatever reason, for example due to earlier hotplug event) and a new smart card reader gets connected. Hello openrc, We see that: IN_HOTPLUG=1 /etc/init.d/pcscd start Exits with success on first start, then fails as service is already started. Maybe this case openrc should return success as well? Or maybe usage is incorrect... Please advise. Thanks! |