SRU request submitted: https://lists.ubuntu.com/archives/kernel-team/2018-October/096380.html
** Description changed: + == SRU Justification == + Commit 395a2076b406 is needed to fix a bug in Bionic which causes mounting + SOFS SMB shares to fail. It was found that this commit fixes the bug + after a reverse bisect. + + This fix has already landed in Cosmic. + + == Fix == + 395a2076b406 ("cifs: connect to servername instead of IP for IPC$ share)" + + == Regression Potential == + Low. This is a one liner limited to cifs. It was also cc'd to upstream + stable, so it has had additional upstrem review. + + == Test Case == + A test kernel was built with this patch and tested by the original bug reporter. + The bug reporter states the test kernel resolved the bug. + + Ubuntu 18.04.1 LTS 4.15.0-33.36-generic cifs-utils 2:6.8-1 Mounting scale-out SMB shares is failing. mount -t cifs -o credentials=/tmp/creds,domain=cbs.com,uid=114,gid=119,vers=3.0,_netdev,nodfs //s2dscaleout.cbs.com/glance-images /tmp/test_mount mount error(5): Input/output error Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) What works: * mounting the share from a 16.04 host * mounting standalone smb3 shares Relevant error from the log (full logs attached separately): Sep 14 11:12:05 r07-u13 kernel: Status code returned 0xc00000c9 STATUS_NETWORK_NAME_DELETED Sep 14 11:12:05 r07-u13 kernel: /build/linux-81MBYC/linux-4.15.0/fs/cifs/smb2maperror.c: Mapping SMB2 status code 0xc00000c9 to POSIX err -5 Share server os: Windows Server 2016 10.0.14393 PS C:\Users\jujuadmin> get-smbshare glance-images | fl * ShareState : Online AvailabilityType : ScaleOut ShareType : FileSystemDirectory FolderEnumerationMode : Unrestricted CachingMode : Manual SmbInstance : Default CATimeout : 0 ConcurrentUserLimit : 0 ContinuouslyAvailable : True CurrentUsers : 2 Description : EncryptData : False Name : glance-images Path : C:\ClusterStorage\Volume1\GLANCE-IMAGES Scoped : True ScopeName : S2DSCALEOUT ShadowCopy : False Special : False Temporary : False Volume : \\?\Volume{5faf880d-d308-4058-9ec2-d19d48089495}\ --- ProblemType: Bug AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Sep 7 16:51 seq crw-rw---- 1 root audio 116, 33 Sep 7 16:51 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay' ApportVersion: 2.20.9-0ubuntu7.3 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: DistroRelease: Ubuntu 18.04 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig' MachineType: Dell Inc. PowerEdge R710 Package: linux (not installed) PciMultimedia: ProcEnviron: TERM=xterm-256color PATH=(custom, no user) LANG=C.UTF-8 SHELL=/bin/bash ProcFB: 0 mgadrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-33-generic root=UUID=ba74e4cf-9634-4049-abd8-0ed721836a41 ro ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-33-generic N/A linux-backports-modules-4.15.0-33-generic N/A linux-firmware 1.173.1 RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill' Tags: bionic uec-images Uname: Linux 4.15.0-33-generic x86_64 UnreportableReason: This report is about a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: False dmi.bios.date: 07/23/2013 dmi.bios.vendor: Dell Inc. dmi.bios.version: 6.4.0 dmi.board.name: 0YDJK3 dmi.board.vendor: Dell Inc. dmi.board.version: A14 dmi.chassis.type: 23 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvr6.4.0:bd07/23/2013:svnDellInc.:pnPowerEdgeR710:pvr:rvnDellInc.:rn0YDJK3:rvrA14:cvnDellInc.:ct23:cvr: dmi.product.name: PowerEdge R710 dmi.sys.vendor: Dell Inc. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1792580 Title: Mounting SOFS SMB shares fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1792580/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs