Red Hat Bugzilla – Bug 790513
ipa-client-2.1.3-9.el6 does not install policycoreutils as a dependancy
Last modified: 2012-06-19 13:43:50 EDT
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
Fixed upstream: master: https://fedorahosted.org/freeipa/changeset/e9ed7f7ca1948c1eded115f215b914987b79cea7 ipa-2-2: https://fedorahosted.org/freeipa/changeset/61f7a66a5846d65387f885c6fe5f8c1ab2f7deda
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.
Deleted Technical Notes Contents. Old Contents: No documentation needed.
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.
Upstream ticket: https://fedorahosted.org/freeipa/ticket/2368
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.