[Freeipa-users] FreeIPA + Foreman 1.5

Martin Kosek mkosek at redhat.com
Fri Apr 25 11:44:32 UTC 2014


On 04/25/2014 01:23 PM, Stephen Benjamin wrote:
...
>> authconfig --nisdomain example.com --update
>> nisdomainname example.com
>>
>> On Fedora or RHEL > 7.0, you would also need to enable systemd service to
>> make
>> the NIS domain name setup persistent:
>>
>> # service rhel-domainname.service start
>> or
>> # service fedora-domainname.service start
> 
> Wow.
> 
> Why was it done that way? It makes it difficult to write
> cross-distro things...

/me sighs. Well, I had exactly same question but I never hear an answer.

> How will we call that on EL clones?

Umh... Maybe:

systemctl start `ls /usr/lib/systemd/system/*-domainname.service | rev | cut
-d'/' -f 1 | rev`

? ;-)

Martin




More information about the Freeipa-users mailing list