salt icon indicating copy to clipboard operation
salt copied to clipboard

[TECH-DEBT][BUG] RPM packages are missing init.d scripts

Open dmurphy18 opened this issue 9 months ago • 3 comments

Description RPM packages are missing their init.d scripts. Since 3006.0 rpm packages are missing their /etc/init.d/salt-xxxx scripts, see associated issue for Debian https://github.com/saltstack/salt/issues/67765

Setup (Please provide relevant configs and/or SLS files (be sure to remove sensitive info. There is no general set-up of Salt.)

Please be as specific as possible and give set-up details.

  • [ ] on-prem machine
  • [ ] VM (Virtualbox, KVM, etc. please specify)
  • [ ] VM running on a cloud service, please be explicit and add details
  • [ ] container (Kubernetes, Docker, containerd, etc. please specify)
  • [ ] or a combination, please be explicit
  • [ ] jails if it is FreeBSD
  • [ ] classic packaging
  • [X] onedir packaging
  • [ ] used bootstrap to install

Steps to Reproduce the behavior (Include debug logs if possible and relevant)

Expected behavior When a rpm package for salt-minion, salt-master, salt-syndic or salt-api, then then should also install /etc/init.d/ associated service scripts.

Screenshots If applicable, add screenshots to help explain your problem.

Versions Report

salt --versions-report (Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
PASTE HERE

Additional context Add any other context about the problem here.

dmurphy18 avatar Mar 18 '25 19:03 dmurphy18

Is this still relevant on modern RPM-systems? As EL7-support is removed, I don't think non-systemd-systems exist as EL8+ has switched to systemd-only.

andreasdijkman avatar Mar 20 '25 11:03 andreasdijkman

@andreasdijkman Makes it easier to use on Docker containers where you don't have to jump through hoops to get systemd, and yes you can use podman, but docker is still used a lot.

Agree, real Redhat family OS or VM, doesn't matter, but having it is a convenience, tried of jumping through the hoops on docker containers from Docker Hub.

dmurphy18 avatar Mar 20 '25 15:03 dmurphy18

@andreasdijkman Makes it easier to use on Docker containers where you don't have to jump through hoops to get systemd, and yes you can use podman, but docker is still used a lot.

Agree, real Redhat family OS or VM, doesn't matter, but having it is a convenience, tried of jumping through the hoops on docker containers from Docker Hub.

Ah, docker... For 3008-roadmap: desupport docker and force everyone to Podman rootless 🥳

andreasdijkman avatar Mar 20 '25 15:03 andreasdijkman