On (20/03/16 13:00), Harald Dunkel wrote:
>Hi Lukas,
>
>On 03/19/16 10:59, Lukas Slebodnik wrote:
>> On (19/03/16 10:38), Harald Dunkel wrote:
>> 
>>> Since freeipa doesn't work with anything else but systemd its a little bit 
>>> cheap now to say "not my problem", is it?
>>> 
>> "freeipa-server" doesn't work with anything else but systemd. and 
>> freeipa-client just configure sssd and few other services.
>> 
>
>Without systemd:
>
>root@lxc31:~# ipa-client-install
>Traceback (most recent call last):
>  File "/usr/sbin/ipa-client-install", line 2790, in <module>
>    sys.exit(main())
>  File "/usr/sbin/ipa-client-install", line 2771, in main
>    rval = install(options, env, fstore, statestore)
>  File "/usr/sbin/ipa-client-install", line 2006, in install
>    ipaclient.ntpconf.check_timedate_services()
>  File "/usr/lib/python2.7/dist-packages/ipaclient/ntpconf.py", line 183, in 
> check_timedate_services
>    if instance.is_enabled() or instance.is_running():
>  File "/usr/lib/python2.7/dist-packages/ipaplatform/base/services.py", line 
> 321, in is_enabled
>    self.service_instance(instance_name)])
>  File "/usr/lib/python2.7/dist-packages/ipapython/ipautil.py", line 321, in 
> run
>    preexec_fn=preexec_fn)
>  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
>    errread, errwrite)
>  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
>    raise child_exception
>OSError: [Errno 2] No such file or directory
>
>
>Of course I understand that writing portable software is a
>difficult task, but is this restriction really necessary, if
>ipa client support is about "just configure sssd and a few
>other services"? Currently I have to install systemd to make
>ipa-client-install work, and later I can move back to sysvinit
>to support HA services.
>
But it's not problem of sssd. And it's not related to you issue with
LXC containers.

It's problem of ipa-client-install

Feel free to send patches which make freeipa-client more portable
http://www.freeipa.org/page/Contribute/Code

LS

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project

Reply via email to