initialisation log
Hi,
I use Fedora 8 and just wonder where the messages on the initialisation scripts are recorded that appear when you boot up. That is stuff like nfsd... [OK] sshd... [fail] ... etc I can't locate this in the /var/log/ directory. Would you need to change syslog.conf etc? Your help would be very much appreciated. Yo |
Haven't done this myself but on researching the question because I was curious. I found that you basically need to add a logger line to the start and stop sections of each init script.
Examples I see in /etc/init.d/diskdump: Code:
start_device() { The OK/FAILED actually comes from the functions (see the file invoked at start of init scripts) so to actually see the OK/FAILED itself you'd likely have to modify that function script. Unfortunately I didn't find any examples of anyone doing this. Interestingly on HP-UX they have it setup to go to an rc.log by default but they do it differently than Linux. |
All times are GMT -5. The time now is 12:38 PM. |