LFCA · Question #19
Which of the following standard log files would provide the most detailed information on why a recently upgraded custom kernel failed to boot?
The correct answer is B. /var/log/kern.log. The kern.log file contains detailed messages from the Linux kernel, making it the most relevant source for diagnosing kernel boot failures.
Question
Which of the following standard log files would provide the most detailed information on why a recently upgraded custom kernel failed to boot?
Options
- A/var/log/boot.log
- B/var/log/kern.log
- C/var/log/svslog
- D/var/log/auth.log
How the community answered
(61 responses)- A2% (1)
- B95% (58)
- D3% (2)
Why each option
The `kern.log` file contains detailed messages from the Linux kernel, making it the most relevant source for diagnosing kernel boot failures.
`/var/log/boot.log` contains messages from services that start during the boot process, but `/var/log/kern.log` is more specific to kernel-level issues.
The `/var/log/kern.log` file specifically contains messages from the Linux kernel, including information about kernel modules, device drivers, and system core operations, which would be crucial for diagnosing a custom kernel boot failure.
`/var/log/svslog` is not a standard Linux log file; the correct standard file is usually `syslog` or `messages`.
`/var/log/auth.log` records authentication and authorization events, not kernel boot issues.
Concept tested: Linux system logging
Source: https://man7.org/linux/man-pages/man5/syslog.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.