edubuntu-bugs team mailing list archive
-
edubuntu-bugs team
-
Mailing list archive
-
Message #10803
[Bug 2046844] Re: AppArmor user namespace creation restrictions cause many applications to crash with SIGTRAP
I have 4.0.1really4.0.1-0ubuntu0.24.04.3 and still have the
"LaunchProcess: failed to execvp" problem. We a custom Electron app
packaged into a *.deb file. The problem occurs, when the installation
dir has a space in the path, e.g. "/opt/Custom App". When we make
installation into "/opt/CustomApp" then it starts fine.
Also in the error message, the path with space "/opt/Custom App" is
truncated to the first space only:
$ custom-app
LaunchProcess: failed to execvp:
/opt/Custom
(Workaround "sysctl -w kernel.apparmor_restrict_unprivileged_userns=0"
works OK).
I think such mishandling spaces in path should be fixed ASAP. See also
Electron issue (and many apps it affects)
https://github.com/electron/electron/issues/41066
For the people struggling with Electron and SUID for chrome-sandbox see also the electron-builder issue https://github.com/electron-userland/electron-builder/issues/8440 (It may not affect all cases reported here.)
** Bug watch added: github.com/electron/electron/issues #41066
https://github.com/electron/electron/issues/41066
** Bug watch added: github.com/electron-userland/electron-builder/issues #8440
https://github.com/electron-userland/electron-builder/issues/8440
--
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2046844
Title:
AppArmor user namespace creation restrictions cause many applications
to crash with SIGTRAP
To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/2046844/+subscriptions