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

Martin Kosek mkosek at redhat.com
Wed Oct 1 13:16:59 UTC 2014


On 10/01/2014 02:11 PM, Yiorgos Stamoulis wrote:
> 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>
>     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 2735, in install
>     configure_nisdomain(options=options, domain=cli_domain)
>   File "/usr/sbin/ipa-client-install", line 1391, in configure_nisdomain
>     services.knownservices.domainname.restart()
>   File "/usr/lib/python2.7/site-packages/ipaplatform/base/services.py",
> line 270, in restart
>     capture_output=capture_output)
>   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.
> 
> Cheers,
> 
> Yiorgos
> 

Hello Yiorgos,

Yes, this is a known issue that the upstream FreeIPA Copr build for CentOS/RHEL
7.0 has. We track it in this ticket:

https://fedorahosted.org/freeipa/ticket/4562

We would like to fix it within October. If you will be able to help with
patches or testing, we would of course welcome it!

HTH,
Martin




More information about the Freeipa-users mailing list