Remove apt-get purge
of firefox
and passt
when possible
#215
Labels
github-actions
Pull requests that update GitHub Actions code
improvement
This issue or pull request will add or improve functionality, maintainability, or ease of use
💡 Summary
Remove the following when possible:
apt-get purge
of thefirefox
andpasst
packagessystemctl reload
ofapparmor.service
Motivation and context
Purging
firefox
is currently necessary because the installation available on the GitHub runner instance provides two conflicting AppArmor profiles:/etc/apparmor.d/usr.bin.firefox
/etc/apparmor.d/firefox
This conflict causes the
aa-disable /usr/sbin/unix_chkpwd
command to fail.Purging
passt
is currently necessary because the installation available on the GitHub runner instance contains a wonky AppArmor file (/etc/apparmor.d/abstractions/passt
) that causes theaa-disable /usr/sbin/unix_chkpwd
command to fail.The
systemctl reload
ofapparmor.service
is required to force AppArmor to remove the corresponding profiles after the packages are purged. (AppArmor profiles count as configuration files in Debian-based distributions.)Once newer versions of these packages without these limitations are available on the GitHub runners these
apt-get purge
commands and thesystemctl reload apparmor.service
command that follows can be safely removed.The text was updated successfully, but these errors were encountered: