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.
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.
Created attachment 707081 [details] Use standard p11-kit module name and location
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.
Thanks.