Hi Martin,

not sure where to file a bug report as this is in limbo between Fedora &
RHEL, so here it is:

enrolling a 4.0.3 RHEL/Centos7 server fails with:

Configuring example.com as NIS domain.
Traceback (most recent call last):
  File "/usr/sbin/ipa-client-install", line 2790, in <module>
  File "/usr/sbin/ipa-client-install", line 2771, in main
    rval = install(options, env, fstore, statestore)
  File "/usr/sbin/ipa-client-install", line 2735, in install
    configure_nisdomain(options=options, domain=cli_domain)
  File "/usr/sbin/ipa-client-install", line 1391, in configure_nisdomain
  File "/usr/lib/python2.7/site-packages/ipaplatform/base/services.py",
line 270, in restart
  File "/usr/lib/python2.7/site-packages/ipapython/ipautil.py", line
346, in run
    raise CalledProcessError(p.returncode, arg_string, stdout)
subprocess.CalledProcessError: Command ''/bin/systemctl' 'restart'
'fedora-domainname.service'' returned non-zero exit status 6

substituting fedora-domainname.service with rhel-domainname.service in
/usr/lib/python2.7/site-packages/ipaplatform/fedora/services.py and
/usr/lib/python2.7/site-packages/ipaplatform/services.py allows the
installation to proceed.


Manage your subscription for the Freeipa-users mailing list:
Go To http://freeipa.org for more info on the project

Reply via email to