FS#46664 - [libsystemd] missing the libcap dependency

Attached to Project: Arch Linux
Opened by Cel Skeggs (skeggsc) - Sunday, 11 October 2015, 20:57 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 18 June 2016, 14:23 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
procps-ng needs libcap, but neither it nor any of its dependencies depend on the libcap package.

This doesn't show up as an issue normally because some of the packages in base depend on libcap, so it just so happens to be installed on normal systems.

I ran across this when trying to add procps-ng into a minimal hastur container.

Additional info:
* Checked with core/procps-ng-3.3.11-2-x86_64
* This is likely to be due to #44366; systemd does happen to depend on libcap, which would have made this work properly then, but now that procps-ng depends on libsystemd instead, libcap is not provided.

Steps to reproduce:

Try this:
mkdir example && mount -t tmpfs tmpfs example && pacstrap example procps-ng && chroot example top; umount example && rmdir example
(This will fail due to not having libcap.so.2 available.)
and this:
mkdir example && mount -t tmpfs tmpfs example && pacstrap example libcap procps-ng && chroot example top; umount example && rmdir example
(This will also fail, but only because /proc wasn't mounted in this example - this occurs after the previous failure would have.)
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 18 June 2016, 14:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd-229-1
Comment by Doug Newgard (Scimmia) - Sunday, 11 October 2015, 21:46 GMT
Nothing in procps-ng is linked to libcap. The problem must be elsewhere.

Loading...