[Bug 2064115] Re: Conflict between apparmor and guix on Ubuntu 24.04

2025-05-26 Thread nomike
I've created a patch and submitted it to the apparmor package maintainers. https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2111753 -- 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:

[Bug 2064115] Re: Conflict between apparmor and guix on Ubuntu 24.04

2025-05-26 Thread nomike
After reading a few other apparmor config files I've now revised my config to this: ``` # This profile allows everything and only exists to give the # application a name instead of having the label "unconfined" abi , include profile guix /{usr/bin/guix,gnu/store/*-guix-command,gnu/store/*/bin/

[Bug 2064115] Re: Conflict between apparmor and guix on Ubuntu 24.04

2025-05-26 Thread nomike
I'm using guix with guix-home. I have had the same issue, but only then trying to run -- 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

[Bug 2064115] Re: Conflict between apparmor and guix on Ubuntu 24.04

2025-02-06 Thread tim
"Purging" AppArmor makes guix-build work for me. However, I was stunned when I realized that it blows away all your AppArmor involved apps, including Firefox, etc. After re-installing Firefox, the old error returns: ```plaintext guix shell: error: mount: mount "none" on "/tmp/guix-directory.Tl3CjE

[Bug 2064115] Re: Conflict between apparmor and guix on Ubuntu 24.04

2025-02-04 Thread nomike
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

[Bug 2064115] Re: Conflict between apparmor and guix on Ubuntu 24.04

2025-01-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: guix (Ubuntu) Status: New => Confirmed -- 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: Confl

[Bug 2064115] Re: Conflict between apparmor and guix on Ubuntu 24.04

2024-08-11 Thread Sjors
For unrelated reason I rebuilt Guix from source as of commit 20dbf225f332ccc707578263ed710dcf2a8fb78e. I then ran into the issue, which I'd forgotten about. The solution again was to: $ which guix /home/guix/.config/guix/current/bin/guix $ ls -al /home/guix/.config/guix/current/bin/guix lrwxrwxrw

[Bug 2064115] Re: Conflict between apparmor and guix on Ubuntu 24.04

2024-05-03 Thread Sjors
Oddly enough despite the above error guix builds work fine. -- 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 a

[Bug 2064115] Re: Conflict between apparmor and guix on Ubuntu 24.04

2024-05-01 Thread Sjors
First time I tried this workaround the "aa-enforce guix" command threw an error about an unrelated file somewhere in /etc/init.d/apparmor (forgot to write down which, just remember that it used "runbindable"). I uninstalled and purged apparmor, just to try if the Guix build would work. It did. I

[Bug 2064115] Re: Conflict between apparmor and guix on Ubuntu 24.04

2024-04-29 Thread W. J. van der Laan
Looks like this is a case of https://bugs.launchpad.net/apparmor/+bug/2046844 What does work as a workaround is to create a specifc apparmor profile for guix, that is really unconfined and allows user namespaces: Create a file /etc/apparmor.d/guix: ---

[Bug 2064115] Re: Conflict between apparmor and guix on Ubuntu 24.04

2024-04-29 Thread W. J. van der Laan
Uninstalling `apparmor` and rebooting is the only thing i have found that makes it work. Selectively disabling the specific rulset with: # aa-disable unprivileged_userns Gives a new error: $ guix environment -C guix environment: warning: no packages specified; creating an empty environment guix