[Freeipa-devel] [PATCH 0154] client: RPM require initscripts to get *-domainname.service

Jan Cholasta jcholast at redhat.com
Wed Aug 10 05:39:43 UTC 2016


On 8.8.2016 13:48, Petr Spacek wrote:
> On 8.8.2016 13:37, Jan Cholasta wrote:
>> Hi,
>>
>> On 8.8.2016 13:22, Petr Spacek wrote:
>>> Hello,
>>>
>>> client: RPM require initscripts to get *-domainname.service
>>>
>>> https://fedorahosted.org/freeipa/ticket/4831
>>
>> IIRC there was a task associated with the ticket to investigate if there is a
>> better way of setting the domain name on boot. So... is there?
>>
>> AFAIK we set the domain name using authconfig, shouldn't authconfig be in
>> charge of enabling any required services?
>
> As far as I can tell, this is the way to set NIS domain in RHEL/Fedora.
>
> authconfig cannot set NIS domain only, it does unwanted additional magic like
> enabling rpcbind and ypbind services etc.
>
> Alternative is to drop sysctl file to /etc but I do not like it because it
> would not be the Red Hat standard way of doing NIS domain config.
>
> Opinions?

It looks like the current way of setting the domain name is correct, at 
least on Fedora/RHEL, so ACK. (Since it's platform-specific, we should 
move the code to ipaplatform, but that's another story.)

Pushed to master: 771dea5c6bf1cca7b3756d2f1be48f613de14ceb

-- 
Jan Cholasta




More information about the Freeipa-devel mailing list