mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ap: Disable azure's security daemon
This daemon run clamav which is resource aggressive. No point to run Windows virus scanner on Ubuntu in Linux-only environment. Fixes: https://pagure.io/freeipa/issue/9207 Signed-off-by: Stanislav Levin <slev@altlinux.org> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
parent
260d6378ec
commit
acd1d12793
@ -4,6 +4,11 @@ steps:
|
||||
env | sort
|
||||
displayName: Print Host Enviroment
|
||||
|
||||
- script: |
|
||||
set -e
|
||||
sudo apt list --installed
|
||||
displayName: Show Host's installed packages
|
||||
|
||||
- script: |
|
||||
set -e
|
||||
sudo apt-get update
|
||||
@ -16,6 +21,21 @@ steps:
|
||||
python3-docker
|
||||
displayName: Install Host's tests requirements
|
||||
|
||||
- script: |
|
||||
set -e
|
||||
sudo systemctl
|
||||
displayName: Show Host's systemd status
|
||||
|
||||
- script: |
|
||||
set -e
|
||||
# most of the time systemd killed hostnamed with SIGKILL on timeout
|
||||
# kill without waiting for graceful termination
|
||||
sudo systemctl kill -s SIGKILL azsecd ||:
|
||||
sudo systemctl disable --now azsecmond ||:
|
||||
sudo systemctl disable --now azsecd ||:
|
||||
sudo systemctl disable --now clamav-freshclam ||:
|
||||
displayName: Disable azsec services (clamav)
|
||||
|
||||
- script: |
|
||||
set -e
|
||||
printf "AppArmor status\n"
|
||||
@ -52,6 +72,16 @@ steps:
|
||||
|
||||
- template: setup-test-environment.yml
|
||||
|
||||
- script: |
|
||||
set -eu
|
||||
sudo top -b -o +%MEM n 1
|
||||
displayName: Show Host's top
|
||||
|
||||
- script: |
|
||||
set -eu
|
||||
sudo ps -auxf
|
||||
displayName: Show Host's processes
|
||||
|
||||
- template: run-test.yml
|
||||
|
||||
- script: |
|
||||
|
Loading…
Reference in New Issue
Block a user