[Freeipa-users] CentOS 6.8: uninstalling IPA client causes python error

Dan.Finkelstein at high5games.com Dan.Finkelstein at high5games.com
Sat Jun 18 10:34:27 UTC 2016


We're rebinding clients from IPA 3 to IPA 4 and two CentOS 6.8 servers are giving us grief. When we try to run the uninstall program via "ipa-client-install --uninstall", we get:

[root at localhost ~]# ipa-client-install --uninstall -U -f
Disabling client Kerberos and LDAP configurations
Unconfiguring the NIS domain.
Redundant SSSD configuration file /etc/sssd/sssd.conf was moved to /etc/sssd/sssd.conf.deleted
Restoring client configuration files
Traceback (most recent call last):
  File "/usr/sbin/ipa-client-install", line 2567, in <module>
    sys.exit(main())
  File "/usr/sbin/ipa-client-install", line 2544, in main
    return uninstall(options, env)
  File "/usr/sbin/ipa-client-install", line 637, in uninstall
    fstore.restore_all_files()
  File "/usr/lib/python2.6/site-packages/ipapython/sysrestore.py", line 222, in restore_all_files
    shutil.copy(backup_path, path)  # SELinux needs copy
  File "/usr/lib64/python2.6/shutil.py", line 84, in copy
    copyfile(src, dst)
  File "/usr/lib64/python2.6/shutil.py", line 51, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/etc/ssh/sshd_config'

The /etc/ssh/sshd_config file seems to have proper permissions (as do the other files), so we're a little stumped why it fails here.

Thanks,
Dan


[cid:image001.jpg at 01D1C92B.760300A0]<http://www.high5games.com/>
Daniel Alex Finkelstein| Lead Dev Ops Engineer
Dan.Finkelstein at h5g.com<mailto:Dan.Finkelstein at h5g.com> | 212.604.3447
One World Trade Center, New York, NY 10007
www.high5games.com<http://www.high5games.com/>
Play High 5 Casino<https://apps.facebook.com/highfivecasino/> and Shake the Sky<https://apps.facebook.com/shakethesky/>
Follow us on: Facebook<http://www.facebook.com/high5games>, Twitter<https://twitter.com/High5Games>, YouTube<http://www.youtube.com/High5Games>, Linkedin<http://www.linkedin.com/company/1072533?trk=tyah>

This message and any attachments may contain confidential or privileged information and are only for the use of the intended recipient of this message. If you are not the intended recipient, please notify the sender by return email, and delete or destroy this and all copies of this message and all attachments. Any unauthorized disclosure, use, distribution, or reproduction of this message or any attachments is prohibited and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20160618/6f02ec80/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4333 bytes
Desc: image001.jpg
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20160618/6f02ec80/attachment.jpg>


More information about the Freeipa-users mailing list