kernel 4.4.0.97.102 breaks DFS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Fix Released
|
Medium
|
|||
linux (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
OS: Ubuntu Desktop 16.04.3
We connect to Windows DFS using automounter with our Linux 16.04 workstations to let users access the windows shares. Until kernel version 4.4.0-96 this worked without any issues. However if a computer updates to kernel 4.4.0.97.102, using the same configs and samba version, it stops working and reports a "ls: cannot access xx: File name too long" error. (where xx is a foldername)
Also if you run "ls -all" you will see:
d????????? ? ? ? ? ? Applications
on the same computer selecting kernel 4.4.0.21.22 at grub menu:
drwx--x--x 2 root root 0 Oct 20 16:44 Applications
Mount commando output (removed hostnames and IP numbers ) on computer with kernel 4.4.0.21.22
//XXX/Public on /vol/winshare/
Mount commando output (removed hostnames and IP numbers ) on the same computer with kernel 4.4.0.97.102
//XXX/Public on /vol/winshare/
During these tests the only thing that changed is the running kernel, no other changes were applied.
autofs config file used for this connection
Public -fstype=
tags: | added: dfs |
tags: | added: kernel |
tags: | added: cifs mount samba windows |
description: | updated |
description: | updated |
description: | updated |
affects: | ubuntu → linux (Ubuntu) |
description: | updated |
description: | updated |
Changed in linux: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
tags: | added: cscc |
Ever since updating to 4.12.10, I have been getting "File name too long" messages when accessing my CIFS share:
$ ls /nfs/users/test
ls: cannot access '/nfs/users/test': File name too long
On my system, the CIFS share is mounted on /nfs/users. (An NFS export was transitioned to CIFS a while back, hence the oddly named mount point.)
This issue goes away if I revert to 4.12.8. Commit d3edede looks relevant.