Public bug reported:
I installed mysql-workbench-community from the app store but it is
unable to actually access the local database due to AppArmor
intervention.
All attempts to move the app in to complain results in error messages.
~# aa-status
apparmor module is loaded.
10 profiles are loaded.
10 profiles are in enforce mode.
.....
snap.mysql-workbench-community.mysql-workbench-community
.....
0 profiles are in complain mode.
0 processes have profiles defined.
0 processes are in enforce mode.
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.
~# aa-complain /snap/bin/mysql-workbench-community
Profile for /usr/bin/snap not found, skipping
~# aa-complain snap.mysql-workbench-community
Can't find snap.mysql-workbench-community in the system path list. If the name
of the application
is correct, please run 'which snap.mysql-workbench-community' as a user with
correct PATH
environment set up in order to find the fully-qualified path and
use the full path as parameter.
~# aa-complain snap.mysql-workbench-community.mysql-workbench-community
Can't find snap.mysql-workbench-community.mysql-workbench-community in the
system path list. If the name of the application
is correct, please run 'which
snap.mysql-workbench-community.mysql-workbench-community' as a user with
correct PATH
environment set up in order to find the fully-qualified path and
use the full path as parameter.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: apparmor 2.13.3-7ubuntu5
ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri May 15 09:47:56 2020
InstallationDate: Installed on 2020-03-10 (65 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200306)
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm-256color
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-5.4.0-29-generic
root=UUID=d73f3324-549c-4a63-b2bd-f813366411ac ro quiet splash vt.handoff=7
SourcePackage: apparmor
Syslog:
May 15 09:38:16 owen-AOD255 dbus-daemon[1118]: [session uid=125 pid=1118]
AppArmor D-Bus mediation is enabled
May 15 09:39:00 owen-AOD255 dbus-daemon[1762]: [session uid=1000 pid=1762]
AppArmor D-Bus mediation is enabled
May 15 09:39:04 owen-AOD255 dbus-daemon[2353]: [session uid=125 pid=2353]
AppArmor D-Bus mediation is enabled
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: apparmor (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug focal
--
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/1878862
Title:
AppArmor - Cannot move snap packages from enforce to complain
Status in apparmor package in Ubuntu:
New
Bug description:
I installed mysql-workbench-community from the app store but it is
unable to actually access the local database due to AppArmor
intervention.
All attempts to move the app in to complain results in error messages.
~# aa-status
apparmor module is loaded.
10 profiles are loaded.
10 profiles are in enforce mode.
.....
snap.mysql-workbench-community.mysql-workbench-community
.....
0 profiles are in complain mode.
0 processes have profiles defined.
0 processes are in enforce mode.
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.
~# aa-complain /snap/bin/mysql-workbench-community
Profile for /usr/bin/snap not found, skipping
~# aa-complain snap.mysql-workbench-community
Can't find snap.mysql-workbench-community in the system path list. If the
name of the application
is correct, please run 'which snap.mysql-workbench-community' as a user with
correct PATH
environment set up in order to find the fully-qualified path and
use the full path as parameter.
~# aa-complain snap.mysql-workbench-community.mysql-workbench-community
Can't find snap.mysql-workbench-community.mysql-workbench-community in the
system path list. If the name of the application
is correct, please run 'which
snap.mysql-workbench-community.mysql-workbench-community' as a user with
correct PATH
environment set up in order to find the fully-qualified path and
use the full path as parameter.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: apparmor 2.13.3-7ubuntu5
ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri May 15 09:47:56 2020
InstallationDate: Installed on 2020-03-10 (65 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200306)
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm-256color
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-5.4.0-29-generic
root=UUID=d73f3324-549c-4a63-b2bd-f813366411ac ro quiet splash vt.handoff=7
SourcePackage: apparmor
Syslog:
May 15 09:38:16 owen-AOD255 dbus-daemon[1118]: [session uid=125 pid=1118]
AppArmor D-Bus mediation is enabled
May 15 09:39:00 owen-AOD255 dbus-daemon[1762]: [session uid=1000 pid=1762]
AppArmor D-Bus mediation is enabled
May 15 09:39:04 owen-AOD255 dbus-daemon[2353]: [session uid=125 pid=2353]
AppArmor D-Bus mediation is enabled
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1878862/+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