There does not seem to be anything relevant in the server NFS logs. I
can try harder, I can try to add verbose and check that the logs are
actually being produced, if this does not seem to lead us to the problem
source:

With "journalctl -f" only, I can get the following messages. A lot of
them seem to be related to document portal. I checked the file
flatbak/db/documents and it does not seem to exist.

loka 29 19:44:23 koira dbus-daemon[4642]: [session uid=1000 pid=4642] 
Activating via systemd: service name='org.freedesktop.portal.Documents' 
unit='xdg-document-portal.service' requested by ':1.196' (uid=1000 pid=14113 
comm="/snap/bin/chromium " label="unconfined")
loka 29 19:44:23 koira systemd[4622]: Starting flatpak document portal 
service...
loka 29 19:44:23 koira xdg-document-portal[14171]: error: Failed to load db: 
Error opening file /home/XXX/.local/share/flatpak/db/documents: No such file or 
directory
loka 29 19:44:23 koira systemd[4622]: xdg-document-portal.service: Main process 
exited, code=exited, status=2/INVALIDARGUMENT
loka 29 19:44:23 koira systemd[4622]: xdg-document-portal.service: Failed with 
result 'exit-code'.
loka 29 19:44:23 koira systemd[4622]: Failed to start flatpak document portal 
service.
loka 29 19:44:39 koira xdg-desktop-por[4802]: Failed to get application states: 
GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: App introspection not 
allowed
loka 29 19:45:39 koira xdg-desktop-por[4802]: Failed to get application states: 
GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: App introspection not 
allowed
loka 29 19:46:23 koira dbus-daemon[4642]: [session uid=1000 pid=4642] Failed to 
activate service 'org.freedesktop.portal.Documents': timed out 
(service_start_timeout=120000ms)
loka 29 19:46:24 koira audit[1013]: USER_AVC pid=1013 uid=105 auid=4294967295 
ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call"  
bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" 
member="GetManagedObjects" mask="send" name="org.bluez" pid=14113 
label="snap.chromium.chromium"
                                     exe="/usr/bin/dbus-daemon" sauid=105 
hostname=? addr=? terminal=?'
loka 29 19:46:24 koira kernel: audit: type=1107 audit(1572371184.015:58): 
pid=1013 uid=105 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" 
operation="dbus_method_call"  bus="system" path="/" 
interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" 
mask="send" name="org.bluez" pid=14113 label="snap.chromium.chromium"
                                exe="/usr/bin/dbus-daemon" sauid=105 hostname=? 
addr=? terminal=?'
loka 29 19:46:24 koira audit[14113]: AVC apparmor="DENIED" operation="open" 
profile="snap.chromium.chromium" name="/var/lib/snapd/desktop/icons/" pid=14113 
comm="chrome" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
loka 29 19:46:24 koira kernel: audit: type=1400 audit(1572371184.832:59): 
apparmor="DENIED" operation="open" profile="snap.chromium.chromium" 
name="/var/lib/snapd/desktop/icons/" pid=14113 comm="chrome" requested_mask="r" 
denied_mask="r" fsuid=1000 ouid=0


I also tried touching the file first, and the error log begins with different 
errors...
loka 29 20:02:33 koira dbus-daemon[4642]: [session uid=1000 pid=4642] 
Activating via systemd: service name='org.freedesktop.portal.Documents' 
unit='xdg-document-portal.service' requested by ':1.216' (uid=1000 pid=16167 
comm="/snap/bin/chromium " label="unconfined")
loka 29 20:02:33 koira systemd[4622]: Starting flatpak document portal 
service...
loka 29 20:02:33 koira xdg-document-portal[16225]: error: Failed to load db: 
invalid gvdb header
loka 29 20:02:33 koira systemd[4622]: xdg-document-portal.service: Main process 
exited, code=exited, status=2/INVALIDARGUMENT
loka 29 20:02:33 koira systemd[4622]: xdg-document-portal.service: Failed with 
result 'exit-code'.
loka 29 20:02:33 koira systemd[4622]: Failed to start flatpak document portal 
service.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1848753

Title:
  [snap] chromium times out connecting document portal with NFS home

Status in snapd:
  New
Status in chromium-browser package in Ubuntu:
  Incomplete
Status in snapd package in Ubuntu:
  New

Bug description:
  I have my /home folder shared via NFS from a local server one floor
  below in my house. The server runs Ubuntu 18.04.

  After starting a snapped version of chromium-browser in my Ubuntu
  19.10 the document portal timeouts like this:

  XXX@koira:~$ chromium-browser
  2019/10/18 18:51:27.986444 cmd_run.go:893: WARNING: cannot start document 
portal: Failed to activate service 'org.freedesktop.portal.Documents': timed 
out (service_start_timeout=120000ms)

  After the timeout my chromium cannot seem to remember accounts or
  passwords.

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1848753/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to