Engineering / Field note
A systemd manager reload also runs generators
Five fictional review records explain why a manager reload involves executable generators, unit-file precedence and the environment inherited by later services.
A systemd manager reload reruns generators, rereads unit files and rebuilds the dependency tree. That makes it an execution boundary worth naming in a change request, even when the request sounds like housekeeping. The short word reload is carrying quite a substantial job description. [1]
This is established engineering behavior, reviewed on November 23, 2026. We consulted the systemd 262 manuals and Debian Policy 4.7.4.1; those are documentation editions, not affected-version ranges or a new vulnerability announcement. The practical question is whether a proposed change describes the code and configuration it can involve. [1] [5]
The five JSON examples below are original, fictional review notes in an illustrative format. They are neither systemd configuration nor execution receipts. Their invented application and file names describe no real server. Each note records a different question a reviewer can answer before interpreting an operational result.
1. Name the requested operation
systemctl reload asks the named unit to reload its service-specific configuration. systemctl daemon-reload refreshes the manager configuration, including generators and unit definitions. Application support for a service reload is a separate consideration. The first example makes both intents visible instead of compressing them into an ambiguous request to reload things. [1]
{
"fictional_review_note": true,
"proposals": [
{
"operation": "systemctl reload example-app.service",
"scope": "service-specific configuration",
"evidence_needed": "application reload support and result"
},
{
"operation": "systemctl daemon-reload",
"scope": "manager configuration and generators",
"evidence_needed": "selected generators and resulting unit configuration"
}
],
"execution_performed": false
}Our recommendation is to keep that distinction in the approval description and the eventual result. An application owner can then ask about application behavior, while the platform owner can ask about the manager configuration. A familiar verb should help the conversation, rather than hide its subject.
2. Include executable entry points
Unit generators are executables found in designated generator directories. They run at boot and manager configuration reload, before unit files are loaded, and produce units, drop-ins or links. A list containing only familiar service-unit paths therefore describes one part of the mechanism. [2]
Package installation introduces another lifecycle. Debian Policy describes maintainer scripts such as preinst and postinst that the package manager can run during installation or upgrades. Those scripts and a payload generator belong to different review categories; neither category replaces the other. [5]
{
"fictional_artifact": "example-package.deb",
"entries": [
{
"path": "usr/lib/systemd/system/example-app.service",
"role": "unit definition"
},
{
"path": "usr/lib/systemd/system-generators/example-generator",
"role": "generator executable"
},
{
"control_member": "postinst",
"role": "package maintainer script"
}
],
"review_conclusion": "roles identified; execution behavior still requires review"
}We would use this inventory to assign review work, not to declare a package harmless or malicious. A path classification does not establish what a program does. The useful improvement is a concrete question: which executable entry points are present, and what evidence covers each one?
3. Resolve the selected generator
The generator manual gives search directories and precedence for equal names. In that search order, a generator under /run takes precedence over one under /etc. These paths are determined at compilation; check the installed build rather than assuming one directory list describes every distribution. [2]
{
"fictional_inventory": true,
"same_generator_name": "example-generator",
"present_candidates": [
"/run/systemd/system-generators/example-generator",
"/etc/systemd/system-generators/example-generator"
],
"selected_by_documented_search_order": "/run/systemd/system-generators/example-generator",
"claim_boundary": "selection for these stated candidates; no host observation"
}Our interpretation is that artifact identity and selection evidence should travel together. Reviewing one file does not answer whether that file is the selected implementation. The hypothetical note deliberately names its assumptions so that a later inventory can confirm or contradict them.
4. Track generated output separately
Generated unit files have their own positions in the unit load path. Relative to administrator units in /etc and vendor units in /usr/lib, the usual system paths place generator.early above both, generator between them, and generator.late below both. This is an output-priority comparison, distinct from generator executable selection. [3]
{
"fictional_review_note": true,
"usual_system_output_paths": [
{
"path": "/run/systemd/generator.early",
"relative_to_admin_and_vendor": "above both"
},
{
"path": "/run/systemd/generator",
"relative_to_admin_and_vendor": "below administrator, above vendor"
},
{
"path": "/run/systemd/generator.late",
"relative_to_admin_and_vendor": "below both"
}
],
"comparison_scope": "administrator /etc units and vendor /usr/lib units"
}We recommend retaining the selected generator identity, the relevant input identity and the resulting unit path when those facts matter to acceptance. The point is to explain where the effective configuration came from. An archive inventory and an effective-unit observation answer related, but separate, questions.
5. Observe the next process environment
Environment generators are another documented family of executables. The manager runs them at startup and configuration reload, before unit generators. Their output updates the environment used for subsequently started services. A review should identify the manager scope and the later launch whose environment matters, rather than treating every process as one shared observation. [4]
{
"fictional_review_note": true,
"manager_scope": "system",
"mechanism": "environment generator",
"expected_use": "environment supplied to subsequently started services",
"acceptance_questions": [
"Which generator and inputs were selected?",
"What environment did the relevant new process receive?",
"Did the application meet its health criteria?"
],
"observations_recorded": false
}A completed manager operation, a generated configuration file and a healthy application are different observations. Our recommendation is to retain the evidence required for the particular change and state any remaining uncertainty plainly. A command result should not silently become a claim about every later workload.
The documentation gives reviewers a vocabulary for that discussion; it does not establish any individual server’s condition. Match the planned operation to the actual software version, package lifecycle and manager scope. Then make the acceptance claim as specific as the evidence: what was requested, which inputs were selected, and which resulting behavior was observed.
Sources + further reading
Source dates describe the original material. Publication above is the date this Zyel article went live.
- systemd 262: systemctl reload and daemon-reloadsystemd project · Checked Nov 23, 2026
- systemd 262: unit generator lifecycle and selectionsystemd project · Checked Nov 23, 2026
- systemd 262: unit configuration and load pathssystemd project · Checked Nov 23, 2026
- systemd 262: environment generatorssystemd project · Checked Nov 23, 2026
- Debian Policy 4.7.4.1: package maintainer scriptsDebian project · Checked Nov 23, 2026
Reader discussion
What would you ask next?
Questions, useful corrections and thoughtful disagreement are welcome. Comments are reviewed before they appear.
No reader comments yet.