Package: libcap2
Version: 1:2.22-1.2
Severity: important
Tags: upstream

Dear Maintainer,

The libcap2 source tree contains a copy of the header file
linux/capability.h that is from an older kernel version and
is missing the capability CAP_WAKE_ALARM (35).

This causes e.g. lxc-start to fail when running as non-root
using capabilities:

  lxc-start: failed to cap_get_flag: Invalid argument
  lxc-start: failed to clone(0x6c020000): Operation not permitted
  lxc-start: Operation not permitted - failed to fork into a new namespace

lxc loops through the capabilities up to CAP_LAST_CAP (35), but
cap_get_flag returns an error since it has CAP_LAST_CAP=34.

The library should either be patched to use the libc6-dev version
of the header file (/usr/include/linux/capability.h), or the
included header file should be upgraded to a later version.

Regards, Henrik

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcap2 depends on:
ii  libattr1           1:2.4.46-8
ii  libc6              2.13-35
ii  multiarch-support  2.13-35

libcap2 recommends no packages.

libcap2 suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to