Mailinglist Archive: opensuse-bugs (5295 mails)

< Previous Next >
[Bug 836720] domainname on NIS server not set

https://bugzilla.novell.com/show_bug.cgi?id=836720

https://bugzilla.novell.com/show_bug.cgi?id=836720#c10


--- Comment #10 from Achim Mildenberger <admin@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
2013-11-05 16:25:02 UTC ---
Using YaST, everything is fine:
1. /etc/defaultdomain is written
2. The correct maps under /var/yp/<DOMAINNAME> are build.
Sorry, I really wasn't aware of that!
(/usr/share/YaST2/modules/NisServer.ycp is clever and calls /var/yp/Makefile
with an argument that specifies the correct domainname)

Outside of YaST (not using Frederics script):
The domainname is not set. Well, one can really argue, wether the domainname
should be set. I was used to calling the /var/yp/Makefile without any
arguments,
but maybe I should change my habits...

The script of Frederic is fine, if there is a non-empty [Install]-section.
I used:

[Install]
WantedBy=multi-user.target

Without the last line, "systemctl enable domainname.service" complains and does
nothing.

Thanks for your help, Achim

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >