FS#75272 - [linux] SMB fails with newer kernel

Attached to Project: Arch Linux
Opened by Jan Ole Zabel (joz) - Friday, 08 July 2022, 09:50 GMT
Last edited by Toolybird (Toolybird) - Saturday, 09 July 2022, 21:39 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
With linux 5.18.9-arch1-1, SMB mounts stop working for me.
The error message is not very talkative:
```
[ 19.533137] FS-Cache: Loaded
[ 19.535284] Key type dns_resolver registered
[ 19.576706] Key type cifs.spnego registered
[ 19.576717] Key type cifs.idmap registered
[ 19.577168] CIFS: Attempting to mount \\Mount1
[ 19.584425] CIFS: VFS: cifs_mount failed w/return code = -22
[ 19.589498] CIFS: Attempting to mount \\Mount2
[ 19.593326] CIFS: VFS: cifs_mount failed w/return code = -22
```

When downgrading to linux 5.18.9.arch1-1, SMB mounts work as it should and the error message disappears:
```
[ 16.313843] FS-Cache: Loaded
[ 16.315928] Key type dns_resolver registered
[ 16.349210] Key type cifs.spnego registered
[ 16.349227] Key type cifs.idmap registered
[ 16.349645] CIFS: Attempting to mount \\Mount1
[ 16.383635] CIFS: Attempting to mount \\Mount2
```

Additional info:
* /etc/fstab:
```
//Mount1 /mount1 cifs noauto,x-systemd.automount,uid=1000,credentials=/home/joz/.smbcredentials,vers=3.1.1 0 0
//Mount2 /mount2 cifs noauto,x-systemd.automount,uid=1000,credentials=/home/joz/.smbcredentials,vers=3.1.1 0 0
```

Steps to reproduce:
Try to access the share or mount it manually.
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 09 July 2022, 21:39 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#75241 
Comment by Jan Ole Zabel (joz) - Friday, 08 July 2022, 11:17 GMT
I meant downgrading to 5.18.7.
Comment by Jonathon (jonathon) - Friday, 08 July 2022, 12:50 GMT
Have you checked whether this is resolved in 5.18.10 ?

Loading...