Public bug reported: On Ubuntu 24.04 i'm unable to use GNU guix as installed from the apt repository.
Version: Package: guix Architecture: amd64 Version: 1.4.0-6build1 To reproduce: - Install a fresh 23.10 host - Upgrade to 24.04 with do-release-upgrade -d (but i’ve heard reports that this also happens with clean 24.04 install), reboot - `apt-install guix` - Create an unprivileged user with adduser - `guix environment -C` as the user gives: ``` $ guix environment -C guix environment: warning: no packages specified; creating an empty environment substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 0.4 MB will be downloaded glibc-utf8-locales-2.33 382KiB 1.5MiB/s 00:00 [##################] 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% The following derivation will be built: /gnu/store/19qqzzam5250zsxakc4ym0a28b4sd8nv-profile.drv 22.1 MB will be downloaded substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% bash-5.1.8-doc 301KiB 1.8MiB/s 00:00 [##################] 100.0% bash-static-5.1.8 646KiB 6.4MiB/s 00:00 [##################] 100.0% module-import-compiled 102KiB 3.5MiB/s 00:00 [##################] 100.0% glibc-2.33 13.1MiB 16.8MiB/s 00:01 [##################] 100.0% bash-minimal-5.1.8 624KiB 26.4MiB/s 00:00 [##################] 100.0% gcc-10.3.0-lib 9.0MiB 13.8MiB/s 00:01 [##################] 100.0% libffi-3.3 67KiB 12.2MiB/s 00:00 [##################] 100.0% libgc-8.0.4 262KiB 12.7MiB/s 00:00 [##################] 100.0% libunistring-0.9.10 781KiB 15.1MiB/s 00:00 [##################] 100.0% ncurses-6.2.20210619 1.1MiB 2.9MiB/s 00:00 [##################] 100.0% pkg-config-0.29.2 454KiB 21.4MiB/s 00:00 [#################] 100.0% readline-8.1.1 552KiB 21.6MiB/s 00:00 [##################] 100.0% guile-3.0.7 10.7MiB 13.0MiB/s 00:01 [##################] 100.0% bash-5.1.8 2.2MiB 16.1MiB/s 00:00 [##################] 100.0% building profile with 0 packages... bash-5.1.8-include 80KiB 3.3MiB/s 00:00 [##################] 100.0% guix environment: error: mount: mount "none" on "/tmp/guix-directory.V6IzTc": Permission denied ``` dmesg shows: ``` [ 264.017001] audit: type=1400 audit(1714394120.696:128): apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=2579 comm="guix" requested="userns_create" target="unprivileged_userns" [ 264.023016] audit: type=1400 audit(1714394120.702:129): apparmor="DENIED" operation="mount" class="mount" info="failed mntpnt match" error=-13 profile="unprivileged_userns" name="/tmp/guix-directory.V6IzTc/" pid=2611 comm="guix" fstype="tmpfs" srcname="none" ``` It appears that the unprivileged user namespace doesn't allow a bind-mount that guix requires. ** Affects: guix (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064115 Title: Conflict between apparmor and guix on Ubuntu 24.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/guix/+bug/2064115/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs