zshot/cliDownload

zshot-apparmor

An unconfined profile that grants userns to /usr/lib/zshot/zshot, which keeps Chromium’s sandbox on where unprivileged user namespaces are restricted, as on Ubuntu 24.04 and later. The images also ship it at /usr/share/zshot/zshot-apparmor.

zshot-apparmor Download
# AppArmor profile for zshot: unconfined, with the user namespace Chromium's
# sandbox needs where kernel.apparmor_restrict_unprivileged_userns is set, as
# on Ubuntu 24.04 and later. Load on each node with
#   sudo install -m 644 zshot-apparmor /etc/apparmor.d/zshot
#   sudo apparmor_parser -r /etc/apparmor.d/zshot
abi <abi/4.0>,
include <tunables/global>

profile zshot /usr/lib/zshot/zshot flags=(unconfined) {
  userns,

  include if exists <local/zshot>
}