SUMMARY: starting legacy rc3.d scripts under Solaris 10

From: Christopher L. Barnard <cbar44_at_tsg.cbot.com>
Date: Wed Feb 01 2006 - 16:46:33 EST
I asked:

> I initially said that I have a couple of applications from Solaris 8 & 9
> that are started in the /etc/rc3.d directory.  I have verified that they
> work under Solaris 10.  According to the README in the /etc/rc3.d/
> directory, files in there should still be honored.  However, they are not
> being started when I reboot the server.  With Solaris 10, is there
> anything additional I need to do to get these applications started at
> boot?
>
> It turns out I am asking the wrong question.  Looking in
>
> /var/svc/log/milestone-multi-user-server:default.log
>
> (thanks, Casper, for the location of the log file.  I was looking in the
> wrong one) I see that the process is in fact started but rather than echoing
> its status to STDOUT as I expected and then exiting it echoes status to this
> logfile and then exits.  How would I get it to echo to the screen instead?
> echo > /dev/console doesn't do it.

The answer:

It cannot be done with Solaris 10.  This deficiency has been noticed by
many of Sun's customers and will be fixed Real Soon Now.  Right now all
one can do is add the -m flag at the OK prompt to send the output to the
screen for all startup scripts.

+-----------------------------------------------------------------------+
| Christopher L. Barnard         O     When I was a boy I was told that |
| cbarnard@tsg.cbot.com         / \    anybody could become president.  |
| (312) 347-4901               O---O   Now I'm beginning to believe it. |
| http://www.cs.uchicago.edu/~cbarnard                --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+




> +-----------------------------------------------------------------------+
> | Christopher L. Barnard         O     When I was a boy I was told that |
> | cbarnard@tsg.cbot.com         / \    anybody could become president.  |
> | (312) 347-4901               O---O   Now I'm beginning to believe it. |
> | http://www.cs.uchicago.edu/~cbarnard                --Clarence Darrow |
> +----------PGP public key available via finger or PGP keyserver---------+
> _______________________________________________
> 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 Wed Feb 1 16:47:11 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:54 EST