http://defect.opensolaris.org/bz/show_bug.cgi?id=15062

           Summary: NIS can prevent system bringup
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P3
         Component: ON misc
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: clayb+bugzilla at sun.com
         QAContact: nwam-dev at opensolaris.org


--- Comment #0 from Clay Baenziger <clayb+bugzilla at sun.com> 2010-03-08 
00:48:00 UTC ---
On my build 132 SPARC machine, when the NIS server is down systme bring-up is
hung unless I do an 'svcadm disable nis/client'. Upon boot a 'svcs -xv 
svc:/network/service:default' shows:

root at indiana-build-sp:~# svcs -xv svc:/network/service:default
svc:/network/service:default (layered network services)
 State: offline since Sun Mar 07 17:26:32 2010
Reason: Start method is running.
   See: http://sun.com/msg/SMF-8000-C4
   See: man -M /usr/share/man -s 1M ifconfig
   See: /var/svc/log/network-service:default.log
Impact: 27 dependent services are not running:
        svc:/network/dns/client:default
        svc:/milestone/name-services:default
        svc:/milestone/multi-user:default
        svc:/system/boot-config:default
        svc:/system/intrd:default
        svc:/milestone/multi-user-server:default
        svc:/system/zones:default
        svc:/application/graphical-login/gdm:default
        svc:/system/filesystem/autofs:default
        svc:/system/system-log:default
        svc:/network/smtp:sendmail
        svc:/system/fpsd:default
        svc:/network/dns/multicast:default
        svc:/system/avahi-bridge-dsd:default
        svc:/network/sendmail-client:default
        svc:/system/dumpadm:default
        svc:/system/fmd:default
        svc:/network/ssh:default
        svc:/application/pkg/update:default
        svc:/network/http:apache22
        svc:/application/pkg/server:default
        svc:/network/inetd:default
        svc:/system/cron:default
        svc:/network/nfs/mapid:default
        svc:/network/nfs/server:default
        svc:/system/filesystem/reparse:default
        svc:/application/opengl/ogl-select:default

While, nearly all of these services can operate without NIS as my nsswitch.conf
is:
passwd:     files nis
group:      files nis

# consult /etc "files" only if nis is down. 
#hosts:      nis [NOTFOUND=return] files
hosts:      mdns dns nis files

# Note that IPv4 addresses are searched for in all of the ipnodes databases
# before searching the hosts databases.
ipnodes:    mdns nis dns files

networks:   nis [NOTFOUND=return] files
protocols:  nis [NOTFOUND=return] files
rpc:        nis [NOTFOUND=return] files
ethers:     nis [NOTFOUND=return] files
netmasks:   nis [NOTFOUND=return] files
bootparams: nis [NOTFOUND=return] files
publickey:  nis [NOTFOUND=return] files

netgroup:   nis

automount:  files nis
aliases:    files nis

# for efficient getservbyname() avoid nis
services:   files nis
printers:   user files nis

auth_attr:  files nis
prof_attr:  files nis
project:    files nis

To enable SSH and Apache for example, I have to 'svcadm disable nis/client' and
then allow the dependent services to come up so that a 'svcs -xv
svc:/network/service:default' shows all dependencies started:
root at indiana-build-sp:~# svcs -xv svc:/network/service:default
svc:/network/service:default (layered network services)
 State: online since Sun Mar 07 17:42:11 2010
   See: man -M /usr/share/man -s 1M ifconfig
   See: /var/svc/log/network-service:default.log
Impact: None.

And then in anticipation of my NIS server coming back I have to re-enable NIS
with: 'svcadm enable nis/client'. This is a very brittle configuration for
system boot.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

Reply via email to