On Tue, Mar 19, 2013 at 18:17, matteo filippetto wrote:
> Hi,
> 
> what do you think about starting sshd before mount NFS resources?

ssh comes last because users are not allowed onto the system until the system 
is ready.

If your nfs server is that unreliable, use no auto and mount it manually. 


> 
> 
> 
> --- /etc/rc.orig        Thu Mar 14 19:50:29 2013
> +++ /etc/rc     Fri Mar 15 15:38:04 2013
> @@ -387,7 +387,7 @@
> 
> echo -n 'starting early daemons:'
> start_daemon syslogd ldattach pflogd named nsd ntpd isakmpd iked sasyncd
> -start_daemon ldapd npppd
> +start_daemon ldapd npppd sshd
> echo '.'
> 
> if [ X"${ipsec}" != X"NO" ]; then
> @@ -481,7 +481,7 @@
> echo 'preserving editor files.';       /usr/libexec/vi.recover
> 
> echo -n 'starting network daemons:'
> -start_daemon ldomd sshd snmpd ldpd ripd ospfd ospf6d bgpd ifstated
> +start_daemon ldomd snmpd ldpd ripd ospfd ospf6d bgpd ifstated
> start_daemon relayd dhcpd dhcrelay mrouted dvmrpd
> 
> if ifconfig lo0 inet6 >/dev/null 2>&1; then
> 
> 
> because if a NFS mount can't be mounted you can only access your box with
> console...but if you have ssh access you can acces your box and solve the
> problem....
> 
> Regards

Reply via email to