Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1343940 - missing suid bit in lxc-user-nic binary
Summary: missing suid bit in lxc-user-nic binary
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lxc
Version: 23
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Moschny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-08 11:27 UTC by Ayman Khamouma
Modified: 2016-12-14 00:51 UTC (History)
4 users (show)

Fixed In Version: lxc-2.0.6-2.fc25 lxc-2.0.6-2.fc24 lxc-2.0.6-2.fc23
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-13 20:27:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ayman Khamouma 2016-06-08 11:27:51 UTC
Description of problem:
/usr/libexec/lxc/lxc-user-nic is missing the suid bit.

Version-Release number of selected component (if applicable):
lxc version 1.1.5

How reproducible:
try running an unprivileged lxc (see: http://blog.attackzero.net/2016/02/adventures-in-containerization-part-2.html)

Steps to Reproduce:
1. configure an unprivileged lxc like in attackzero's blog
2. configure network (veth)
3. start the lxc

Actual results:
operation not permitted (on network configuration)

Expected results:
guest boot and network properly configured


Additional info:
add suid bit to /usr/libexec/lxc/lxc-user-nic to fix the problem.
PS: see post about this from stephane grabber himself: https://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-containers/

Comment 1 Fedora End Of Life 2016-11-25 09:14:37 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Fedora Update System 2016-12-03 17:05:32 UTC
lxc-2.0.6-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-e5ff0ed40c

Comment 3 Fedora Update System 2016-12-03 17:05:44 UTC
lxc-2.0.6-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-868350fe5a

Comment 4 Fedora Update System 2016-12-03 17:05:54 UTC
lxc-2.0.6-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b4dd1db1e7

Comment 5 Fedora Update System 2016-12-04 07:23:44 UTC
lxc-2.0.6-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e5ff0ed40c

Comment 6 Fedora Update System 2016-12-04 07:27:03 UTC
lxc-2.0.6-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b4dd1db1e7

Comment 7 Fedora Update System 2016-12-04 08:08:22 UTC
lxc-2.0.6-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-868350fe5a

Comment 8 Fedora Update System 2016-12-05 11:45:24 UTC
lxc-2.0.6-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b4dd1db1e7

Comment 9 Fedora Update System 2016-12-05 11:48:45 UTC
lxc-2.0.6-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-868350fe5a

Comment 10 Fedora Update System 2016-12-05 11:50:58 UTC
lxc-2.0.6-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-e5ff0ed40c

Comment 11 Fedora Update System 2016-12-06 03:24:12 UTC
lxc-2.0.6-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-868350fe5a

Comment 12 Fedora Update System 2016-12-06 03:56:39 UTC
lxc-2.0.6-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e5ff0ed40c

Comment 13 Fedora Update System 2016-12-06 03:59:20 UTC
lxc-2.0.6-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b4dd1db1e7

Comment 14 Fedora Update System 2016-12-13 20:27:15 UTC
lxc-2.0.6-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2016-12-13 22:53:25 UTC
lxc-2.0.6-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2016-12-14 00:51:23 UTC
lxc-2.0.6-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


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