LO can't send email, probably an apparmour problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kmail (Ubuntu) |
Confirmed
|
Low
|
Unassigned | ||
libreoffice (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
LO can't send email:
LibreOffice was unable to find a working email configuration.
I'm pretty sure this is an apparmour profile problem since LO seems to want RW perms on something and AA seems not to want to give it. There lies the full extent on mu debugging expertise in this area.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.4.0-48-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CurrentDesktop: KDE
Date: Tue Oct 13 17:01:43 2020
InstallationDate: Installed on 2017-03-26 (1297 days ago)
InstallationMedia: Kubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.1)
PackageArchitec
SourcePackage: ubuntu-
Symptom: release-upgrade
UpgradeStatus: Upgraded to focal on 2020-10-08 (4 days ago)
VarLogDistupgra
INFO:root:
INFO:root:No xorg.conf, exiting
Changed in libreoffice (Ubuntu): | |
importance: | Undecided → Low |
Changed in kmail (Ubuntu): | |
importance: | Undecided → Low |
[] audit: type=1400 audit(): apparmor="DENIED" operation= "file_inherit" profile= "libreoffice- senddoc" name="xxxxx" pid=8106 comm="senddoc" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
[] audit: type=1400 audit(): apparmor="DENIED" operation="exec" profile= "libreoffice- senddoc" name="/ usr/bin/ kmail" pid=8116 comm="senddoc" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
cat /etc/apparmor. d/usr.lib. libreoffice. program. senddoc
#include <tunables/global>
profile libreoffice-senddoc /usr/lib/ libreoffice/ program/ senddoc {
#include <abstractions/base>
#include <abstractions/ user-tmp>
/{usr/,}bin/sh rmix, bin/xdg- email rPUx, lib/libreoffice /program/ uri-encode rmpux, share/libreoffi ce/share/ config/ * r, /.config/ libreoffice{ ,dev}/? /user/uno_ packages/ cache/log. txt rw,
/{usr/,}bin/bash rmix,
/{usr/,}bin/dash rmix,
/{usr/,}bin/sed rmix,
/usr/bin/dirname rmix,
/usr/bin/basename rmix,
/{usr/,}bin/grep rmix,
/{usr/,}bin/uname rmix,
/usr/bin/xdg-open rPUx,
/usr/
/dev/null rw,
/usr/
/usr/
owner @{HOME}
}