I'm on Ubuntu 24.10 and installed guix with their install.sh as
recommended by the guix people.
When I'm trying to run `guix home -L "${PWD}" container home-config.scm
I'm getting the following error:
```plaintext
guix home: error: mount: mount "none" on "/tmp/guix-directory.6EruDj":
Permission denied
```
I stumbled upon this ticket and tried the proposed solutions, but they don't
work.
```plaintext
$ which guix
/usr/local/bin/guix
```
/etc/apparmor.d/guix:
```plaintext
abi <abi/4.0>,
include <tunables/global>
profile guix /usr/bin/guix flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/guix>
}
```
`/etc/init.d/apparmor reload` runs without output.
However:
```plaintext
$ sudo aa-enforce guix
Profile for /gnu/store/5kj8lyybjrdl7xd0fx9g9vzkz8sklqsy-guix-1.4.0/bin/guix not
found, skipping
```
When I set that path in `/etc/apparmor.d/guix` though, I get this:
```plaintext
$ sudo aa-enforce guix
Setting /gnu/store/5kj8lyybjrdl7xd0fx9g9vzkz8sklqsy-guix-1.4.0/bin/guix to
enforce mode.
Warning: profile guix represents multiple programs
$ guix home -L "${PWD}" container home-config.scm
/gnu/store/5kj8lyybjrdl7xd0fx9g9vzkz8sklqsy-guix-1.4.0/libexec/guix/guile:
error while loading shared libraries: libguile-3.0.so.1: cannot open shared
object file: Permission denied
```
`
--
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs