Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1449525 - Set directory ownership in spec file
Set directory ownership in spec file
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa (Show other bugs)
7.4
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: IPA Maintainers
Scott Poore
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-10 04:34 EDT by Petr Vobornik
Modified: 2017-08-01 05:50 EDT (History)
6 users (show)

See Also:
Fixed In Version: ipa-4.5.0-12.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-01 05:50:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2304 normal SHIPPED_LIVE ipa bug fix and enhancement update 2017-08-01 08:41:35 EDT

  None (edit)
Description Petr Vobornik 2017-05-10 04:34:55 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
Comment 2 Petr Vobornik 2017-05-10 04:35:12 EDT
Upstream ticket:
https://pagure.io/freeipa/issue/6927
Comment 3 Petr Vobornik 2017-05-10 04:38:07 EDT
It is a spec change. No testing or resp. only regression testing is enough.
Comment 6 Scott Poore 2017-05-25 10:54:53 EDT
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
Comment 7 Scott Poore 2017-05-30 11:04:35 EDT
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).
Comment 8 errata-xmlrpc 2017-08-01 05:50:15 EDT
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

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