You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: pullgate-listen.service has no [Install] section, so enable fails and the listener does not start after a reboot #20
contrib/systemd/pullgate-listen.service in v0.1.0 has no [Install] section. The README says to run systemctl enable --now pullgate-listen.service, but systemd answers:
The unit files have no installation config (WantedBy=, RequiredBy=, UpheldBy=,
Also=, or Alias= settings in the [Install] section ...
It starts the listener now, but the listener does not start after a reboot. Then no question gets an answer until someone starts it by hand.
Found on 2026-11-16, in the first real install of v0.1.0. Workaround: systemctl add-wants multi-user.target pullgate-listen.service.
Proposal
Add to pullgate-listen.service:
[Install]WantedBy=multi-user.target
Done when
pullgate-listen.service has [Install] with WantedBy=multi-user.target.
A CI check runs systemd-analyze verify on every unit in contrib/systemd/, and checks that each unit the README tells you to enable has an [Install] section.
The README says what to do on a host that has the workaround (systemctl remove-wants multi-user.target pullgate-listen.service, then systemctl enable pullgate-listen.service).
Fixed in #24 (squash commit 053d0aa). Evidence for each box:
pullgate-listen.service has [Install] with WantedBy=multi-user.target. See contrib/systemd/pullgate-listen.service at the end.
A CI check runs systemd-analyze verify on every unit in contrib/systemd/, and checks that each unit the README tells you to enable has an [Install] section. CI job "example units": systemd-analyze verify on every unit (this was there before), and the new test/units/install-sections.sh, which reads the systemctl enable lines of the README. The CI job "first run under the units" also runs systemctl enable on the four units as root, and each must then be enabled. On the old unit both failed: FAIL: contrib/systemd/pullgate-listen.service has no [Install] section with WantedBy= and FAIL: pullgate-listen.service: systemctl is-enabled says 'static' after enable, want 'enabled'.
The README says what to do on a host that has the workaround. README, "Update from 0.1.0" → "The listener at boot": systemctl daemon-reload, then systemctl reenable pullgate-listen.service. Note: systemctl remove-wants does not exist (systemd 255 has only add-wants), so the README does not use it. The add-wants workaround made the same link that enable makes now, and reenable removes it and makes it again. Every host updated from 0.1.0 needs this step, with or without the workaround. CI tests these exact steps: the old unit with add-wants, then the new unit, daemon-reload and reenable; the link must exist and is-enabled must say enabled.
Reopened: GitHub closed this on the merge, but the last "Done when" box (the fix is in a released version) is still open. The release PR #18 waits for the owner's OK. Close this after the release.
Activity
groupsky commentedon Nov 16, 2026
Fixed in #24 (squash commit 053d0aa). Evidence for each box:
pullgate-listen.servicehas[Install]withWantedBy=multi-user.target. Seecontrib/systemd/pullgate-listen.serviceat the end.systemd-analyze verifyon every unit incontrib/systemd/, and checks that each unit the README tells you toenablehas an[Install]section. CI job "example units":systemd-analyze verifyon every unit (this was there before), and the newtest/units/install-sections.sh, which reads thesystemctl enablelines of the README. The CI job "first run under the units" also runssystemctl enableon the four units as root, and each must then beenabled. On the old unit both failed:FAIL: contrib/systemd/pullgate-listen.service has no [Install] section with WantedBy=andFAIL: pullgate-listen.service: systemctl is-enabled says 'static' after enable, want 'enabled'.systemctl daemon-reload, thensystemctl reenable pullgate-listen.service. Note:systemctl remove-wantsdoes not exist (systemd 255 has onlyadd-wants), so the README does not use it. Theadd-wantsworkaround made the same link thatenablemakes now, andreenableremoves it and makes it again. Every host updated from 0.1.0 needs this step, with or without the workaround. CI tests these exact steps: the old unit withadd-wants, then the new unit,daemon-reloadandreenable; the link must exist andis-enabledmust sayenabled.pullgate --versionfails with "flag provided but not defined" #14 and fix: the first run fails: RestrictSUIDSGID=yes in pullgate-run@.service blocks the setgid outbox #19.Both reviews ran (the security reviewer and a correctness review). What they found and what was fixed is in the description of #24.
groupsky commentedon Nov 16, 2026
Reopened: GitHub closed this on the merge, but the last "Done when" box (the fix is in a released version) is still open. The release PR #18 waits for the owner's OK. Close this after the release.
groupsky commentedon Nov 16, 2026
install.shfrom the tag installed it in a throwaway container, and/usr/local/bin/pullgate --versionprintedpullgate 0.1.1(full output on fix:pullgate --versionfails with "flag provided but not defined" #14).All boxes are met, so I close this issue.