Snap apps don't start, when /home is provided by a remote NFS server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
My setup:
A server running Ubuntu 18.04, with LDAP, Kerberos and NFS.
Desktop clients running Ubuntu 18.04, with SSSD. Home directories are mounted via autofs from the server.
Everything seems to be working as expected: LDAP/Kerberos users can login, their home directory is available. idmapd works as expected.
Issue: Snap application fail to start. No error is displayed. Journal reports (in this particular case the gnome-calculator was launched):
júl 21 09:30:44 paulus gnome-calculato
júl 21 09:30:44 paulus kernel: nfs: RPC call returned error 13
júl 21 09:30:44 paulus kernel: nfs: RPC call returned error 13
júl 21 09:30:44 paulus kernel: audit: type=1400 audit(153215824
júl 21 09:30:44 paulus kernel: audit: type=1400 audit(153215824
The directory from the first line does exist (and will be created on launch if not present)
michalmaria@
celkom 8
drwxr-xr-x 2 michalmaria domainadmins 4096 júl 21 08:52 .
drwxr-xr-x 4 michalmaria domainadmins 4096 júl 21 08:52 ..
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: GNOME
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2018-05-14 (67 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
NonfreeKernelMo
Package: snapd 2.33.1+18.04ubuntu2
PackageArchitec
ProcEnviron:
TERM=screen-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=sk_SK.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: bionic
Uname: Linux 4.15.0-23-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
apport information