Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues running the application on Ubuntu 24.04 #404

Closed
Gositi opened this issue May 10, 2024 · 2 comments
Closed

Issues running the application on Ubuntu 24.04 #404

Gositi opened this issue May 10, 2024 · 2 comments

Comments

@Gositi
Copy link

Gositi commented May 10, 2024

Hi!

I am trying out Setzer (version 62, from the repos) on the new Ubuntu 24.04 (in a VM) and I am facing issues running the app. Instead, I get this:

simon@boxes:~$ setzer
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
/usr/bin/setzer:133: DeprecationWarning: Gtk.Widget.show is deprecated
  self.main_window.show()
bwrap: setting up uid map: Permission denied

** (setzer:10884): ERROR **: 12:02:01.439: Failed to fully launch dbus-proxy: Child process exited with code 1
Trace/breakpoint trap (core dumped)
simon@boxes:~$

After searching around a bit on similar issues I believe it's an instance of https://bugs.launchpad.net/apparmor/+bug/2046844 and copying the workaround at hugolabe/Wike#181 appears to work:

simon@boxes:~$ cat /etc/apparmor.d/setzer
# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"

abi <abi/4.0>,
include <tunables/global>

profile setzer /usr/bin/setzer flags=(unconfined) {
  userns,

  # Site-specific additions and overrides. See local/README for details.
  include if exists <local/setzer>
}
simon@boxes:~$ 

I have no idea exactly what this does though, besides that it somehow makes apparmor happy!

Since I am running a slightly older version you are maybe already aware about this, but if not I thought you should know! In any case, the version on the Ubuntu repos should be updated.

@cvfosammmm
Copy link
Owner

Thanks for reporting this. In newer versions the deprecated function is no longer used. Other than that, I think this belongs in the Ubuntu bugtracker.

@Gositi
Copy link
Author

Gositi commented May 14, 2024

Ok, thanks for the reply. I'm not very used to reporting issues, but I will take it to the Ubuntu bugtracker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants