[Bug 1899667] Re: LO can't send email, probably an apparmour problem

SA 1899667 at bugs.launchpad.net
Tue Oct 13 16:18:56 UTC 2020


[] 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,
  /{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/bin/xdg-email    rPUx,
  /dev/null             rw,
  /usr/lib/libreoffice/program/uri-encode rmpux,
  /usr/share/libreoffice/share/config/* r,
  owner @{HOME}/.config/libreoffice{,dev}/?/user/uno_packages/cache/log.txt rw,
}


** Also affects: kmail (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: libreoffice (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: ubuntu-release-upgrader (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1899667

Title:
  LO can't send email, probably an apparmour problem

Status in kmail package in Ubuntu:
  New
Status in libreoffice package in Ubuntu:
  New

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-release-upgrader-core 1:20.04.25
  ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60
  Uname: Linux 5.4.0-48-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.9
  Architecture: amd64
  CasperMD5CheckResult: skip
  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)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: release-upgrade
  UpgradeStatus: Upgraded to focal on 2020-10-08 (4 days ago)
  VarLogDistupgradeXorgFixuplog:
   INFO:root:/usr/bin/do-release-upgrade running
   INFO:root:No xorg.conf, exiting

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



More information about the foundations-bugs mailing list