On 4.10.2011 20:53, Alexander Bokovoy wrote:
On Tue, 04 Oct 2011, Jan Cholasta wrote:
On 4.10.2011 13:00, Alexander Bokovoy wrote:
client
Reply-To:

Hi,

attached patch addresses ticket #1770.


ipa-client-install fails with:

Traceback (most recent call last):
   File "/usr/sbin/ipa-client-install", line 1165, in<module>
     sys.exit(main())
   File "/usr/sbin/ipa-client-install", line 1154, in main
     rval = install(options, env, fstore, statestore)
   File "/usr/sbin/ipa-client-install", line 1122, in install
     ipaclient.ntpconf.config_ntp(ntp_server, fstore, statestore)
   File "/usr/lib/python2.7/site-packages/ipaclient/ntpconf.py", line
118, in config_ntp
     sysstore.backup_state(module, "enabled",
ipaservices.knownservices.ntp.enabled())
   File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line
167, in __getattr__
     raise AttributeError('no magic attribute %r' % name)
AttributeError: no magic attribute 'ntp'
Mea culpa. :(

Fixed patch attached.


Now ipa-client-install --uninstall fails with:

Traceback (most recent call last):
  File "/usr/sbin/ipa-client-install", line 1165, in <module>
    sys.exit(main())
  File "/usr/sbin/ipa-client-install", line 1147, in main
    return uninstall(options, env)
  File "/usr/sbin/ipa-client-install", line 339, in uninstall
    restored = fstore.restore_file("/etc/ntp.conf")
File "/usr/lib/python2.7/site-packages/ipapython/sysrestore.py", line 158, in restore_file
    raise ValueError("No such file name in the index")
ValueError: No such file name in the index

Honza

--
Jan Cholasta

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to