Pete e53e7768a0 check status before stopping service
resolves #12811 so-verify detects rare false error

If salt is uninstalled during call to so-setup where it detects a previous install, the "Failed" keyword from "systemctl stop $service" causes so-verify to falsely detect an installation error.  This might happen if the user removes the salt packages between calls to so-setup, or if upgrading from Ubuntu 20.04 to 22.04 then installing 2.4.xx on top of a 2.3.xx installation.

The fix is to wrap the call to stop the service in a check if the service is running.

This ignores the setting of pid var, as the next use of pid is within a while loop that will not execute for the same reason the systemctl stop call was not launched in the background.
2024-04-23 21:24:39 +00:00
2023-12-19 18:58:17 +00:00
2023-11-01 15:11:54 -04:00
2024-01-15 21:17:17 -05:00
2024-01-17 11:59:27 -05:00
2022-04-08 16:57:40 -04:00
2022-02-09 11:45:12 -05:00
2024-01-17 11:59:27 -05:00
2023-11-21 16:40:54 -05:00
2020-11-17 09:00:02 -05:00
2023-08-07 16:35:05 -04:00
2023-01-11 11:05:01 -05:00
2023-06-26 16:01:58 -04:00
2022-09-07 09:06:25 -04:00
2024-01-17 14:18:37 -05:00
Description
Security Onion 2 - Linux distro for threat hunting, enterprise security monitoring, and log management
Readme 125 MiB
Languages
Shell 51%
Jinja 22.2%
SaltStack 12%
Python 8.7%
CSS 2%
Other 4%