RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 790513 - ipa-client-2.1.3-9.el6 does not install policycoreutils as a dependancy
Summary: ipa-client-2.1.3-9.el6 does not install policycoreutils as a dependancy
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Martin Prpič
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: 816317 817402 819996 821895
TreeView+ depends on / blocked
 
Reported: 2012-02-14 18:15 UTC by Dmitri Pal
Modified: 2012-06-19 17:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The ipa-client package does not install the policycoreutils package as its dependency, which may cause install/uninstall issues when using the ipa-client-install setup script. To work around this issue, install the policycoreutils package manually: ~]# yum install policycoreutils
Clone Of:
: 816317 817402 819996 821895 (view as bug list)
Environment:
Last Closed: 2012-06-19 17:43:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dmitri Pal 2012-02-14 18:15:45 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/2368

The yum installation of ipa-client does not ever install policycoreutils as a dependency which causes ipa-client-install to fail.


Traceback (most recent call last):
  File "/usr/sbin/ipa-client-install", line 1292, in <module>
    sys.exit(main())
  File "/usr/sbin/ipa-client-install", line 1279, in main
    rval = install(options, env, fstore, statestore)
  File "/usr/sbin/ipa-client-install", line 1247, in install
    ipaclient.ntpconf.config_ntp(ntp_server, fstore, statestore)
  File "/usr/lib/python2.6/site-packages/ipaclient/ntpconf.py", line 114, in config_ntp
    ipaservices.restore_context(path_step_tickers)
  File "/usr/lib/python2.6/site-packages/ipapython/platform/redhat.py", line 134, in restore_context
    ipautil.run(["/sbin/restorecon", filepath], raiseonerr=False)
  File "/usr/lib/python2.6/site-packages/ipapython/ipautil.py", line 248, in run
    close_fds=True, env=env)
  File "/usr/lib64/python2.6/subprocess.py", line 639, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.6/subprocess.py", line 1228, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Comment 4 Martin Kosek 2012-04-24 11:45:45 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No documentation needed.

Comment 9 Dmitri Pal 2012-04-25 19:25:04 UTC
Deleted Technical Notes Contents.

Old Contents:
No documentation needed.

Comment 11 Martin Kosek 2012-04-30 13:05:19 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: ipa-client does not install policycoreutils package as its dependency
Consequence: When a client machine does not have policycoreutils package installed, there may be install or uninstall issues with ipa-client-install setup script.
Workaround: Install policycoreutils package manually and retry the installation or uninstallation process.
Result: The client is successfully installed or uninstalled.

Comment 12 Dmitri Pal 2012-05-01 15:48:50 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2368

Comment 14 Martin Prpič 2012-05-03 12:26:00 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,4 +1,3 @@
-Cause: ipa-client does not install policycoreutils package as its dependency
+The ipa-client package does not install the policycoreutils package as its dependency, which may cause install/uninstall issues when using the ipa-client-install setup script. To work around this issue, install the policycoreutils package manually:
-Consequence: When a client machine does not have policycoreutils package installed, there may be install or uninstall issues with ipa-client-install setup script.
+
-Workaround: Install policycoreutils package manually and retry the installation or uninstallation process.
+    ~]# yum install policycoreutils-Result: The client is successfully installed or uninstalled.


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