Skip to content

Add back Debian support for Sys V init.d service scripts#69578

Open
dwoz wants to merge 1 commit into
saltstack:3006.xfrom
dwoz:rehab/pr-67978
Open

Add back Debian support for Sys V init.d service scripts#69578
dwoz wants to merge 1 commit into
saltstack:3006.xfrom
dwoz:rehab/pr-67978

Conversation

@dwoz

@dwoz dwoz commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Rebase of #67978 (twangboy's rebase of #67909) onto current 3006.x.

Restores init.d scripts for salt-minion, salt-master, salt-api, and salt-syndic in
Debian packages. Systems without systemd (e.g. Devuan, bare Debian) need these
scripts to manage Salt services via service or /etc/init.d/ directly.

What issues does this PR fix or reference?

Fixes #67765

Changes

  • Add pkg/debian/salt-{minion,master,api,syndic}.init Sys V init scripts
  • Add test_salt_sysv_service_files to verify init.d scripts are present in packages
  • Remove ubuntu/debian exclusion from Linux PID change assertion in salt_test_upgrade
    so Debian/Ubuntu upgrades are also validated post-upgrade

Restore init.d scripts for salt-minion, salt-master, salt-api, and
salt-syndic that were removed from Debian packages. Systems without
systemd (e.g. Devuan) need these scripts to manage Salt services.

Also add test_salt_sysv_service_files to verify init.d scripts are
present in Debian and RedHat packages, and remove the ubuntu/debian
exclusion from the Linux PID change assertion in salt_test_upgrade
so Debian/Ubuntu upgrades are also validated.

Fixes saltstack#67765
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant