NFS client : permission denied when trying to access subshare, since kernel 4.4.0-31
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Seth Forshee | ||
Xenial |
Fix Released
|
Medium
|
Seth Forshee | ||
Yakkety |
Fix Released
|
Medium
|
Seth Forshee |
Bug Description
SRU Justification
Impact: A regression has caused mounting of NFS subshares with kerberos authentication to fail. This is a result of follow_automount() overriding the user credentials before calling dentry-
Fix: Cherry pick from linux-next.
Regression Potential: The commit fixes a regression and makes the automount behavior more like it was prior to changes in 4.8 (which we also backported to xenial). Therefore the regression potential should be minimal.
---
Similar like Bug #1603719 or Bug #1604396 i got a "Permission denied" when trying to access a NFS subshare from our NFSv4 Server.
I tried this under (K)ubuntu Trusty and Xenial and also with the ubuntu based Mint Versions 17.3 Rosa an 18 Sarah.
Kernel Versions higher than 4.4.0-31 from offical Ubuntu Repository has the problem.
Before 4.4.0-31 not. For safety reasons i used the linux-generic-
The 4.4 mainline kernel also works without problem currently (4.4.37-
Our NFS server runs under FreeBSD 11, but same problems to the clients with FreeBSD 10.3 and OmniOS r151018.
All NFS servers use ZFS as the filesystem and NFSv4 with kerberos for sharing. For the basic structure we use also ZFS filesystems.
So my homefolder is located on the server under /apool/
My posix homedirectory path is /home/VI/
When i try to login i got access to /home/VI/staff/fili ... but when i try to access the linux directory / zfs filesystem i got the permission denied.
The fstab options for /home/VI are _netdev,
I tried also autofs but with the same result.
---
ApportVersion: 2.20.1-0ubuntu2.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2016-10-17 (56 days ago)
InstallationMedia: Kubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
IwConfig:
enp7s0 no wireless extensions.
lo no wireless extensions.
MachineType: System manufacturer System Product Name
NonfreeKernelMo
Package: linux (not installed)
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.157.5
RfKill:
Tags: xenial
Uname: Linux 4.4.0-57-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 09/24/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1205
dmi.board.
dmi.board.name: P6T WS PRO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
---
ApportVersion: 2.20.1-0ubuntu2.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2016-10-17 (56 days ago)
InstallationMedia: Kubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
IwConfig:
enp7s0 no wireless extensions.
lo no wireless extensions.
MachineType: System manufacturer System Product Name
NonfreeKernelMo
Package: linux (not installed)
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageV
linux-
linux-
linux-firmware 1.157.5
RfKill:
Tags: xenial xenial
Uname: Linux 4.4.0-57-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 09/24/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1205
dmi.board.
dmi.board.name: P6T WS PRO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
description: | updated |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: kernel-da-key |
Changed in linux (Ubuntu Xenial): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in linux (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in linux (Ubuntu): | |
assignee: | nobody → Seth Forshee (sforshee) |
status: | Triaged → In Progress |
tags: | removed: kernel-da-key |
description: | updated |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Yakkety): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-xenial removed: verification-needed-xenial |
apport information