[Bug 1181710] New: CIFS_MOUNT_USE_PREFIX_PATH seems disabled since Linux-5.3.18-lp152.60 patch
http://bugzilla.opensuse.org/show_bug.cgi?id=1181710 Bug ID: 1181710 Summary: CIFS_MOUNT_USE_PREFIX_PATH seems disabled since Linux-5.3.18-lp152.60 patch Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: x86-64 OS: openSUSE Leap 15.2 Status: NEW Severity: Normal Priority: P5 - None Component: Samba Assignee: samba-maintainers@SuSE.de Reporter: duge@pre-sense.de QA Contact: samba-maintainers@SuSE.de Found By: --- Blocker: --- Since the Linux-5.3.18-lp152.60 patch (2021-01-15) I can't access CIFS shares where the parent folder has no read permissions. Example: mount -t cifs \\server\users_share\alice /mnt Alice has no permissions for the folder "users_share", so she can't see other usernames. But Alice has permissions for the folder "alice". Until 5.3.18-lp152.57 such a mount worked fine. I just got this message with 5.3.18-lp152.57: | cannot query dirs between root and final path, enabling CIFS_MOUNT_USE_PREFIX_PATH But the mount was fine. I believe this patch might be the cause for this problem: kernel-default.15528/patches.suse.tar.bz2/cifs-ensure-correct-super-block-for-DFS-reconnect.patch:158 https://build.opensuse.org/package/show/openSUSE:Leap:15.2:Update/kernel-def... Note: This is about the Linux kernel on the client. The server is a NetApp device based on FreeBSD and Samba: https://en.wikipedia.org/wiki/NetApp I'm currently trying to reproduce this with different servers. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181710 Moritz Duge <duge@pre-sense.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Samba |Kernel Assignee|samba-maintainers@SuSE.de |kernel-bugs@opensuse.org QA Contact|samba-maintainers@SuSE.de |qa-bugs@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181710 http://bugzilla.opensuse.org/show_bug.cgi?id=1181710#c1 --- Comment #1 from Paulo Alcantara <palcantara@suse.com> --- Thanks for the report. We're gonna investigate it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181710 http://bugzilla.opensuse.org/show_bug.cgi?id=1181710#c2 --- Comment #2 from Moritz Duge <duge@pre-sense.de> --- More details about the NetApp server: It's a: NetApp Data ONTAP 9.5P8 with SMB1, SMB2 and SMB2.1 enabled. But because -o vers=2.0 is being used for the mount other versions than SMB2 shouldn't apply. I've tried reproducing with a Windows-2012 and a openSUSE-15.2 (with Samba) server. In both cases I was able to trigger "enabling CIFS_MOUNT_USE_PREFIX_PATH" by doing a "chmod -r" on the upper "users_share" directory on the server. But I wasn't able to reproduce the absence of "enabling CIFS_MOUNT_USE_PREFIX_PATH" when using Linux-5.3.18-lp152.60 on the client. So until now I can only reproduce the bug if the server is a NetApp. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181710 http://bugzilla.opensuse.org/show_bug.cgi?id=1181710#c3 Paulo Alcantara <palcantara@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |samba-maintainers@SuSE.de --- Comment #3 from Paulo Alcantara <palcantara@suse.com> --- Hi Moritz, Thanks for the info! Could you try below test kernel package and see if your issue is gone # zypper ar https://download.opensuse.org/repositories/home:/pauloac:/kernel-source-bsc1... kernel-test # zypper in --from kernel-test --oldpackage kernel-default # reboot ... Make sure you're running the expected kernel version 5.3.18-lp152.1.ged1a294-default by selecting it earlier in the GRUB2 boot menu. If it didn't work, please provide network captures and verbose dmesg of both working and non-working kernel versions. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181710 http://bugzilla.opensuse.org/show_bug.cgi?id=1181710#c4 --- Comment #4 from Moritz Duge <duge@pre-sense.de> --- (In reply to Paulo Alcantara from comment #3)
[...] Could you try below test kernel package and see if your issue is gone
Short answer: This kernel solves the problem! https://download.opensuse.org/repositories/home:/pauloac:/kernel-source-bsc1... I can provide more information later on if still needed. Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181710 http://bugzilla.opensuse.org/show_bug.cgi?id=1181710#c5 --- Comment #5 from Moritz Duge <duge@pre-sense.de> --- Will there be an official openSUSE-LEAP-15.2 update for this? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181710 http://bugzilla.opensuse.org/show_bug.cgi?id=1181710#c6 --- Comment #6 from Paulo Alcantara <palcantara@suse.com> --- (In reply to Moritz Duge from comment #5)
Will there be an official openSUSE-LEAP-15.2 update for this?
Yep. I'm gonna send this patch upstream and after review, I'll backport it to leap 15.2. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1181710 http://bugzilla.opensuse.org/show_bug.cgi?id=1181710#c7 Paulo Alcantara <palcantara@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from Paulo Alcantara <palcantara@suse.com> --- (In reply to Paulo Alcantara from comment #6)
(In reply to Moritz Duge from comment #5)
Will there be an official openSUSE-LEAP-15.2 update for this?
Yep. I'm gonna send this patch upstream and after review, I'll backport it to leap 15.2.
Moritz, FYI, the fix has been queued to openSUSE-15.2 kernel branch. It should be available in the next maintenance update. Closing. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com