Usually I try not to reboot when fixing ipfilter, ntp, nis, and others and the absence of the Console and Syslog info leave me having to search out a svcs or other option to see what died.
I had repaired about a dozen (and sometimes do so on the fly) /etc/init.d scripts to tell what failed. I generated forced syslog as well as echo to console. Really would be nice to retrieve that ability .. Even if I have to do it for myself, manually per startup, restart, reload, stop. A separate issue: "EXPORTING MESSAGES / SYSLOG without email cut and paste." Here in Navy country we are prohibited from emailing from a Sun. IT IS NOT part of EDS/NMCI where email is permitted. IT WOULD be nice, once opening a ticket to have access to a small upload where we could add the log data to the OnLine Support file via Port 80 or 443 since we can still access the web from our email denied Suns. R / Everett Batey, NSWC PHD A42, CEC Cell (805) 340-6471 SMS Msgs: 8053406471 at tmomail.net Repeat twice: "NMCI is a good idea, NMCI is a good idea." > -----Original Message----- > From: Liane.Praza at eng.sun.com > [mailto:Liane.Praza at eng.sun.com] On Behalf Of lianep at eng.sun.com > Sent: Monday, July 24, 2006 12:55 > To: James Carlson > Cc: Batey, Everett II NAVSEA; Everett Batey; > smf-discuss at opensolaris.org > Subject: Re: [smf-discuss] Fixing the svc...XML files to > restore the login-time notices > > > James Carlson writes: > > Batey, Everett II NAVSEA writes: > > > Re svcadm / XML files .. My intent is to return startup > to the point > > > where the traditional /etc/init.d files (which ran as S00-K99 in > > > /etc/rc.s,1,2,3,4,5.d) could announce to the boot console > or syslog > > > that each feature started, reloaded, or stopped as ordered. > > > > > > Looks like replicating, editing or replacing the > > > svc:/network/.....:default file for each service is the > only way to > > > restore those features. They are Priceless for troubleshooting. > > > > What would this do that either svcs(1M) or booting with the > "-m debug" > > kernel flag would not do? > > "boot -m debug" is unlikely the desired output. Have you > tried booting with "-m verbose"? > > (Prior to S10, you were at the mercy of the shell scripts -- > only some decided to send messages to the console, and none > really sent output to syslog. With -m verbose, SMF > consistently sends a message for each > service.) > > Please try -m verbose and let us know if it has what you're > looking for. > > thanks, > liane > -- > Liane Praza, Solaris Kernel Development > liane.praza at sun.com - http://blogs.sun.com/lianep > >