Bug 1017166 - pcscd not listen in YaST2 services, though pcsc-lite installed
pcscd not listen in YaST2 services, though pcsc-lite installed
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: YaST2
Leap 42.2
Other openSUSE 42.2
: P5 - None : Normal (vote)
: ---
Assigned To: YaST Team
Jiri Srain
https://trello.com/c/oOIBL9bk
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-12-23 15:59 UTC by Mindaugas Baranauskas
Modified: 2018-10-26 07:35 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mindaugas Baranauskas 2016-12-23 15:59:19 UTC
I installed pcsc-lite and other pcsc-* packages.
pcsc-lite contains 
/usr/lib/systemd/system/pcscd.service
/usr/lib/systemd/system/pcscd.socket
but pcscd not listen in YaST2 services
Comment 1 Imobach Gonzalez Sosa 2017-01-03 13:08:01 UTC
The problem is that the state of pcscd service is "indirect" and that's not handled properly by YaST.

I'm adding this bug to our SCRUM incoming board so we can plan for it.
Comment 2 Stefan Schubert 2017-01-24 12:58:36 UTC
A fix is in review:
https://github.com/yast/yast-services-manager/pull/117/files
Maint. team would you like to have a maint. update ?
Comment 3 Stefan Schubert 2017-01-25 08:31:32 UTC
 pcscd will be shown now in the YaST module
Comment 4 Stefan Schubert 2017-01-25 08:32:35 UTC
Has already been answered in another bug. Thanks !
Comment 5 Swamp Workflow Management 2017-04-28 10:11:20 UTC
SUSE-RU-2017:1123-1: An update that has three recommended fixes can now be installed.

Category: recommended (low)
Bug References: 1012047,1017166,956043
CVE References: 
Sources used:
SUSE Linux Enterprise Server for Raspberry Pi 12-SP2 (src):    yast2-services-manager-3.1.44-5.6.12
SUSE Linux Enterprise Server 12-SP2 (src):    yast2-services-manager-3.1.44-5.6.12
SUSE Linux Enterprise Desktop 12-SP2 (src):    yast2-services-manager-3.1.44-5.6.12
Comment 6 Swamp Workflow Management 2017-05-08 16:15:20 UTC
openSUSE-RU-2017:1202-1: An update that has three recommended fixes can now be installed.

Category: recommended (low)
Bug References: 1012047,1017166,956043
CVE References: 
Sources used:
openSUSE Leap 42.2 (src):    yast2-services-manager-3.1.44-20.3.1
Comment 7 Martin Vidner 2017-08-18 15:24:42 UTC
(In reply to Imobach Gonzalez Sosa from comment #1)
> the state of pcscd service is "indirect" 

There is no such thing as "the state". systemd distinguishes several kinds of states. For example

# systemctl show pcscd.socket pcscd.service| grep -E State\|Id\|^$
Id=pcscd.socket
LoadState=loaded
ActiveState=active
SubState=running
UnitFileState=disabled

Id=pcscd.service
LoadState=loaded
ActiveState=active
SubState=running
UnitFileState=indirect

For active/inactive, we are interested in ActiveState.
For enabled/disabled, we are interested in UnitFileState (but it may be "bad", see the other bug 1012047)