azure pipeline: skip step disabling conflicting apparmor profile

aa-disable /etc/apparmor.d/usr.sbin.chronyd fails on Ubuntu 24.04
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2079019

Skip the step for now

Fix the top command (replace n 1 with -n 1)

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rafael Guterres Jeffman <rjeffman@redhat.com>
This commit is contained in:
Florence Blanc-Renaud authored and Sudhir Menon committed 2025-04-15 16:23:32 +05:30
1 parent 26c80e8476
commit b08fe8017e
1 file changed
+2 -2
+2 -2
View File
@@ -41,7 +41,7 @@ steps:
printf "AppArmor status\n"
sudo aa-status
printf "Disable AppArmor conflicting profiles\n"
sudo aa-disable /etc/apparmor.d/usr.sbin.chronyd
sudo aa-disable /etc/apparmor.d/usr.sbin.chronyd ||:
printf "Recheck AppArmor status\n"
sudo aa-status
displayName: Disable AppArmor conflicting profiles on Host
@@ -74,7 +74,7 @@ steps:
- script: |
set -eu
sudo top -b -o +%MEM n 1
sudo top -b -o +%MEM -n 1
displayName: Show Host's top
- script: |