Bug 2159059

Summary: GUI locks up accessing Samba share through file browser after upgrading from kernel 6.0.15-300.fc37.x86_64
Product: [Fedora] Fedora Reporter: Christopher Archer <chrisa>
Component: kernelAssignee: Matthias Clasen <mclasen>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 37CC: acaringi, adscvr, airlied, alciregi, bskeggs, development.group, gnome-sig, hdegoede, hpa, jarodwilson, jglisse, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, mclasen, ptalbert, rhughes, sandmann, shortbike, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-09 05:36:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christopher Archer 2023-01-08 07:04:27 UTC
Description of problem:
After upgrading from 6.0.15-300.fc37.x86_64, when Samba shares are mounted any attempt to access the share using a file browser (e.g. Nautilus or Nemo), but files can be accessed from command line.
Once system is locked up, restart is the only way to recover.

The problem is seen booting with kernel 6.0.16-300.fc37.x86_64 or 6.0.17-300.fc37.x86_64

The problem is NOT seen when booting kernel 6.0.15-300.fc37.x86_64

Version-Release number of selected component (if applicable):
nautilus-43.1-1.fc37.x86_64

How reproducible:


Steps to Reproduce:
1. Boot with kernel later than 6.0.15-300.fc37.x86_64
2. Mount Samba share, e.g.
sudo mount -t cifs --source <//SOURCE/DIR> --target /local/dir -o vers=2.0,workgroup=MYGROUP,username=me,"uid"=$(id -u),gid=$id -g),password="pwd"
3. Attempt to use file browser, e.g. nautilus

Actual results:
System locks up: does not respond to keyboard or mouse

Expected results:
Should NOT lock up, and should be able to access Samba share via mount point in file browser

Additional info:
Works as expected when booting kernel 6.0.15-300.fc37.x86_64

Comment 1 Christopher Archer 2023-01-08 07:11:16 UTC
Update: lock up sometimes happens when browsing from the command line, e.g.
ls -l </local/dir where Samba share is mounted>

Comment 2 Christopher Archer 2023-01-08 07:35:56 UTC
The problem seems to be around the vers parameter:
- if '1.0', 'default' or omitted, lock-up happens even if browsing from the command line
- if '2.0' or '3.0', lock up happens when attempting to use GUI file browser

In smb.conf on the Samba server,

        # This is TEMPORARY until we get SMB1 scrubbed 
        ntlm auth = true
        server min protocol = NT1
        client min protocol = NT1

I believe this was put in place to avoid problems accessing Samba shares by certain clients on my network

Comment 3 Phil Seymour 2023-01-08 13:25:51 UTC
Please see my comments in https://bugzilla.redhat.com/show_bug.cgi?id=2159009

Comment 4 Christopher Archer 2023-01-08 21:09:27 UTC
Thanks Phil.
I'm okay with closing this as a dupe of 2159009

Comment 5 Christopher Archer 2023-01-09 05:36:52 UTC

*** This bug has been marked as a duplicate of bug 2159009 ***

Comment 6 Red Hat Bugzilla 2023-09-19 04:32:19 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days