It does work for AppImages, but it is weird in that they don't have an
install location, so that has to be adjusted for where they are placed
on the system, or we have to set a security xattr on the executable at
the time it is chmoded to +x
Admittedly orcaslicer doesn't use unprivileged user namespaces, but for
it works for an example of how to put one of these on it.
abi <abi/4.0>,
include <tunables/global>
profile orcaslicer /home/jj/Desktop/OrcaSlicer_Linux_V1.8.1.AppImage
flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/orcaslicer>
}
or we could make that looser by doing something like
abi <abi/4.0>,
include <tunables/global>
profile orcaslicer @{bin}/OrcaSlicer_Linux_V1.8.1.AppImage flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/orcaslicer>
}
or by setting the security.apparmor label on the binary
sudo setfattr -h -n security.apparmor -v orcaslicer /PATH/TO/APPIMAGE
and doing
abi <abi/4.0>,
include <tunables/global>
profile orcaslicer xattrs=(security.apparmor=orcaslicer) flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/orcaslicer>
}
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/2046844
Title:
AppArmor user namespace creation restrictions cause many applications
to crash with SIGTRAP
Status in apparmor package in Ubuntu:
Confirmed
Status in digikam package in Ubuntu:
Confirmed
Status in epiphany-browser package in Ubuntu:
Confirmed
Status in falkon package in Ubuntu:
Confirmed
Status in qutebrowser package in Ubuntu:
Confirmed
Bug description:
Hi, I run Ubuntu development branch 24.04 and I have a problem with
Epiphany browser 45.1-1 (Gnome Web): program doesn't launch, and I get
this error
$ epiphany
bwrap: Creating new namespace failed: Permission denied
** (epiphany:12085): ERROR **: 14:44:35.023: Failed to fully launch
dbus-proxy: Le processus fils s’est terminé avec le code 1
Trappe pour point d'arrêt et de trace (core dumped)
$ epiphany
bwrap: Creating new namespace failed: Permission denied
** (epiphany:30878): ERROR **: 22:22:26.926: Failed to fully launch
dbus-proxy: Le processus fils s’est terminé avec le code 1
Trappe pour point d'arrêt et de trace (core dumped)
Thanks for your help!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2046844/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp