salt-bootstrap icon indicating copy to clipboard operation
salt-bootstrap copied to clipboard

Bug: daemons_running in bootstrap-salt.sh fails for AlmaLinux 9

Open schories opened this issue 2 years ago • 0 comments

Description of Issue

  • AlmaLinux 9 has the salt minion running in/as: /opt/saltstack/salt/run/run minion
  • however, the check effectively looks for "salt-minion" only: https://github.com/saltstack/salt-bootstrap/blob/develop/bootstrap-salt.sh#L9313

Setup

./bootstrap-salt.sh -P stable 3005

Versions and Systems

v2023.04.26 https://github.com/saltstack/salt-bootstrap/commit/9cd478022dd372459ea5e4d83f90908a55180129

Root Cause:

grep looks for "salt-" only, which won't work for AlmaLinux 9

  • https://github.com/saltstack/salt-bootstrap/blob/develop/bootstrap-salt.sh#L9313

Will provide a fix with separate PR, hopefully closing this issue.

schories avatar May 24 '23 09:05 schories