Vic Engle writes: > I have a system with an internally produced sshd package and an associated > init script wiht start link in /etc/rc2.d. When the system boots it fails to > reach full multi-user milestone because the init script fails to exit after > starting sshd. If I kill the init script then the system reaches the full > multi-user milestone, otherwise it transitions to maintenance upon reaching > it's timeout. > > At that point I can manually run the sshd init script with the start/stop > parameters and it works perfectly. > > Any ideas why a script hangs when exec'd by SMF but works smoothly > interactively? > > Thanks, > Vic > -- > This message posted from opensolaris.org > _______________________________________________ > sysadmin-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss
Does the script depend on some other services? Perhaps these services are not yet available when SMF is starting the system. When you later run the script in multi-user mode the services are then available. You can use truss and pstack on the hung service and perhaps get an idea of why it is stuck. tom _______________________________________________ sysadmin-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss
