ch06 · operator · 95-130 min
logs and systemd services
Read service state, journal evidence, unit files, timers, and daemon reload boundaries.
You can produce a service troubleshooting packet that another operator can trust.
shows: Active, enabled, logs, and unit-file are four independent questions, and that a unit edit needs daemon-reload before systemd acts on it.
does not prove: It shows which checks to run, not their results: a green "active" box is a snapshot, not proof the service is healthy or will survive the next reboot.
Lessons in this chapter
-
ch06/l01
Journal as scoped evidence
journalctl -uFilter logs by unit, boot, priority, and time window. -
ch06/l02
Service lifecycle and enablement
systemctl statusSeparate active state from boot-time enablement. -
ch06/l03
Unit files, timers, and daemon reload
systemctl list-timersKnow where systemd configuration lives and when systemd must reread it.
service troubleshooting packet
Build a packet for a failed or sample service: status, enablement, logs, unit path, suspected failure class, and next action.
DeliverableA concise packet another operator could use without rerunning every command.
Success criteria
- Active and enabled are separate.
- Journal scope is stated.
- Unit edits mention daemon-reload.
Systemd
After your packet separates service state, logs, enablement, and next action.