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:


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.