Skip to content

fix(bootstrap): add missing install_ubuntu_onedir_post function - #2129

Merged
twangboy merged 1 commit into
saltstack:developfrom
twangboy:fix-ubuntu-onedir-post-2128
Aug 31, 2026
Merged

fix(bootstrap): add missing install_ubuntu_onedir_post function#2129
twangboy merged 1 commit into
saltstack:developfrom
twangboy:fix-ubuntu-onedir-post-2128

Conversation

@twangboy

Copy link
Copy Markdown
Contributor

What does this PR do?

Ubuntu had install_ubuntu_stable_post and install_ubuntu_git_post but no install_ubuntu_onedir_post. Since ITYPE is set to onedir for onedir installs, the post-install function dispatch never matched any candidate name and silently skipped enabling the salt-* systemd services, causing check_install_services to fail on Ubuntu 24.04.

Add install_ubuntu_onedir_post as a thin wrapper delegating to install_ubuntu_stable_post, matching the existing pattern used by other distros (e.g. install_suse_15_onedir_post, install_rocky_linux_onedir_post).

What issues does this PR fix or reference?

Fixes #2128

Ubuntu had install_ubuntu_stable_post and install_ubuntu_git_post but
no install_ubuntu_onedir_post. Since ITYPE is set to onedir for onedir
installs, the post-install function dispatch never matched any
candidate name and silently skipped enabling the salt-* systemd
services, causing check_install_services to fail on Ubuntu 24.04.

Add install_ubuntu_onedir_post as a thin wrapper delegating to
install_ubuntu_stable_post, matching the existing pattern used by
other distros (e.g. install_suse_15_onedir_post, install_rocky_linux_onedir_post).

Fixes saltstack#2128
@twangboy twangboy self-assigned this Aug 31, 2026
@twangboy
twangboy merged commit 044804f into saltstack:develop Aug 31, 2026
122 checks passed
@twangboy
twangboy deleted the fix-ubuntu-onedir-post-2128 branch August 31, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Ubuntu 24.04 - Missing install_ubuntu_onedir_post() redirect to install_ubuntu_stable_post() means services are never started

1 participant