Skip to content

Commit

Permalink
Revert "[Ubuntu] disable apparmor (#10024)"
Browse files Browse the repository at this point in the history
This reverts commit 145c80d.
  • Loading branch information
Mikhail Koliada committed Jun 14, 2024
1 parent 145c80d commit 8d23eb7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions images/ubuntu/scripts/build/configure-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 0 additions & 6 deletions images/ubuntu/scripts/tests/System.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 8d23eb7

Please sign in to comment.