cifs mounts fails with error: cifs filesystem not supported by the system
cifs filesystem not supported by the system
DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:513 RUN ['mount', '-t', 'cifs', '//client1.ipa.test/homes', '/mnt/smb', '-o', 'user=user1@IPA.TEST,pass=SecretUser1'] DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 mount error: cifs filesystem not supported by the system DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 mount error(19): No such device DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:557 Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) DEBUG ipatests.pytest_ipa.integration.host.Host.client0.cmd161:transport.py:217 Exit code: 32
cifs mount should work
freeipa-server-4.9.9.dev-0.fc34.x86_64 samba-4.14.11-0.fc34.x86_64 sssd-client-2.5.2-2.fc34.x86_64 krb5-server-1.19.2-2.fc34.x86_64 httpd-2.4.51-1.fc34.x86_64
http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/bba5a084-775f-11ec-a958-fa163ee0f681/report.html
Metadata Update from @frenaud: - Issue tagged with: test-failure
Same failure seen in testing_master_latest PR 1440 report
testing_master_latest
This looks like a kernel issue in the images we use. Can you try to run that image locally and reproduce:
# modinfo cifs # modprobe cifs
I have no problem for cifs.ko on 5.14.14 kernel on F34.
cifs.ko
With the freeipa/ci-master-f35 box v 0.0.2:
[root@fedora ~]# uname -a Linux fedora 5.14.17-301.fc35.x86_64 #1 SMP Mon Nov 8 13:57:43 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux [root@fedora ~]# modprobe cifs [root@fedora ~]# echo $? 0 [root@fedora ~]# modinfo cifs filename: /lib/modules/5.14.17-301.fc35.x86_64/kernel/fs/cifs/cifs.ko.xz softdep: gcm softdep: ccm softdep: aead2 softdep: sha512 softdep: sha256 softdep: cmac softdep: aes softdep: nls softdep: md5 softdep: md4 softdep: hmac softdep: ecb version: 2.33 description: VFS to access SMB3 servers e.g. Samba, Macs, Azure and Windows (and also older servers complying with the SNIA CIFS Specification) license: GPL author: Steve French alias: smb3 alias: fs-smb3 alias: fs-cifs srcversion: 5A5B82958BED51E5E51C594 depends: fscache,libdes,libarc4,dns_resolver retpoline: Y intree: Y name: cifs vermagic: 5.14.17-301.fc35.x86_64 SMP mod_unload sig_id: PKCS#7 signer: Fedora kernel signing key sig_key: 09:0E:44:07:B2:27:7E:F8:B6:DD:EE:2B:B8:42:1C:B0:01:7B:4E:E5 sig_hashalgo: sha256 signature: 1A:38:A1:80:B4:AB:88:16:54:B8:4D:F3:2F:90:28:80:57:05:36:C1: EC:88:34:64:9A:3C:1D:43:7C:1A:D0:79:0B:36:1A:74:7B:D9:04:0A: E9:2F:EC:87:8E:F3:5C:2C:11:E8:91:92:7B:4E:E1:EE:C7:B5:58:44: FE:C7:53:82:11:75:63:19:0C:38:A4:70:0A:B9:89:9A:5D:0E:C4:6E: A3:C5:FD:82:5C:72:BC:B9:21:3E:3B:74:C9:D1:21:D9:12:A0:E3:BD: CA:49:E1:32:1F:5B:79:4C:44:2F:E5:B7:EB:96:E7:92:33:70:B5:60: AE:13:12:CF:01:CA:D6:11:C9:42:E9:FF:C1:BC:C1:12:85:29:B4:6B: 18:76:B7:04:2B:7F:C6:11:1D:60:52:F9:6B:64:D6:55:0C:BB:E9:AA: 68:DB:8F:C3:E8:34:9E:2C:98:EB:7F:CF:E2:EB:F5:F5:5D:D2:DE:7E: 1B:52:1F:36:CB:9F:2D:73:93:0D:1A:E2:D4:B6:DD:34:FE:80:70:14: F2:F0:EC:C0:22:52:E3:19:6C:BF:20:5C:14:44:1A:37:8D:D4:F1:29: 98:6E:F5:AC:61:BE:9A:4E:8A:E9:7C:60:5B:E2:7E:53:B0:3C:8F:28: C7:A0:C6:F1:69:A4:79:F8:13:E1:91:97:38:3B:D8:02:84:8A:EF:7F: DF:69:92:02:7B:B6:09:8C:8F:5A:2D:65:60:1C:4D:AC:19:6B:4E:63: 4E:91:A6:56:B3:26:96:AA:A4:5A:47:12:39:A4:85:60:C4:68:54:49: 9D:32:6B:8F:5B:6A:F9:27:05:83:56:4D:50:8D:D5:91:0D:F0:80:ED: 1C:F4:CF:E3:61:DA:EC:47:D9:67:C2:CC:BB:88:3C:5D:D0:1D:06:44: 5E:13:92:14:A9:B1:C2:12:C4:E9:C3:7F:FF:B0:7E:C8:E0:A1:06:B5: 59:A9:E8:E1:38:CD:01:E0:A6:BA:DF:48:A7:7E:41:E7:41:C5:5A:11: CF:10:44:1C:4D:53:A2:0B:F2:1F:7E:20:41:8D:AE:E6:0D:7D:BD:5D: AE:EC:25:99:13:C6:D6:31:B2:B2:CD:9F:4C:25:DD:9D:50:9B:96:72: AC:97:50:51:C2:EC:1F:07:EB:42:33:CE:10:00:19:36:7A:64:DF:DA: 99:B7:75:A0:A6:49:4C:C3:95:30:90:94:10:19:05:51:A4:CE:09:0C: D5:39:84:F6:04:15:89:20:8D:38:42:08:85:86:ED:EE:93:AA:1B:6B: AE:0D:EE:66:CD:5F:52:04:DF:D7:33:20:3D:1D:3B:83:22:51:65:77: E9:18:78:CB:45:18:42:1E:21:F9:0C:E3 parm: CIFSMaxBufSize:Network buffer size (not including header) for CIFS requests. Default: 16384 Range: 8192 to 130048 (uint) parm: cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64 (uint) parm: cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256 (uint) parm: cifs_max_pending:Simultaneous requests to server for CIFS/SMB1 dialect (N/A for SMB3) Default: 32767 Range: 2 to 32767. (uint) parm: enable_oplocks:Enable or disable oplocks. Default: y/Y/1 (bool) parm: enable_gcm_256:Enable requesting strongest (256 bit) GCM encryption. Default: n/N/0 (bool) parm: require_gcm_256:Require strongest (256 bit) GCM encryption. Default: n/N/0 (bool) parm: enable_negotiate_signing:Enable negotiating packet signing algorithm with server. Default: n/N/0 (bool) parm: disable_legacy_dialects:To improve security it may be helpful to restrict the ability to override the default dialects (SMB2.1, SMB3 and SMB3.02) on mount with old dialects (CIFS/SMB1 and SMB2) since vers=1.0 (CIFS/SMB1) and vers=2.0 are weaker and less secure. Default: n/N/0 (bool) [root@fedora ~]#
With the 0.0.3:
[root@fedora ~]# uname -a Linux fedora 5.15.13-200.fc35.x86_64 #1 SMP Wed Jan 5 16:39:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux [root@fedora ~]# modprobe cifs modprobe: FATAL: Module cifs not found in directory /lib/modules/5.15.13-200.fc35.x86_64 [root@fedora ~]# modinfo cifs modinfo: ERROR: Module cifs not found. [root@fedora ~]# ls /lib/modules/5.15.13-200.fc35.x86_64/kernel/fs/cifs/ [root@fedora ~]#
The image is missing the cifs module.
@abiagion could you check if a rebuild of the image is needed? Same problem is seen on master-latest, master-previous, ipa-4-9-latest and ipa-4-9-previous
I think this commit in Fedora kernel broke it in November 2021: https://src.fedoraproject.org/rpms/kernel/c/c2b24705e7bef009ee3bf63ebcfa111b92996936?branch=f35.
This means it is now part of kernel-modules subpackage.
Also seen in [testing_master_previous] Nightly PR #1438 , report
Seen in [testing_master_latest_selinux] Nightly PR #1447 report
Metadata Update from @abiagion: - Issue assigned to abiagion
Thekernel-modulespackage has been installed in the boxes after https://github.com/freeipa/freeipa-pr-ci/pull/450.
kernel-modules
New boxes:
@frenaud's PR updating the definitions for master branch: https://github.com/freeipa/freeipa/pull/6147
master
Metadata Update from @abiagion: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6147
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.