SSH logins disabled due to failed mount during boot

we had a Solaris 10 system that was rebooted, and one of the vfstab file's entries did not get mounted due to the moving about of resources. However, this simple failure to mount an unimportant resource caused SSH to stop functioning! This left the normal user unable to ssh into this system.

Got in via RSC and while trying to restart the ssh daemon we noted the 'svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed:' error message and were able to resolve the issue by simply commenting out the line in vfstab that was unable to mount. This immediately allowed us to restart the ssh daemon.

My question is whether the svc:/system/filesystem/local:default service, which is a dependency of the ssh service, can be set to something other than 'require all'. This way a failed mount would not cause the ssh login to fail.

How are the properties such as 'require all' for any given service changed?

[949 byte] By [ghostdance] at [2007-11-26 9:41:41]
# 1

I think you can simply remove that dependency from the /var/svc/manifest/network/ssh.xml file.

Just make a backup of the file and test it on a non production box before making it a permanant solution.

I think some of the dependencies that Sun put into this manifest are not realy DEPENDENCIES and can be removed. You need to have a network interface and you need to have the File system where ssh is loaded mounted but not ALL filesystems have to be available for sshd to function.

Viper_6969 at 2007-7-7 0:40:29 > top of Java-index,Solaris Operating System,Solaris 10 Features...