this post was submitted on 01 Aug 2025
4 points (100.0% liked)

Guix and GuixSD

177 readers
2 users here now

Community for all Guix and GuixSD users

founded 2 years ago
MODERATORS
 

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.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here