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
Console service installed by console install fails to start after update on SELinux-enforcing hosts (user_tmp_t label) #2131
On a Rocky Linux 9 host with SELinux enforcing, the systemd unit that thirdshift console install writes (ExecStart="/home/<user>/.local/bin/thirdshift" console) fails to start after thirdshift update:
thirdshift-console.service: Failed to locate executable /home/<user>/.local/bin/thirdshift: Permission denied
thirdshift-console.service: Failed at step EXEC spawning /home/<user>/.local/bin/thirdshift: Permission denied
thirdshift-console.service: Main process exited, code=exited, status=203/EXEC
The binary's label:
$ ls -Z ~/.local/bin/thirdshift
unconfined_u:object_r:user_tmp_t:s0 /home/<user>/.local/bin/thirdshift
The release installer (src/update.rs: "the release's installer moves the new binary into place with a rename") downloads to a temp directory and renames into ~/.local/bin. A rename keeps the user_tmp_t label, and systemd (init_t) may not execute user_tmp_t files.
/bin/sh is bin_t, so the service runs as unconfined_service_t, which may exec the binary. This survives later updates. A chcon/restorecon fix would be lost on the next thirdshift update.
Expected
On SELinux-enforcing hosts, a Console service installed by console install keeps starting after thirdshift update. That could come from console install writing an ExecStart that survives relabelling, or from update restoring the default context after the rename (restorecon when SELinux is enabled).
Hosts with SELinux disabled (the other Rocky hosts in this fleet) are unaffected.
Recommend closing #2131 as a duplicate of open issue #1078: #1078. This closes the duplicate report, not the underlying bug.
#1078 already describes the same Rocky Linux SELinux-enforcing failure: an updated ~/.local/bin/thirdshift labelled user_tmp_t, systemd EXEC permission denial, and a generated unit that directly executes the binary from $HOME. Its scope also includes home-directory access after relabelling. Open issue #1592 separately proposes replacing axoupdater and includes this labelling problem.
Investigation at selected Base commit cf12290 confirms the relevant implementation remains: src/console/install.rs:130 emits a direct ExecStart; src/update.rs:79-108 delegates installation to AxoUpdater::run_sync without subsequent context restoration. The rename behavior is documented in src/update.rs:5, but the release installer's actual label behavior was not reproduced here.
Some mitigation requested by #1078 has landed: src/console/install.rs:107-108 warns on enforcing SELinux and links directly to #1078; lines 139-152 check service activity and HTTP availability and print journal diagnostics on failure. docs/guide.md:1036 explicitly says the script does not change SELinux labels or policy.
Carry the newly reported successful shell-entry workaround to #1078 as evidence for evaluation. Keep the supported launch policy and verification on an enforcing Rocky host under that existing issue.
Activity
JacobStephens2 commentedon Nov 12, 2026
Recommend closing #2131 as a duplicate of open issue #1078: #1078. This closes the duplicate report, not the underlying bug.
#1078 already describes the same Rocky Linux SELinux-enforcing failure: an updated ~/.local/bin/thirdshift labelled user_tmp_t, systemd EXEC permission denial, and a generated unit that directly executes the binary from $HOME. Its scope also includes home-directory access after relabelling. Open issue #1592 separately proposes replacing axoupdater and includes this labelling problem.
Investigation at selected Base commit cf12290 confirms the relevant implementation remains: src/console/install.rs:130 emits a direct ExecStart; src/update.rs:79-108 delegates installation to AxoUpdater::run_sync without subsequent context restoration. The rename behavior is documented in src/update.rs:5, but the release installer's actual label behavior was not reproduced here.
Some mitigation requested by #1078 has landed: src/console/install.rs:107-108 warns on enforcing SELinux and links directly to #1078; lines 139-152 check service activity and HTTP availability and print journal diagnostics on failure. docs/guide.md:1036 explicitly says the script does not change SELinux labels or policy.
Carry the newly reported successful shell-entry workaround to #1078 as evidence for evaluation. Keep the supported launch policy and verification on an enforcing Rocky host under that existing issue.