Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545390 - sys-apps/pcsc-lite systemd unit file misses "User=" and "Group=" entries
Summary: sys-apps/pcsc-lite systemd unit file misses "User=" and "Group=" entries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-03 10:09 UTC by robert
Modified: 2022-09-03 22:19 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pcsc-lite-1.8.13-unit-user.patch (pcsc-lite-1.8.13-unit-user.patch,429 bytes, patch)
2015-04-03 16:20 UTC, nE0sIghT
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description robert 2015-04-03 10:09:00 UTC
The "pcscd.service" file of sys-apps/pcsc-lite-1.8.13-r1 has no entries for "User" and "Group". The service is started under the root user. The opnenrc init files start the daemon under "pcscd/pcscd". This should also be the case for systemd.

Regards,

Robert
Comment 1 nE0sIghT 2015-04-03 16:20:05 UTC
Created attachment 400490 [details, diff]
pcsc-lite-1.8.13-unit-user.patch

Here is patch.
Also available in vortex overlay: https://github.com/nE0sIghT/vortex-overlay/commit/85e126aa046499be686699b619fb9938774af7c7
Comment 2 Larry the Git Cow gentoo-dev 2022-09-03 22:19:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c83a787829ad36a5cf7e165769ec5463c22bd60

commit 6c83a787829ad36a5cf7e165769ec5463c22bd60
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-09-03 22:19:50 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-09-03 22:19:50 +0000

    sys-apps/pcsc-lite: run daemon under 'pcscd'
    
    Closes: https://bugs.gentoo.org/545390
    Closes: https://bugs.gentoo.org/845174
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/pcsc-lite-1.9.8-systemd-user.patch       | 14 +++++++++
 ...lite-1.9.8.ebuild => pcsc-lite-1.9.8-r1.ebuild} | 34 ++++++++++++----------
 2 files changed, 33 insertions(+), 15 deletions(-)