FS#68666 - [libcap-ng] [cifs-utils] mounts.cifs fails after upgrade to libcap-ng 0.8.1-1
Attached to Project:
Arch Linux
Opened by Anonymous (mycifsbroke) - Thursday, 19 November 2020, 04:46 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 17 December 2020, 09:38 GMT
Opened by Anonymous (mycifsbroke) - Thursday, 19 November 2020, 04:46 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 17 December 2020, 09:38 GMT
|
Details
After upgrading to libcap-ng 0.8.1-1, mount.cifs fails to
mount shares with error:
"Unable to apply new capabilities" Fixed after downgrading to libcap-ng 0.8-1 Steps to reproduce: 1. Install testing/libcap-ng-0.8.1-1 2. Attempt to mount share with mount.cifs |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Thursday, 17 December 2020, 09:38 GMT
Reason for closing: Fixed
Additional comments about closing: 6.11-3
Thursday, 17 December 2020, 09:38 GMT
Reason for closing: Fixed
Additional comments about closing: 6.11-3
FS#68664capng_apply returning an error with libcap-ng 0.8-1:if (capng_apply(CAPNG_SELECT_BOTH)) {
fprintf(stderr, "Unable to apply new capability set.\n");
return EX_SYSERR;
}
I haven't had the time to look into the mailing list there, but so far no fix for current libcap-ng has landed in its git repository :-/
Patching the function in a similar way to trim_capabilities() fixes the issue. I can provide a patch if desired.
I'm in contact with Jonas in regard of submitting the patch upstream.
PKGBUILD (2 KiB)