Red Hat Bugzilla – Bug 1449525
Set directory ownership in spec file
Last modified: 2017-08-01 05:50:15 EDT
Cloned from upstream: https://pagure.io/freeipa/issue/6927 FreeIPA client package should own `%{python_sitelib}/ipaclient/plugins` directory. There is missing declaration in specfile, which was fixed in 548014f03eeababfd1b49e4bc9ac608633cb9b98 and should be backported to 4.4 and 4.5 Please note that there might be multiple missing directories and we need check missing declarations in specfile. at least I found: * ipaclient/install * ipaclient/remote_plugins * ipaclient/csrgen
Upstream ticket: https://pagure.io/freeipa/issue/6927
It is a spec change. No testing or resp. only regression testing is enough.
Fixed upstream ipa-4-5: https://pagure.io/freeipa/c/3605f8ba9a2545680cd46ff02c282d03f84bb366 https://pagure.io/freeipa/c/5d0975319daa34a16d4163669474af89e987457e
Should these directories also be owned by the packages? [root@rhel7-3 site-packages]# find ipaclient -ls -exec rpm -qf {} \;|grep "is not owned by any package" file /usr/lib/python2.7/site-packages/ipaclient/remote_plugins/2_114 is not owned by any package file /usr/lib/python2.7/site-packages/ipaclient/remote_plugins/2_156 is not owned by any package file /usr/lib/python2.7/site-packages/ipaclient/remote_plugins/2_164 is not owned by any package file /usr/lib/python2.7/site-packages/ipaclient/remote_plugins/2_49 is not owned by any package
Verified. FYI, Martin confirmed that those directories were not necessary for this particular change. Those are dynamic directories not expected to be used for 3rd party plugins. Version :: ipa-server-4.5.0-13.el7.x86_64 Results :: See comment #6 above. Only the remove_plugins/2_* dynamic directories not owned by the package(s).
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2304