Delay during installation of master server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nis (Debian) |
Fix Released
|
Unknown
|
|||
nis (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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?
Changed in nis: | |
status: | Unknown → New |
Changed in nis (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in nis (Debian): | |
status: | New → Fix Released |
On Wed, Jun 30, 2004 at 11:06:31AM +0200, Petter Reinholdtsen wrote:
> Please split /etc/init.d/nis into /etc/init.d/ypserv and
> /etc/init.d/ypbind to make it possible to restart only the server or
> only the client part of NIS.
I had some vauge thoughts that it might be best to split the entire NIS
package into separate server and client parts - they are distinct
upstream and it'd simplify the whole 'do you want to run a server'
thing. I haven't discussed that with Miquel at all, though, or really
thought it through - and it'd be post-Sarge material.
--
"You grabbed my hand and we fell into it, like a daydream - or a fever."