Bug 115999 - Open file over NFS fails silently in Ubuntu 17.10. apparmor fail messages in syslog
Summary: Open file over NFS fails silently in Ubuntu 17.10. apparmor fail messages in ...
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.5.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-25 01:04 UTC by Cliff Pratt
Modified: 2018-03-07 16:41 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cliff Pratt 2018-02-25 01:04:06 UTC
Description:
When I try to open files shared to me over NFS in Libre Office Writer, this silently fails. If I copy the files to local storage the files open fine. In the syslog I see messages about an apparmor FAIL. Messages are shown below in the "Additional Information" box.

Steps to Reproduce:
1. Install or upgrade to 1:5.4.5-0ubuntu0.17.10.1 on Ubuntu 17.10
2. Share files over NFS to this machine
3. Open any Writer file.

Actual Results:  
Silent failure with syslog messages as below.

Expected Results:
Files should open.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Feb 24 12:54:12 bumblebee kernel: [10065.679203] audit: type=1400 audit(1519430052.694:111): apparmor="DENIED" operation="open" profile="libreoffice-oopslash" name="/sys/devices/virtual/block/dm-0/queue/rotational" pid=7931 comm="oosplash" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Feb 24 12:54:12 bumblebee kernel: [10065.939770] audit: type=1400 audit(1519430052.955:112): apparmor="DENIED" operation="open" profile="libreoffice-oopslash" name="/sys/devices/virtual/block/dm-0/queue/rotational" pid=7931 comm="oosplash" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Feb 24 12:54:13 bumblebee kernel: [10066.078613] audit: type=1400 audit(1519430053.094:113): apparmor="DENIED" operation="open" profile="libreoffice-soffice" name="/sys/devices/pci0000:00/0000:00:01.0/uevent" pid=7950 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Feb 24 12:54:13 bumblebee kernel: [10066.078663] audit: type=1400 audit(1519430053.094:114): apparmor="DENIED" operation="open" profile="libreoffice-soffice" name="/sys/devices/pci0000:00/0000:00:01.0/uevent" pid=7950 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Feb 24 12:54:13 bumblebee kernel: [10066.078765] audit: type=1400 audit(1519430053.094:115): apparmor="DENIED" operation="open" profile="libreoffice-soffice" name="/sys/devices/pci0000:00/0000:00:01.0/uevent" pid=7950 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Feb 24 12:54:13 bumblebee kernel: [10066.078820] audit: type=1400 audit(1519430053.094:116): apparmor="DENIED" operation="open" profile="libreoffice-soffice" name="/sys/devices/pci0000:00/0000:00:01.0/uevent" pid=7950 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Feb 24 12:54:13 bumblebee kernel: [10066.935061] audit: type=1400 audit(1519430053.950:117): apparmor="DENIED" operation="open" profile="libreoffice-soffice" name="/home/cliffp/.thunderbird/profiles.ini" pid=7949 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Feb 24 12:54:13 bumblebee kernel: [10066.935145] audit: type=1400 audit(1519430053.950:118): apparmor="DENIED" operation="open" profile="libreoffice-soffice" name="/home/cliffp/.mozilla/firefox/profiles.ini" pid=7949 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Feb 24 12:54:13 bumblebee gnome-shell[2621]: setup_framebuffers: assertion 'width > 0' failed
Feb 24 12:54:13 bumblebee kernel: [10066.970759] audit: type=1400 audit(1519430053.986:119): apparmor="DENIED" operation="exec" profile="libreoffice-soffice" name="/usr/bin/gpg" pid=7969 comm="soffice.bin" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
Feb 24 12:54:13 bumblebee kernel: [10066.979859] audit: type=1400 audit(1519430053.995:120): apparmor="DENIED" operation="exec" profile="libreoffice-soffice" name="/usr/bin/gpgsm" pid=7971 comm="soffice.bin" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0



User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
Comment 1 Buovjaga 2018-03-07 16:41:10 UTC
(In reply to Cliff Pratt from comment #0)
> 1. Install or upgrade to 1:5.4.5-0ubuntu0.17.10.1 on Ubuntu 17.10

Please update your Ubuntu installation, see this: https://bugs.documentfoundation.org/show_bug.cgi?id=98776#c40