Bug 919465 - Put opensc p11-kit conf file in better location/name
Summary: Put opensc p11-kit conf file in better location/name
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: opensc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-08 14:38 UTC by Stef Walter
Modified: 2013-03-08 15:40 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-08 15:31:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Use standard p11-kit module name and location (3.71 KB, patch)
2013-03-08 14:39 UTC, Stef Walter
no flags Details | Diff
Use standard p11-kit module name and location (2.83 KB, patch)
2013-03-08 14:42 UTC, Stef Walter
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.