Project

General

Profile

Actions

Bug #5443

open

ypinit fails without service/network/nis installed

Added by Marcel Telka almost 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
2014-12-17
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

In a case there is no service/network/nis package installed, the ypinit will fail, for example:

# ypinit -c

In order for NIS to operate sucessfully, we have to construct a list of the 
NIS servers.  Please continue to add the names for YP servers in order of
preference, one per line.  When you are done with the list, type a <control D>
or a return on a line by itself.
        next host to add:  192.168.0.1
        next host to add:  

The current list of yp servers looks like this:

192.168.0.1

Is this correct?  [y/n: y]  
svcadm: Pattern 'network/nis/server:default' doesn't match any instances
svcadm: Pattern 'network/nis/xfr:default' doesn't match any instances
svcadm: Pattern 'network/nis/passwd:default' doesn't match any instances
svcadm: Pattern 'network/nis/update:default' doesn't match any instances
#

The ypinit(1m) is in the system/network/nis package and this package does not require the service/network/nis package, but it probably should.

workaround:

Install the service/network/nis package.

No data to display

Actions

Also available in: Atom PDF