Sign inSign up free

712. Reload a Daemon Without Restarting It

medium 20 XP ~7 minHands-on lab

reportd runs as two processes: the main daemon (its PID is in /run/reportd.pid) and a worker it talks to. The daemon reads /etc/reportd/reportd.conf when it starts, and it reloads that file when it receives SIGHUP. It logs to /var/log/reportd.log.

The team is chasing a bug and needs debug logs now, but a restart would drop the jobs the daemon holds in memory.

Task

  • Set level=debug in the config file.
  • Make the running daemon load it. Its log must show the new level.
  • The daemon must keep its PID (no restart), and the worker must keep running.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

Part of Prepare for the LFCS. Next step: Override a Vendor Unit the Right Way

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.