[Freeipa-users] freeipa 4.0.3 on RHEL/Centos7 calls fedora-domainname.service instead of rhel-domainname.service

Yiorgos Stamoulis yiorgos-lists at stamoulis.eu
Wed Oct 1 12:11:23 UTC 2014

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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20141001/c560249b/attachment.htm>

More information about the Freeipa-users mailing list