Hi, Description of problem: I try to mount a cifs directory : mount.cifs //Iomega/NetHDD /mnt/Iomega I get the following error message : Unable to apply new capability set. I had a look on Internet and the issue seems to come from the lib(64)cap-ng package starting from version 0.8.1-1. (see : https://www.reddit.com/r/archlinux/comments/kc6zny/sambacifs_mount_is_broken_at_the_moment) Version 0.8.2 is used on Mageia8. Version-Release number of selected component (if applicable): Mageia 8 package : lib64cap-ng0-0.8.2-1.mga8 How reproducible: mount.cifs <Cifs dir> <Mount Point> Could you try to correct this bug ? Mageia7 do not have this issue. Regards. Xuo.
Not tested. Thanks pointing this. I don't have samba shares on this computer. Asking QA and MLO IRC if someone have samba shares.
CC: (none) => ouaurelienSource RPM: (none) => libcap-ng-0.8.2-1.mga8.src.rpm
FWIW - I tested mount.cifs on mga8 in my environment earlier today and didn't have a problem, but I was testing against a CentOS 7 server rather than an appliance such as in the description. My mga8 test laptop has the release versions of both lib64cap-ng0 and cifs-utils (the latter of which was mentioned in the reddit thread). I do recall a kernel change made awhile back that seemed to inordinately affect appliance type devices as I recall. Maybe it's worth a look. https://www.linux.com/topic/desktop/linux-kernel-413-dont-use-smb1/ I some cases where the host does not support anything greater, you have to force smbv1.
CC: (none) => mrambo
Hi, The package cifs-utils was missing. For some reason, after the update from Mageia7 to Mageia8, it was no more installed. This is what I think as the mounts were working fine before the update. Now mount.cifs and cifs mounts using autofs are working fine. Thank you for your help. Regards. Xuo.
Status: NEW => RESOLVEDResolution: (none) => INVALIDCC: (none) => xuoy
The bug is that cifs-utils got removed during upgrade. Do you have a log from the upgrade? What method did you use to upgrade?
Summary: The cifs mounts (and automounts) do not work on Mageia 8. => Upgrade bug: cifs-utils got removedPriority: Normal => HighResolution: INVALID => (none)Status comment: (none) => Comment 3+Source RPM: libcap-ng-0.8.2-1.mga8.src.rpm => (none)URL: https://www.reddit.com/r/archlinux/comments/kc6zny/sambacifs_mount_is_broken_at_the_moment => (none)CC: (none) => friStatus: RESOLVED => REOPENED
Hi, If it was necessary for Mageia7 to perform cifs mounts, so, yes, I think it has been removed. Here are the commands I've run for the upgrade : systemctl isolate multi-user.target script upgrade_log.txt urpmi --auto-update --auto --force urpmi.removemedia --a urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.8.$ARCH.list' urpmi --auto-update --auto --force I've attached the upgrade log file. Regards. Xuo.
Created attachment 12479 [details] Mageia7 to Mageia8 upgrade log file.
Thanks providing log file. I don't find any "cifs*" package involved in the upgrade. The above mentioned cifs-utils was not installed in Mageia 7. This is *NOT* an upgrade issue. Digging more: I wonder why now it is necessary. better packaging? Should be recommended by samba? $ urpmq -i cifs-utils Name : cifs-utils Version : 6.11 Release : 2.mga8 Group : Networking/Other Size : 397693 Architecture: x86_64 Source RPM : cifs-utils-6.11-2.mga8.src.rpm URL : http://www.samba.org/linux-cifs/cifs-utils/ Summary : Tools for Managing Linux CIFS Client Filesystems Description : Tools for Managing Linux CIFS Client Filesystems. $ urpmq --whatrequires cifs-utils cifs-utils $ urpmq --whatrequires-recursive cifs-utils cifs-utils Hum. $ rpm -qa | grep cifs $ rpm -qa | grep samba samba-client-4.12.11-1.mga8 samba-common-4.12.11-1.mga8 lib64samba1-4.12.11-1.mga8 lib64samba-dc0-4.12.11-1.mga8 lib64kdc-samba4_2-4.12.11-1.mga8 upstream website: The in-kernel CIFS filesystem is generally the preferred method for mounting SMB/CIFS shares on Linux. The in-kernel CIFS filesystem relies on a set of user-space tools. That package of tools is called cifs-utils. Although not really part of Samba proper, these tools were originally part of the Samba package. For several reasons, shipping these tools as part of Samba was problematic and it was deemed better to split them off into their own package. cifs-utils should be installed by default if samba-client s also installed. As there is no maintainer for this package I added the committers in CC. (Please set the status to 'assigned' if you are working on it)
CC: (none) => geiger.david68210, luigiwalserSummary: Upgrade bug: cifs-utils got removed => cifs-utils is userspace cifs vfs from Kernel, should be installed by default with samba-client to help user experienceAssignee: bugsquad => pkg-bugsVersion: 8 => CauldronStatus: REOPENED => NEWWhiteboard: (none) => MGA8TOOStatus comment: Comment 3+ => (none)Source RPM: (none) => cifs-utils-6.11-2.mga8.src.rpm
Source RPM: cifs-utils-6.11-2.mga8.src.rpm => cifs-utils-6.12-1.mga9.src.rpmStatus comment: (none) => cifs-utils-6.11-2.mga8.src.rpmVersion: Cauldron => 8
Version: 8 => Cauldron
CC: (none) => doktor5000
Smells like errata to me
Keywords: (none) => FOR_ERRATA8, FOR_ERRATA9Whiteboard: MGA8TOO => MGA9TOO, MGA8TOO