On 8.8.2016 13:48, Petr Spacek wrote:
On 8.8.2016 13:37, Jan Cholasta wrote:

On 8.8.2016 13:22, Petr Spacek wrote:

client: RPM require initscripts to get *-domainname.service


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.


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

Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to