RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1046008 - Some capabilities aren't be defined
Summary: Some capabilities aren't be defined
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libcap
Version: 7.2
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Karsten Hopp
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-23 07:50 UTC by Alex Jia
Modified: 2016-02-01 08:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-01 08:55:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alex Jia 2013-12-23 07:50:57 UTC
Description of problem:
The capabilities '35' and '36' are not be defined

Version-Release number of selected component (if applicable):
# rpm -q libcap libvirt-sandbox libvirt systemd kernel
libcap-2.22-6.el7.x86_64
libvirt-sandbox-0.5.0-7.el7.x86_64
libvirt-1.1.1-16.el7.x86_64
systemd-207-8.el7.x86_64
kernel-3.10.0-0.rc7.64.el7.x86_64


How reproducible:
always

Steps to Reproduce:
1. To create a sandbox container
# virt-sandbox -c lxc:/// -n test_1 -- /bin/sh
sh-4.2# 

2. To open a new terminal and get PID of the process 'libvirt-sandbox-init-common'
# ps -auxf | grep -A 3 -i [L]ibvirt_lxc
root     20372  0.0  0.0 164056  3164 ?        Ssl  15:42   0:00 /usr/libexec/libvirt_lxc --name test_1 --console 23 --console 24 --security=selinux --handshake 27 --background
root     20374  0.0  0.0 164712  4720 pts/0    Ss+  15:42   0:00  \_ /usr/libexec/libvirt-sandbox-init-common
root     20380  0.0  0.0  11772  1376 pts/2    Ss+  15:42   0:00      \_ /bin/sh

3. To check all of caps on process 'libvirt-sandbox-init-common'
# grep CapBnd /proc/20374/status
CapBnd:	0000001db5feffff

# capsh --decode=0000001db5feffff
0x0000001db5feffff=cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_linux_immutable,cap_net_bind_service,cap_net_broadcast,cap_net_admin,cap_net_raw,cap_ipc_lock,cap_ipc_owner,cap_sys_rawio,cap_sys_chroot,cap_sys_ptrace,cap_sys_pacct,cap_sys_admin,cap_sys_boot,cap_sys_nice,cap_sys_resource,cap_sys_tty_config,cap_lease,cap_audit_write,cap_setfcap,cap_mac_override,cap_syslog,35,36


Actual results:
The capabilities '35' and '36' are not be defined.

Expected results:


Additional info:

Comment 2 RHEL Program Management 2014-03-22 06:20:38 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 3 Jan Stancek 2014-09-10 08:27:17 UTC
LTP testcase "check_keepcaps" is hitting it too:
http://article.gmane.org/gmane.linux.ltp/21530

Comment 5 Karsten Hopp 2016-02-01 08:55:41 UTC
It looks like they are defined, only the translation into text doesn't work. So this can be fixed when an erratum for a real bug is needed


Note You need to log in before you can comment on or make changes to this bug.