An updated aa-notify that can prompt the user to create a profile is
available in oracular, and for noble via
https://launchpad.net/~apparmor-dev/+archive/ubuntu/apparmor-backports.
The plan is to get more testing on it and then SRU to noble.

it can be install via
  sudo apt install apparmor-notify

basic instructions are available via
  man aa-notify

it will install a default configuration in "/etc/apparmor/notify.conf".
The default configuration can be modified on a per user basis by copying
it to "$XDG_CONFIG_HOME/apparmor/notify.conf" which is generally
"$HOME/.config/apparmor/notify.conf" or to
"$HOME/.apparmor/notify.conf". A custom configuration is not needed
unless you want to use filtering to make it less noisy.

Currently regular notifications will happen for all apparmor events, but they 
can be filtered using the config file.
  

the notifier can be started via the shell with
  aa-notify -p -s1 --prompt-filter=userns

or by adding it to startup applications

There is a bug with the user namespace notification where it currently
requires "--prompt-filter=userns" as part of the command arguments
instead of being set in the config file.

-- 
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/2060767

Title:
  Foliate does not run in Ubuntu 24.04 due to apparmor issue

Status in apparmor package in Ubuntu:
  Fix Committed

Bug description:
  When I try to open any epub via Foliate (installed from official Ubuntu 
repositories), it does not run.
  ```
  $ foliate Alcott, Louisa May - Little Women.epub

  (com.github.johnfactotum.Foliate:2289): Gtk-WARNING **: 01:51:13.769: Unknown 
key gtk-modules in /home/archisman/.config/gtk-4.0/settings.ini
  bwrap: setting up uid map: Permission denied

  ** (com.github.johnfactotum.Foliate:2289): ERROR **: 01:51:14.283: Failed to 
fully launch dbus-proxy: Child process exited with code 1
  Trace/breakpoint trap
  ```

  A workaround
  (https://github.com/johnfactotum/foliate/issues/1271#issuecomment-2016575770)
  is to create the `/etc/apparmor.d/foliate` file with the appropriate
  content described in that link.

  A similar bug was reported for VSCode
  (https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2056517)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2060767/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to