Bug 919465

Summary: Put opensc p11-kit conf file in better location/name
Product: [Fedora] Fedora Reporter: Stef Walter <stefw>
Component: openscAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gmazyland, kalevlember, stefw, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-08 15:31:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Use standard p11-kit module name and location
none
Use standard p11-kit module name and location none

Description Stef Walter 2013-03-08 14:38:21 UTC
p11-kit supports a location for administrators to edit and adapt PKCS#11 module conf files in /etc/pkcs11/modules, and a location for packages to install modules to in /usr/share/p11-kit/modules.

Administrators can override settings in the latter location by creating files in the former location with the same name, and putting only the settings they want to change in there.

In addition p11-kit wants module names that look like name.module, and warns about them otherwise. 

Attached is a patch which updates the opensc package for both these changes. It should only be applied to rawhide/f19 and later.

Comment 1 Stef Walter 2013-03-08 14:39:24 UTC
Created attachment 707080 [details]
Use standard p11-kit module name and location

    Use standard p11-kit module name and location
    
     * p11-kit now wants modules to use <name>.module for module
       config files
     * Put the module config file in the non-admin editable
       location supported by p11-kit 0.16.0 and later.
     * Administrators can still override any setting they want
       by creating an opensc.module file in /etc/pkcs11/modules
       and adding only those settings they wish to change.

Comment 2 Stef Walter 2013-03-08 14:42:31 UTC
Created attachment 707081 [details]
Use standard p11-kit module name and location

Comment 3 Tomas Mraz 2013-03-08 15:31:39 UTC
Applied with a minor correction - I've removed the %config(noreplace) from the file as in the new place it shouldn't be regarded as config file.

Comment 4 Stef Walter 2013-03-08 15:40:33 UTC
Thanks.