Skip to content

Commit ca0e768

Browse files
committed
Fire insufficient
1 parent 43bcf87 commit ca0e768

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/actions/freeradius-deps/action.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,24 @@ runs:
3232
sudo dpkg-reconfigure man-db
3333
sudo sed -i 's/^update_initramfs=.*/update_initramfs=no/' /etc/initramfs-tools/update-initramfs.conf
3434
35-
# Basic package installation on Ubuntu24.04of packages fails with:
35+
#
36+
# Basic package installation on Ubuntu24.04 fails with:
3637
# ERROR: Operation {'runbindable'} cannot have a source. Source = AARE('/')
3738
# ...unless apparmor is disabled.
39+
#
40+
# Even with apparmor disabled and purged, some packages still attempt to call
41+
# apparmor utilities.
42+
#
43+
# Here we alias the apparmor utilities to /bin/true to prevent the build from
44+
# failing.
45+
#
3846
- name: Disable AppArmor
3947
if: ${{ runner.os != 'macOS' }}
4048
run: |
4149
sudo systemctl disable apparmor || true
4250
sudo systemctl stop apparmor || true
43-
sudo apt purge apparmor || true
51+
sudo apt purge -y apparmor
52+
sudo update-alternatives --install /usr/bin/aa-complain aa-complain /bin/true 60
4453
shell: bash
4554

4655
#

0 commit comments

Comments
 (0)