Linux version does not launch on just released ubuntu 24.04 LTS

Hello, just installed ubuntu 24.04 LTS, and can see that Logic do not run on it :


The setuid sandbox is not running as root. Common causes:
  * An unprivileged process using ptrace on it, like a debugger.
  * A parent process set prctl(PR_SET_NO_NEW_PRIVS, ...)
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
[34840:0508/174605.168434:FATAL:zygote_host_impl_linux.cc(201)] Check failed: . : Argument invalide (22)
[1]    34840 trace trap (core dumped)  Logic-2.4.14-linux-x64.AppImage

When do you plan to support 24.04 ?
Thanks,
Alexandre

found a workaround : launch it without sandbox : Logic-2.4.14-linux-x64.AppImage --no-sandbox
A.

Sorry about that issue! I just confirmed your workaround on my end as well. I’ve notified our software team about this, and I’ll make sure this workaround gets mentioned in our Ubuntu install guide here.

any news on this sandbox issue for Ubuntu 24.04 ?

finally I got Ubuntu 24.04 too, and realize that even 2.4.22 still shows the same issue for me:

$ Logic-2.4.22-linux-x64.AppImage
/tmp/.mount_Logic-FCymCA ~
~
The setuid sandbox is not running as root. Common causes:

  • An unprivileged process using ptrace on it, like a debugger.
  • A parent process set prctl(PR_SET_NO_NEW_PRIVS, …)
    Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
    [55654:1219/131817.638403:FATAL:zygote_host_impl_linux.cc(201)] Check failed: . : Invalid argument (22)
    Trace/breakpoint trap (core dumped)

the hint with --no-sandbox also works for me, but it would be nice if this wouldn’t be needed anymore after 6 months and one “major release”…

1 Like

This issues also appears to happen to some people running Arduino IDE 2.3.4 on Ubuntu:

I tried a similar approach to solving it for Logic as the suggestion up at:
[IDE 2.x don’t work on UBUNTU 24.04LTS - Development Tools / IDE 2.x - Arduino Forum]

(IDE 2.x don't work on UBUNTU 24.04LTS - #7 by ilguargua - IDE 2.x - Arduino Forum_gaMTA4NjU0MTU5Ny4xNzM1NzU4MDg1*_ga_NEXN8H46L5*MTczNTc1ODA4NC4xLjAuMTczNTc1ODA4NC4wLjAuNjU0MjEzNDE5)

How I did it, as I have some appimage installer setup on my machine that, that moves them to the directory: ~/Applications
And sets it up so it shows up in the applications list…

kurte@kurte-750-435st:/etc/apparmor.d$ sudo cat home.kurte.applications.logic 
abi <abi/4.0>,
include <tunables/global>
profile logic /home/kurte/Applications/Logic-2* flags=(unconfined) {
  userns,
  include if exists <local/logic>
}

ls /home/kurte/Applications/Logic-2* /home/kurte/Applications/Logic-2.4.21-linux-x64_b6cbb7e0cb44aa840a25d3e3d3b755eb.AppImage

/home/kurte/Applications/Logic-2.4.22-linux-x64_6bbc374dc2cba627897f01e4420ed6e6.AppImage

After I created this file, I rebooted and now logic appears to load for me.

Thanks @KurtE, that’s the ideal workaround for now.

Sorry for the long delay on this thread. It appears that the best plan would be to detect if the platform requires an AppArmor profile, and then install one automatically on launch.

I suspect that we can add this to our AppImage launcher script, and we’ll need to do some testing.

I’m not excited about including a path to the application, since AppImages are designed to be runnable from anywhere and easily moved. I’d hate to pollute the system with extra profiles, and I’m not sure it would be save to update an existing one if the user is trying to run multiple instances from multiple locations.

Anyway we’ll test and get the instructions for creating an apparmor profile into our support pages in the short term.

This is also another reason we might consider switching from AppImage over to deb & rpm packages, but I don’t want to dive into that yet.

  • Mark