mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
use cmd.run instead of cmd.script to resolve issue 64962
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# this script comes from the user nf-brentsaner located here https://github.com/saltstack/salt/issues/64962
|
||||
|
||||
import datetime
|
||||
import grp
|
||||
import os
|
||||
@@ -11,8 +13,6 @@ import dbus # dnf -y install python3-dbus
|
||||
##
|
||||
import lief # https://pypi.org/project/lief/
|
||||
|
||||
# https://github.com/saltstack/salt/issues/64962
|
||||
|
||||
salt_root = pathlib.Path('/opt/saltstack')
|
||||
src_lib = pathlib.Path('/lib64/libldap.so.2')
|
||||
dst_lib = salt_root.joinpath('salt', 'lib', 'libldap.so.2')
|
||||
Reference in New Issue
Block a user