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

Same issue on Kubuntu 24.10. Same fix, use --no-sandbox command line argument. Two hints for those that don’t know…

  1. Install and use AppImageLauncher (on git). Well worthwhile.
  2. AppImageLauncher will create a desktop entry for the AppImage file. After that, run kmenuedit from the command line and you can easily add the argument in there as shown.
  3. If you’re running standard Ubuntu, then step 0: install Kubuntu and migrate your data to it. Then you can have a vastly better user experience. :innocent:

I have tried KurtE’s AppArmor solution on kUbuntu 24.04 LTS, and it works.

Here is an alternate solution taken from https://iven.in/posts/Cursor-Editor-with-Sandbox/:

Navigate to the AppImage location.
Extract the AppImage:
:~$ ./Logic-2.4.29-linux-x64.AppImage --appimage-extract
This extracts the AppImage contents to a subdirectory “squashfs-root”.

Move the contents of squashfs-root to some other location, e.g. /opt/Salaea
:~$ sudo mv squashfs-root /opt/Salaea

Navigate to /opt/Salaea.

Change the ownership and permissions of chrome-sandbox:
~:$ sudo chown root:root chrome-sandbox
~:$ sudo chmod 4755 chrome-sandbox

Now Logic-2 can be launched by running AppRun:
~:$ /opt/Salaea/AppRun

Logic-2 is no longer an AppImage at this point, but it is sandboxed and does not need an AppArmor profile.

I have no idea what the security implications of either method are, so use at your own risk.

@ehildum Thanks for confirming that! We’ve documented the AppArmor solution here as well: