[Pkg-freeipa-devel] Bug#851158: ipa-client-install fails, if systemd is missing

Harald Dunkel harald.dunkel at aixigo.de
Thu Jan 12 14:47:18 UTC 2017


Package: freeipa-client
Version: 4.3.2-5

ipa-client-install dies, if systemd is not installed:

root at stretch1:~# ipa-client-install --hostname `hostname` --no-ssh --no-sshd --no-nisdomain
Traceback (most recent call last):
  File "/usr/sbin/ipa-client-install", line 3114, in <module>
    sys.exit(main())
  File "/usr/sbin/ipa-client-install", line 3095, in main
    rval = install(options, env, fstore, statestore)
  File "/usr/sbin/ipa-client-install", line 2236, in install
    ipaclient.ntpconf.check_timedate_services()
  File "/usr/lib/python2.7/dist-packages/ipaclient/ntpconf.py", line 193, in check_timedate_services
    if instance.is_enabled() or instance.is_running():
  File "/usr/lib/python2.7/dist-packages/ipaplatform/base/services.py", line 353, in is_enabled
    self.service_instance(instance_name)])
  File "/usr/lib/python2.7/dist-packages/ipapython/ipautil.py", line 443, in run
    preexec_fn=preexec_fn)
  File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


Installing systemd-shim did not help. AFAICS services.py is looking
for "systemctl", i.e. systemd.


Regards
Harri



More information about the Pkg-freeipa-devel mailing list