AppArmor prevents opening LibreOffice Writer documents from another HDD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libreoffice (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When I try to open a LibreOffice Writer document from another HDD which is mounted on to my main HDD, AppArmor prevents LibreOffice from opening it.
Steps to reproduce:
1. Use Nautilus to go to your document (on the mounted HDD)
2. Double-Click the document
3. LibreOffice splash screen appears and closes a few seconds
4. Nothing happens
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: apparmor 2.11.0-2ubuntu17.1
ProcVersionSign
Uname: Linux 4.13.0-36-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Feb 26 12:21:18 2018
InstallationDate: Installed on 2018-01-20 (36 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: apparmor
Syslog:
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | apparmor (Ubuntu) → libreoffice (Ubuntu) |
I had to remove kern.log because of privacy issues.
Everytime I reproduce the steps in dmesg the following appears:
[10307.005189] audit: type=1400 audit(151964477 2.404:257) : apparmor="DENIED" operation="open" profile= "libreoffice- oopslash" name="/ run/user/ 1000/gdm/ Xauthority" pid=9839 comm="oosplash" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000 2.407:258) : apparmor="DENIED" operation="open" profile= "libreoffice- oopslash" name="/ sys/devices/ virtual/ block/dm- 0/queue/ rotational" pid=9839 comm="oosplash" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 2.410:259) : apparmor="DENIED" operation="open" profile= "libreoffice- oopslash" name="/ sys/devices/ virtual/ block/dm- 0/queue/ rotational" pid=9839 comm="oosplash" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 2.439:260) : apparmor="DENIED" operation="open" profile= "libreoffice- soffice" name="/ sys/devices/ pci0000: 00/0000: 00:01.0/ 0000:01: 00.0/uevent" pid=9859 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 2.439:261) : apparmor="DENIED" operation="open" profile= "libreoffice- soffice" name="/ sys/devices/ pci0000: 00/0000: 00:01.0/ 0000:01: 00.0/uevent" pid=9859 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 2.439:262) : apparmor="DENIED" operation="open" profile= "libreoffice- soffice" name="/ sys/devices/ pci0000: 00/0000: 00:01.0/ 0000:01: 00.0/uevent" pid=9859 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 2.439:263) : apparmor="DENIED" operation="open" profile= "libreoffice- soffice" name="/ sys/devices/ pci0000: 00/0000: 00:01.0/ 0000:01: 00.0/uevent" pid=9859 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 2.441:264) : apparmor="DENIED" operation="open" profile= "libreoffice- soffice" name="/ sys/devices/ pci0000: 00/0000: 00:01.0/ 0000:01: 00.0/uevent" pid=9859 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 2.441:265) : apparmor="DENIED" operation="open" profile= "libreoffice- soffice" name="/ sys/devices/ pci0000: 00/0000: 00:01.0/ 0000:01: 00.0/uevent" pid=9859 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 2.651:266) : apparmor="DENIED" operation="open" profile= "libreoffice- soffice" name=foo pid=9858 comm="soffice.bin" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
[10307.008261] audit: type=1400 audit(151964477
[10307.011447] audit: type=1400 audit(151964477
[10307.040012] audit: type=1400 audit(151964477
[10307.040014] audit: type=1400 audit(151964477
[10307.040063] audit: type=1400 audit(151964477
[10307.040075] audit: type=1400 audit(151964477
[10307.042326] audit: type=1400 audit(151964477
[10307.042338] audit: type=1400 audit(151964477
[10307.252816] audit: type=1400 audit(151964477