Skip to content

fix(packaging): declare user lodge in the sysusers.d entry - #22

Merged
bketelsen merged 1 commit into
mainfrom
irulan/sysusers-user-lodge
Oct 28, 2026
Merged

bketelsen merged 1 commit into
mainfrom
irulan/sysusers-user-lodge

Conversation

@frostyard-machines

Copy link
Copy Markdown
Contributor

Every app daemon calls the kit's lodgeapp.LoadEnv, which looks up user lodge. On a host with this app's sysext but not lodge's, the user does not exist and the daemon loops with unknown user lodge. Brian decided (snosi T401a, 2026-10-28) that each suite sysext declares the user, so the daemons run without the lodge feature.

  • The sysusers.d entry appends user lodge's line, byte-identical to lodge's packaging/sysusers.d/lodge.conf. Identical lines are deduplicated; different lines would make systemd-sysusers warn and keep the first.
  • The packaging test fails when the staged entry lacks that exact line.
  • Docs that list the entry's lines say so.

Checked with systemd-sysusers 262 --root --dry-run: this file alone, and with lodge's and the other 3 apps' entries, creates user lodge in group lodge with no warning. make check passes.

Companion PRs: lodge (contract and check), frostnotes, frostmail, frostread, porter.

lodgeapp.LoadEnv looks up user lodge, so the daemon needs it without lodge's sysext (snosi T401a). The line is byte-identical to lodge's packaging/sysusers.d/lodge.conf.
@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Oct 28, 2026
@bketelsen
bketelsen merged commit d1c8631 into main Oct 28, 2026
5 checks passed
@bketelsen
bketelsen deleted the irulan/sysusers-user-lodge branch October 28, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants