I'm trying to get guix
installed on an Ubuntu 24.10 (work) machine.
I tried running guix home container
, but got this error.
error: mount: mount "none" on "/tmp/guix-directory.V6IzTc": Permission denied
I fixed it by creating a file at /etc/apparmor.d/guix
with this content.
# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"
abi <abi/4.0>,
include <tunables/global>
profile guix /{usr/bin/guix,gnu/store/*-guix-command,gnu/store/*/bin/guix,gnu/store/*/libexec/guix/guile,gnu/store/*/bin/guile} flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/guix>
}
Seems to have fixed that error now! Woo.