Comment 8 for bug 138436

Revision history for this message
AlainKnaff (kubuntu-misc) wrote : nis service slow to start up on server

Binary package hint: nis

Unlike many other distributions, (K)ubuntu uses the same package both for NIS server and NIS client. And unfortunately messes this feat up.

By default, this is configured to start a client, which leads to a very slow package installation, because it will wait for a server, which doesn't exist (... because itself is meant to be the server ...)

Wouldn't it be possible to either
 * split the package in 2 (or in 3: nis-common, nis-server, nis-client). Probably the other distributions are on to something here!
 * ... or, if that is not possible, use a sane default (such as not starting any services by default, until admin chooses one mode in /etc/default/nis ... or while we're at it, why not prompt the user during installation, in the same way like the NIS domain name is prompted for..)

Oddly enough, even after disabling NISCLIENT in /etc/default/nis, it is _still_ slow. Maybe similar design issues exist elsewhere within the package?