Revert "[Ubuntu] disable apparmor (#10024)" (#10070)

This reverts commit 145c80df8d.
This commit is contained in:
Mikhail Koliada
2024-06-14 15:38:24 +02:00
committed by GitHub
parent 145c80df8d
commit e85f1e429d
2 changed files with 0 additions and 10 deletions

View File

@@ -68,7 +68,3 @@ fi
if is_ubuntu22; then
sed -i 's/openssl_conf = openssl_init/#openssl_conf = openssl_init/g' /etc/ssl/openssl.cnf
fi
# Disable apparmor
systemctl is-active --quiet apparmor.service && systemctl stop apparmor.service
systemctl disable apparmor.service

View File

@@ -6,9 +6,3 @@ Describe "Disk free space" -Skip:(-not [String]::IsNullOrEmpty($env:AGENT_NAME)
$freeSpace | Should -BeGreaterOrEqual 17GB
}
}
Describe "Apparmor is disabled" {
It "Apparmor is disabled" {
systemctl is-active apparmor | Should -Be "inactive"
}
}