GNU bug report logs - #71226
‘guix shell -C’ doesn’t work on Ubuntu 24.04

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Mon, 27 May 2024 14:56:01 UTC

Severity: important

Full log


Message #43 received at 71226 <at> debbugs.gnu.org (full text, mbox):

From: "nomike (they/them)" <nomike <at> nomike.com>
To: 71226 <at> debbugs.gnu.org
Subject: ‘guix shell -C’ doesn’t work on Ubuntu 24.04
Date: Wed, 5 Feb 2025 02:23:08 +0100
I've used the install.sh to install guix on my system (Ubuntu 24.10) and 
I'm facing the same issue.
My guix-home config lives in ~/guix-home, so I cd to that directory in a 
gnome-terminal and this happens:

```plaintext
$ guix home -L "${PWD}" container home-config.scm
guix home: error: mount: mount "none" on "/tmp/guix-directory.t82DOq": 
Permission
```
I first stumbled upon the [upstream bug on 
launchpad.net](https://bugs.launchpad.net/ubuntu/+source/guix/+bug/2064115) 
and tried the proposed solutions there, but they did not work.
So after some more googling I found this ticket here. I added the 
proposed file to `/etc/apparmor.d/guix` and rebooted my machine.
Now this happens:

```plaintext
$ guix home -L "${PWD}" container home-config.scm
guix home: error: failed to load 'home-config.scm': Permission denied
```

So it seems like we're still missing something.

I'm new to guix and I have no clue about apparmor, so I'm a bit at a loss.

cheers

nomike





This bug report was last modified 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.