Summary: NIS and NFS problem

From: Andreas Höschler <ahoesch_at_smartsoft.de>
Date: Fri Sep 15 2006 - 08:08:46 EDT
Hello all,

> Try to do a svcadm disable autofs if you don't need autofs. That
> should remove the problem.

This hint from Niclas Sodergard was the solution for my problem!

Thanks a lot!

Regards,

   Andreas

>> in my boot script on a Solaris 10 06/06 machine I do
>>
>> #!/bin/sh
>>                                   case "$1" in
>>                                     start)
>>                                   echo "Mounting home dir"
>>                                          /usr/sbin/mount -F nfs
>> merkur:/home /home
>>                                          /usr/lib/netsvc/yp/ypstart
>>                                       ;;
>>
>>                                     stop)
>>                                       echo "Unmounting home dir"
>>                                          umount /home
>>                                          /usr/lib/netsvc/yp/ypstop
>>                                       ;;
>>                                     *)
>>                                       echo "Usage: $0 (start|stop)" 
>> >&2
>>                                       exit 1
>>                                       ;;
>>                                  esac
>>                                  exit 0
>>
>> The mount works when executed alone, but after executing ypstart the
>> mount is gone!? Just exchanging the two lines is not solution either
>> since ypstart returns before its actions are performed. Why is ypstart
>> removing my NFS mount. I have
>>
>>         pico /etc/auto_master
>>
>>         #/home          auto_home       -nobrowse
>>
>> commented out the /home line in auto_master.
>>
>> Thanks,
>>
>>    Andreas
>> _______________________________________________
>> sunmanagers mailing list
>> sunmanagers@sunmanagers.org
>> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Sep 15 08:09:26 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:01 EST