SUMMARY: starting legacy rc3.d scripts under Solaris 10
2007-12-25 5:47:00
> 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 at 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 at 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---------+
> _______________________________________________
> codeprof mailing list
> codeprof at codeprof.com
> http://www.codeprof.com/execute/ask/?codeinfoid=39243
Comments
Got something to say?
You must be logged in to post a comment.

