[Bug 1194945] New: Cifs `umount` returns 32 and `df` fails with no permission
https://bugzilla.suse.com/show_bug.cgi?id=1194945 Bug ID: 1194945 Summary: Cifs `umount` returns 32 and `df` fails with no permission Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other OS: openSUSE Leap 15.2 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: mantel@pre-sense.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 855424 --> https://bugzilla.suse.com/attachment.cgi?id=855424&action=edit cifs kernel debug output Hello! We have encountered two CIFS-issues which appear reproducible. But the conditions to reproduce are unknown to us. The setup is the following: - An linux client which mounts a cifs share. - Windows Server which offers the cifs share. Sadly, we could not determine which windows server versions are related in the bugs. - The cifs share contains subfolders for various users, which are readable for the users. - The parent folder is readable, but not writable for the users. - Example: //domain_name/company_users/username - company_users is a directory. the user has readonly permissions on that directory. - username is a subdirectory of company_users. the user has write permissions on that directory. We encounter two CIFS-issues. They might be considered as two seperate bugs, but since they occur in the same setup I just list them here: - `df` fails with permission denied when using it on the share. - `umount` of a cifs share fails with status code 32. Before the update to openSUSE Leap 15.2 the umount operation worked. It seems to be a regression. We could determine the kernel version which introduced the `umount` regression: ok 5.3.18-lp152.63.1 ok 5.3.18-lp152.66.2 ok 5.3.18-lp152.69.1 --> last kernel which can umount FAIL 5.3.18-lp152.72.1 FAIL 5.14.15-lp153.2.1.g3416a5a In an upstream forum was a description for enhanced debug informations of the kernel. You can find enhanced debug output in an attached file, at the end of the file (lines 721 - 739). You can also find the `df` permission denied at line 422. We dont know this is an actual regression. Every kernel we tried from openSUSE Leap 15.2 didn't work. We would like to debug this more but we have no clue how to continue at this point. Any help is welcome. Thanks, Alex -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194945
Takashi Iwai
https://bugzilla.suse.com/show_bug.cgi?id=1194945
Enzo Matsumiya
https://bugzilla.suse.com/show_bug.cgi?id=1194945
https://bugzilla.suse.com/show_bug.cgi?id=1194945#c1
Enzo Matsumiya
https://bugzilla.suse.com/show_bug.cgi?id=1194945
https://bugzilla.suse.com/show_bug.cgi?id=1194945#c2
--- Comment #2 from Enzo Matsumiya
https://bugzilla.suse.com/show_bug.cgi?id=1194945
https://bugzilla.suse.com/show_bug.cgi?id=1194945#c3
--- Comment #3 from Enzo Matsumiya
Hi @Ales, any updates here?
Alex, rather. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194945
https://bugzilla.suse.com/show_bug.cgi?id=1194945#c4
mantel
https://bugzilla.suse.com/show_bug.cgi?id=1194945
James McDonough
https://bugzilla.suse.com/show_bug.cgi?id=1194945
https://bugzilla.suse.com/show_bug.cgi?id=1194945#c9
--- Comment #9 from Enzo Matsumiya
With a readonly root dir and a RW subdir, I can reproduce it on TW too, but there, any writes fails. umount and df seems to work fine. Can you confirm that please?
I'm discarding the write issue as it seems to be expected behaviour. But the umount and df works fine. I'll be waiting for confirmation this has been fixed in newer releases. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194945
https://bugzilla.suse.com/show_bug.cgi?id=1194945#c11
Enzo Matsumiya
Is there anything else I can do here to bring this forward?
Yes. Testing Leap 15.3 (and Tumbleweed, if possible) would be a good start. If it still fails, please provide debug logs + pcap. Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194945
Enzo Matsumiya
https://bugzilla.suse.com/show_bug.cgi?id=1194945
https://bugzilla.suse.com/show_bug.cgi?id=1194945#c13
Enzo Matsumiya
As said before, I already tested Leap 15.3.
(In reply to Moritz Duge from comment #5)
[...] 1. Both problems ("umount" and "df") are still present in openSUSE-15.3!
Ah sorry I missed it, too many bugs...
Meanwhile I even tested the Leap 15.4 Beta kernel version 5.14.21-150400.11.2. And the bug is also still present there.
Ok, I still can't reproduce. I built a kernel with HEAD 14302ee3301, and still couldn't reproduce. Without a pcap it's really hard to tell the details what the server is responding with (*). I'm using a Windows Server 2019 file server share, and I don't have easy access to a NetApp appliance to try this. I'm mounting this as a AD-DC user (kerberos), which has read-only rights on the share, and RW on the directory. Do you have any more details to add about the share settings? Apologies for the long back-and-forth here, but without reproducing the bug and without more details, it's hard for me to even guess where to begin. (*) - if you could anonymize the pcap and share only smb2 packets, that should do -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194945
https://bugzilla.suse.com/show_bug.cgi?id=1194945#c14
Enzo Matsumiya
participants (1)
-
bugzilla_noreply@suse.com