Services and User Management
A custom application exits immediately at startup with only the message "configuration error" and writes no log. The administrator suspects it cannot find a file it needs. Which command shows each file the application tries to open and whether the attempt failed?
Show the answer
Correct answerC. strace -e trace=openat /usr/local/bin/app
strace -e trace=openat prints each file-open system call with its arguments and return value, including ENOENT failures. strace -c only prints a summary table of call counts and errors, so it does not reveal which path failed.