nutty
nutty copied to clipboard
Apparmor issue - snap package - Ubuntu 20.04
Hi. I tried to install Nutty with the snap, but it won't start. Output:
[_LOG_LEVEL_INFO 13:02:27.041335] Application.vala:153: Nutty version: 0.9 [_LOG_LEVEL_INFO 13:02:27.041381] Application.vala:155: Kernel version: 5.4.0-33-generic Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Connection ":1.158" is not allowed to own the service "org.nutty" due to AppArmor policy
This is a fresh install of Ubuntu 20.04. No related logs in audit.log If there are anything you want me to try, let me know and I'll help debug it
I don't think the snap works as of now; I've tried it on Ubuntu 18.04, 19.10, and 20.04, and it still didn't work. I'd suggest building from source, but you can also try the .deb package for 18.04 on this ppa.
yeah i installed it through the ppa, but i prefer to use the snap. if it's not working, then maybe the snap shouldn't have a stable release/tag
I also tried to install Nutty with sudo snap install --classic nutty
(again on Ubuntu 20.04) in hope that the --classic
flag would remove the AppArmor block of the program. However, I got the output Warning: flag --classic ignored for strictly confined snap nutty
, and the snap was installed as without the flag. Due to the nature of Nutty, it cannot be confined as the usual Snap policy requires.
same error on Ubuntu 18.04.5 LTS.
Nutty version: 0.9 Kernel version: 4.15.0-124-generic
well i took a crack at fixing the snap config, and im starting to understand why its abandoned. i got it to launch, but none of the scripts will run because they need root (probably something to do with polkit), and its attempting to read/write files in /tmp which it cant do because its a snap. i dont think ill be able to fix it anytime soon, but if anyone wants to continue where i left off, heres the repo. good luck.
same error on linux mint 20:
[_LOG_LEVEL_INFO 15:08:12.462427] Application.vala:153: Nutty version: 0.9 [_LOG_LEVEL_INFO 15:08:12.462586] Application.vala:155: Kernel version: 5.4.0-60-generic Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Connection ":1.111" is not allowed to own the service "org.nutty" due to AppArmor policy
Same issue, almost 2 years since the OP. Any update on this?