Include cifs.ko in linux-modules package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Lunar |
Fix Committed
|
High
|
Roxana Nicolescu |
Bug Description
SRU Justification:
[Impact]
Commit: "smb: move client and server files to common directory fs/smb" introduced in 2023.09.04 moved the fs/cifs directory to fs/sb/client. The inclusion list for linux-modules was not updated, it still contains the old path. This means that the cifs.ko module cannot be loaded if only linux-modules package is installed, now being part of linux-modules-
For lunar:main this is not a problem because linux-modules-extra is always installed, but for derivatives like aws, azure etc, this module cannot be loaded without explicitly installing linux-modules-
[How to reproduce it]:
1. Install the latest azure kernel 6.2.0-1016.16
2. Load cifs module
$ modprobe cifs
modprobe: FATAL: Module cifs not found in directory /lib/modules/
If modules-extra is installed, this works.
[Fix]
Replace fs/cifs/* with fs/smb/client/* in debian.
This is going to be done in s2023.10.02 cycle for derivatives.
[Test Plan]
1. Apply the fix to one of the derivative (azure), build a new kernel and install it
2. Load cifs module
$ modprobe cifs
It should work without installing modules-extra.
[Regression potential]
Very low, it's a straightforward fix.
[Other Info]
Sending a patch for every derivative takes time and each derivative will be fixed once this proposal is acked.
There is also the possibility to do it via cranky fix, but owners may omit it during security updates and it's hard to enforce it. Plus, it is a one-time change.
description: | updated |
tags: | added: sru-s2023.10.02 |
tags: |
added: sru-s20231002 removed: sru-s2023.10.02 |
description: | updated |
Changed in linux (Ubuntu): | |
status: | New → Invalid |
Changed in linux (Ubuntu Lunar): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Roxana Nicolescu (roxanan) |
summary: |
- Cifs.ko not part of linux-modules anymore + Include cifs.ko in linux-modules |
summary: |
- Include cifs.ko in linux-modules + Include cifs.ko in linux-modules package |
Changed in linux (Ubuntu Lunar): | |
status: | In Progress → Fix Committed |
This bug is awaiting verification that the linux-kvm/ 6.2.0-1017. 17 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- lunar-linux- kvm' to 'verification- done-lunar- linux-kvm' . If the problem still exists, change the tag 'verification- needed- lunar-linux- kvm' to 'verification- failed- lunar-linux- kvm'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!