Public bug reported:
Binary package hint: nis
Enterprise environments quite often distribute network settings such as
domain name servers, NTP servers, etc. via DHCP. One of the network
settings that can be distributed this way is the NIS server, via the
nis-domain and nis-servers options in DHCP (see the dhcp-options(5) man
page for a complete list). Also available is nisplus-domain and
nisplus-servers.
On other enterprise Linux desktops like Red Hat Enterprise, the DHCP
client script notices these settings and configures the NIS setup on the
client when they are present (modifying /etc/yp.conf as needed).
On Ubuntu, this is not done currently, so it needs to be done. The
steps needed are the following:
* A new sh script needs to be created in the nis package, /etc/dhclient-
exit-hooks.d/nis This script should check the $reason variable and
either update or reset the /etc/yp.conf file as appropriate. The values
of the options will be available in shell variables. It should also
restart ypbind. For an example of how to do this see the NTP scripts.
* On package install, the /etc/dhclient.conf file needs to be updated to
ask for the above options in the "request" option field. If there's no
good way to do that then I guess we need to request that the
dhcp3-client package be updated to ask for these by default (it
shouldn't hurt anything if we "request" them and they're not there, or
they are there but we have not installed the nis package to handle
them).
** Affects: nis (Ubuntu)
Importance: Undecided
Status: New
--
nis package must provide DHCP client scripts
https://bugs.launchpad.net/bugs/246322
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs