[lxc-devel] [ lxc-Bugs-3276038 ] lxc-attach fails on kernel with the setns feature

SourceForge.net noreply at sourceforge.net
Tue Apr 5 11:53:08 UTC 2011


Bugs item #3276038, was opened at 2011-04-05 13:53
Message generated for change (Tracker Item Submitted) made by legoater
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3276038&group_id=163076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: liblxc
Group: None
Status: Open
Resolution: None
Priority: 3
Private: No
Submitted By: Cedric Le Goater (legoater)
Assigned to: Nobody/Anonymous (nobody)
Summary: lxc-attach fails on kernel with the setns feature

Initial Comment:
when running the lxc -attach command on a kernel patched with the setns syscall, it fails with the following message : 

	lxc-attach: Does this kernel version support 'attach' ?
	lxc-attach: failed to enter the namespace

it seems that the check done in commit :

	http://lxc.git.sourceforge.net/git/gitweb.cgi?p=lxc/lxc;a=commit;h=9f53d717c4fea7bb2a493d911da0abbe9c78aef5

is too strong. 

Please see attached patch for a possible fix.

Thanks,



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3276038&group_id=163076




More information about the lxc-devel mailing list