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 then reinstalled apparmor (and apparmor-utils), and rebooted, to check
if I still got the original permission error. I did.
Then I applied your workaround again, except I set the path to
/home/guix/.config/guix/current/bin/guix
This time I got a cryptic error:
$ sudo aa-enforce guix
Traceback (most recent call last):
File "/usr/sbin/aa-enforce", line 33, in <module>
tool.cmd_enforce()
File "/usr/lib/python3/dist-packages/apparmor/tools.py", line 134, in
cmd_enforce
for (program, prof_filename, output_name) in self.get_next_for_modechange():
File "/usr/lib/python3/dist-packages/apparmor/tools.py", line 97, in
get_next_for_modechange
aaui.UI_Info(_('Profile for %s not found, skipping') % output_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'str' object is not callable
An unexpected error occurred!
Maybe it's a Python issue? My default Python via PyEnv is 3.11.7
I also tried the symlink destination
/gnu/store/7xnx56qdzvzm3hkg01y4k4c5x5pk8qpv-guix-command
--
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