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?
URL: https://www.reddit.com/r/archlinux/comments/kc6zny/sambacifs_mount_is_broken_at_the_moment => (none)Status comment: (none) => Comment 3+Source RPM: libcap-ng-0.8.2-1.mga8.src.rpm => (none)Priority: Normal => HighResolution: INVALID => (none)Summary: The cifs mounts (and automounts) do not work on Mageia 8. => Upgrade bug: cifs-utils got removedStatus: RESOLVED => REOPENEDCC: (none) => fri
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)
Status: REOPENED => NEWSummary: 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 => CauldronWhiteboard: (none) => MGA8TOOStatus comment: Comment 3+ => (none)Source RPM: (none) => cifs-utils-6.11-2.mga8.src.rpmCC: (none) => geiger.david68210, luigiwalser
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
Whiteboard: MGA8TOO => MGA9TOO, MGA8TOOKeywords: (none) => FOR_ERRATA8, FOR_ERRATA9
I don't actually think this is a problem for errata, or even a problem with the cifs-tools package. Since the time this bug was started I've run into this myself with the scripts I use to auto-mount user shares. If cifs-tools don't exist, mount -t cifs fails. I think Aurelien had it right in comment 7. Since the only place cifs-tools are used are with smb file mounts, I think samba is the package that needs to be adjusted to Recommend cifs-tools. I would make this change but I think respect for the maintainer says it should be directed to him first. Reassigning to Buchan to see what he says. Moreover, I am willing to do this with his permission, if he agrees, as I do have the time. I hope I've correctly identified Buchan's contact address.
Assignee: pkg-bugs => bgmilneStatus comment: cifs-utils-6.11-2.mga8.src.rpm => samba-4.17.10-1.mga9.src.rpm
We lost a lot of improvements when upgrading from Samba-3.x to 4.x: http://svnweb.mageia.org/packages/cauldron/samba/current/SPECS/samba.spec?r1=852307&r2=854335 You can see that we lost: %package client ... Requires: cifs-utils >= 4.4 as part of that. I'll add this one back as part of https://bugs.mageia.org/show_bug.cgi?id=32560
CC: (none) => bgmilneAssignee: bgmilne => bgmilne
Depends on: (none) => 32560
Fixed by bug#32560
Resolution: (none) => FIXEDStatus: NEW => RESOLVED
Whiteboard: MGA9TOO, MGA8TOO => MGA9TOOKeywords: FOR_ERRATA8, FOR_ERRATA9 => (none)