5 years agoshow more in debug mode
Thierry Parmentelat [Fri, 10 Jan 2014 10:34:29 +0000]
show more in debug mode

5 years agorun virsh connected to lxc
Thierry Parmentelat [Fri, 10 Jan 2014 10:28:22 +0000]
run virsh connected to lxc

5 years agodiscarded changes from branch that had the broken reindentation attempt
Thierry Parmentelat [Fri, 10 Jan 2014 10:14:03 +0000]
discarded changes from branch that had the broken reindentation attempt

5 years agoSimplify lxcsu by querying libvirt for pid
Thierry Parmentelat [Fri, 10 Jan 2014 10:05:02 +0000]
Simplify lxcsu by querying libvirt for pid

this is a manual re-injection of Sapan’s change
it was a big mistake to reindent automatically as this broke the logic entirely

5 years agoSimplify lxcsu by querying libvirt for pid
Sapan Bhatia [Thu, 9 Jan 2014 18:00:43 +0000]
Simplify lxcsu by querying libvirt for pid

5 years agoindent=4
Thierry Parmentelat [Thu, 9 Jan 2014 16:01:10 +0000]
indent=4

5 years agofix perms
Scott Baker [Tue, 3 Dec 2013 00:07:56 +0000]
fix perms

5 years agofix sysctl support causing scp to break due to printing text to ssh connection
Scott Baker [Tue, 3 Dec 2013 00:07:42 +0000]
fix sysctl support causing scp to break due to printing text to ssh connection

5 years agoFix for the "error disabling cgroup" error
Sapan Bhatia [Wed, 9 Oct 2013 02:43:10 +0000]
Fix for the "error disabling cgroup" error

6 years agoSetting tag lxc-userspace-1.0-8 lxc-userspace-1.0-8
Thierry Parmentelat [Fri, 20 Sep 2013 09:43:58 +0000]
Setting tag lxc-userspace-1.0-8
fix vsh permissions

6 years agoset u+s on /usr/sbin/vsh
Scott Baker [Thu, 5 Sep 2013 23:04:06 +0000]
set u+s on /usr/sbin/vsh

6 years agoSetting tag lxc-userspace-1.0-7 lxc-userspace-1.0-7
Thierry Parmentelat [Sat, 31 Aug 2013 09:29:26 +0000]
Setting tag lxc-userspace-1.0-7
perform vsys sysctl inside of container
remove unnecessary proc remounts
prevent setting LD_PRELOAD if the library doesn't exist in image
add --noslicehome option
check /etc/lxcsu_default for default arguments
fix permissions
support conventional invocation of make

6 years agoadd --noslicehome option, and check /etc/lxcsu_default for default arguments
Scott Baker [Fri, 30 Aug 2013 18:08:29 +0000]
add --noslicehome option, and check /etc/lxcsu_default for default arguments

6 years agoThomas's fix on Makefile + remove lines with tabs
Thierry Parmentelat [Mon, 26 Aug 2013 11:40:22 +0000]
Thomas's fix on Makefile + remove lines with tabs

6 years agofix permissions
Scott Baker [Fri, 16 Aug 2013 00:06:40 +0000]
fix permissions

6 years agoremove unnecessary proc remounts, prevent setting LD_PRELOAD if the library doesn...
Scott Baker [Fri, 16 Aug 2013 00:06:26 +0000]
remove unnecessary proc remounts, prevent setting LD_PRELOAD if the library doesn't exist in image

6 years agoSupport conventional invocation of make
Sapan Bhatia [Mon, 12 Aug 2013 20:39:46 +0000]
Support conventional invocation of make

6 years agoasm/unistd.h is a more standard include than asm-generic/unistd.h
Sapan Bhatia [Mon, 12 Aug 2013 20:34:06 +0000]
asm/unistd.h is a more standard include than asm-generic/unistd.h

6 years agofix perms
Scott Baker [Mon, 12 Aug 2013 19:46:20 +0000]
fix perms

6 years agofix lxcsu not handling nodemanager interfaces.py ('/sbin/service network restart...
Scott Baker [Mon, 12 Aug 2013 19:45:55 +0000]
fix lxcsu not handling nodemanager interfaces.py ('/sbin/service network restart') properly

6 years agofix perms
smbaker [Mon, 5 Aug 2013 19:11:06 +0000]
fix perms

6 years agoperform vsys sysctl inside of container
smbaker [Mon, 5 Aug 2013 19:10:42 +0000]
perform vsys sysctl inside of container

6 years agoSetting tag lxc-userspace-1.0-6 lxc-userspace-1.0-6
Thierry Parmentelat [Sat, 13 Jul 2013 22:15:26 +0000]
Setting tag lxc-userspace-1.0-6
merge back lxcsu and -internal into a single source file
capsh --uid instead of --user that was not yet supported in f12 (hopefully tmp)

6 years agomessages still had lxcsu-internal
Thierry Parmentelat [Mon, 8 Jul 2013 19:41:42 +0000]
messages still had lxcsu-internal

6 years agomove back to a single source file (lxcsu) with a -i/--internal option, and an lxcsu...
Thierry Parmentelat [Mon, 8 Jul 2013 19:19:33 +0000]
move back to a single source file (lxcsu) with a -i/--internal option, and an lxcsu-internal symlink

6 years agocapsh --user is available from f14 only
Thierry Parmentelat [Sat, 6 Jul 2013 13:16:47 +0000]
capsh --user is available from f14 only
use caps --uid instead for now

6 years agoremove useless import
Thierry Parmentelat [Sat, 6 Jul 2013 13:12:08 +0000]
remove useless import

6 years agoSetting tag lxc-userspace-1.0-5 lxc-userspace-1.0-5
Thierry Parmentelat [Wed, 3 Jul 2013 05:56:27 +0000]
Setting tag lxc-userspace-1.0-5
entering in a slice now correctly ends up with right uid and pwd
make sync

6 years agoexplicitly chdir to slice's homedir since bash does not seem to be willing to do...
Thierry Parmentelat [Tue, 2 Jul 2013 14:45:24 +0000]
explicitly chdir to slice's homedir since bash does not seem to be willing to do so even though it's started with --login...

6 years agolxcsu-internal to set LD_PRELOAD and HOME (resulting process wtill ends up in / though)
Thierry Parmentelat [Tue, 2 Jul 2013 11:32:20 +0000]
lxcsu-internal to set LD_PRELOAD and HOME (resulting process wtill ends up in / though)

6 years agolxcsu-internal to call capsh with --user=<slicename>
Thierry Parmentelat [Tue, 2 Jul 2013 11:31:09 +0000]
lxcsu-internal to call capsh with --user=<slicename>

6 years agomake sync needs to set extra permissions as well
Thierry Parmentelat [Tue, 2 Jul 2013 10:07:23 +0000]
make sync needs to set extra permissions as well

6 years agocan use make sync to push a working version on a tesst node
Thierry Parmentelat [Tue, 2 Jul 2013 10:00:16 +0000]
can use make sync to push a working version on a tesst node

6 years agoSetting tag lxc-userspace-1.0-4 lxc-userspace-1.0-4
Sapan Bhatia [Mon, 1 Jul 2013 22:03:44 +0000]
Setting tag lxc-userspace-1.0-4
Bug fixes:
- lxcsu <slice_name> works again
- pid namespace issue that would let slices see all processes

6 years agoFixed pid ns bug
Sapan Bhatia [Mon, 1 Jul 2013 22:01:32 +0000]
Fixed pid ns bug

6 years agoAdd commandline option to bash in order to support "lxcsu <slicename>"
Sapan Bhatia [Mon, 1 Jul 2013 15:30:53 +0000]
Add commandline option to bash in order to support "lxcsu <slicename>"

6 years agoSetting tag lxc-userspace-1.0-3 lxc-userspace-1.0-3
Sapan Bhatia [Fri, 28 Jun 2013 16:58:36 +0000]
Setting tag lxc-userspace-1.0-3
Fixed bug that would let slices see all processes in root context.

6 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/lxc-userspace
Sapan Bhatia [Fri, 28 Jun 2013 16:53:35 +0000]
Merge branch 'master' of ssh://git.planet-lab.org/git/lxc-userspace

6 years agolxcsu proc bug fix
Sapan Bhatia [Fri, 28 Jun 2013 16:53:27 +0000]
lxcsu proc bug fix

6 years agoSetting tag lxc-userspace-1.0-2 lxc-userspace-1.0-2
Thierry Parmentelat [Wed, 26 Jun 2013 07:06:07 +0000]
Setting tag lxc-userspace-1.0-2
split into lxcsu{,-internal}

6 years agosupport for centos 5.5 image
smbaker [Mon, 24 Jun 2013 20:29:44 +0000]
support for centos 5.5 image

6 years agorename options into ags as we use ArgumentParser and not OtionParser any more
Thierry Parmentelat [Sun, 23 Jun 2013 06:22:44 +0000]
rename options into ags as we use ArgumentParser and not OtionParser any more

6 years agoOOPS - was packaging lxcsu as lxcsu-internal
Thierry Parmentelat [Sun, 23 Jun 2013 06:20:25 +0000]
OOPS - was packaging lxcsu as lxcsu-internal

6 years agoprobable fix
Thierry Parmentelat [Fri, 21 Jun 2013 15:03:34 +0000]
probable fix

6 years agocleanup and add suggestions but commented
Thierry Parmentelat [Fri, 21 Jun 2013 15:03:00 +0000]
cleanup and add suggestions but commented

6 years agopackage lxcsu-internal
Thierry Parmentelat [Thu, 20 Jun 2013 09:19:40 +0000]
package lxcsu-internal

6 years agoAdded support for sysctls
Sapan Bhatia [Tue, 18 Jun 2013 01:31:33 +0000]
Added support for sysctls

6 years agoSupport lxcsu <slicename>
Sapan Bhatia [Tue, 18 Jun 2013 01:07:11 +0000]
Support lxcsu <slicename>

6 years agoChanged interface to lxcsu. Now invoked as lxcsu <slicename> command
Sapan Bhatia [Tue, 18 Jun 2013 01:04:36 +0000]
Changed interface to lxcsu. Now invoked as lxcsu <slicename> command

6 years agoSetting tag lxc-userspace-1.0-1 lxc-userspace-1.0-1
Thierry Parmentelat [Wed, 5 Jun 2013 17:05:16 +0000]
Setting tag lxc-userspace-1.0-1
rename module and package from lxctools into lxc-userspace

6 years agorename into lxc-userspace and bump release to 1.0
Thierry Parmentelat [Tue, 4 Jun 2013 17:52:44 +0000]
rename into lxc-userspace and bump release to 1.0
this package does Obsoletes: lxctools

6 years agoSetting tag lxctools-0.9-8 lxc-userspace-1.0-0 lxctools-0.9-8
Sapan Bhatia [Mon, 3 Jun 2013 19:55:18 +0000]
Setting tag lxctools-0.9-8
- Upgraded code for compatibility with kernel 3.6.9
- Obsoleted modules for switching into mnt and pid namespaces
- Added command to mount /proc if not mounted

6 years agoBug fixes
Sapan Bhatia [Mon, 3 Jun 2013 19:49:40 +0000]
Bug fixes

6 years agoMount /proc inside slice.
Sapan Bhatia [Mon, 3 Jun 2013 19:24:27 +0000]
Mount /proc inside slice.

6 years agoiron out argument parser usage, add --debug option, and get this to work again in...
Thierry Parmentelat [Thu, 30 May 2013 09:18:34 +0000]
iron out argument parser usage, add --debug option, and get this to work again in simple (no arch change) cases at least

6 years agoSetting tag lxctools-0.9-7 lxctools-0.9-7
Andy Bavier [Wed, 29 May 2013 17:17:44 +0000]
Setting tag lxctools-0.9-7
Use ArgumentParser, fix issue with sensing arch

6 years agoAdded binutils dependency
Andy Bavier [Wed, 29 May 2013 17:13:45 +0000]
Added binutils dependency

6 years agouse ArgumentParser instead of deprecated OptionParser
Thierry Parmentelat [Wed, 29 May 2013 13:42:23 +0000]
use ArgumentParser instead of deprecated OptionParser

6 years agoadded a main function
Thierry Parmentelat [Wed, 29 May 2013 13:40:25 +0000]
added a main function

6 years agodefine a default for 'arch' as I find it sometimes undefined
Thierry Parmentelat [Wed, 29 May 2013 13:30:03 +0000]
define a default for 'arch' as I find it sometimes undefined

6 years agoSetting tag lxctools-0.9-6 lxctools-0.9-6
Thierry Parmentelat [Wed, 29 May 2013 10:53:12 +0000]
Setting tag lxctools-0.9-6
implements vm's arch

6 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/lxctools
Sapan Bhatia [Fri, 24 May 2013 14:51:32 +0000]
Merge branch 'master' of ssh://git.planet-lab.org/git/lxctools

6 years agoDetect architecture of lxc container and make sure the spawned environment has the...
Sapan Bhatia [Thu, 23 May 2013 22:02:56 +0000]
Detect architecture of lxc container and make sure the spawned environment has the same architecture.

6 years agoSetting tag lxctools-0.9-5 lxctools-0.9-5
Thierry Parmentelat [Tue, 23 Apr 2013 09:38:46 +0000]
Setting tag lxctools-0.9-5
more flexible and more robust lxcsu

6 years agorevert tag update so we can use module-tag
Thierry Parmentelat [Tue, 23 Apr 2013 09:36:26 +0000]
revert tag update so we can use module-tag

6 years agoWithout this, scp, ssh with bash arguments etc. does not work
Sapan Bhatia [Thu, 14 Mar 2013 18:10:10 +0000]
Without this, scp, ssh with bash arguments etc. does not work

6 years agoUpdated tag
Sapan Bhatia [Tue, 12 Mar 2013 14:20:30 +0000]
Updated tag

6 years agoAdded flexibility to lxcsu
Sapan Bhatia [Tue, 12 Mar 2013 14:20:04 +0000]
Added flexibility to lxcsu

6 years agoSetting tag lxctools-0.9-4 lxctools-0.9-4
Thierry Parmentelat [Thu, 7 Mar 2013 08:06:50 +0000]
Setting tag lxctools-0.9-4
nicer polish to lxcsu returning the right thing

6 years agoTweaked return code handling to use the usual Python method
Sapan Bhatia [Tue, 5 Mar 2013 14:19:12 +0000]
Tweaked return code handling to use the usual Python method

6 years agoSetting tag lxctools-0.9-3 lxctools-0.9-3
Thierry Parmentelat [Mon, 4 Mar 2013 10:23:54 +0000]
Setting tag lxctools-0.9-3
lxcsu to propagate its forked process's return code

6 years agoattempt to return correct retcod to vsh
Thierry Parmentelat [Mon, 4 Mar 2013 09:11:34 +0000]
attempt to return correct retcod to vsh

6 years agoSetting tag lxctools-0.9-2 lxctools-0.9-2
Thierry Parmentelat [Fri, 22 Feb 2013 18:20:22 +0000]
Setting tag lxctools-0.9-2
various fixes

6 years agorevert to a more sensible numbering scheme
Thierry Parmentelat [Thu, 21 Feb 2013 13:32:38 +0000]
revert to a more sensible numbering scheme

6 years agotweak for f18
Thierry Parmentelat [Thu, 31 Jan 2013 08:30:11 +0000]
tweak for f18

6 years agoFix bug in dropped capabilities
Sapan Bhatia [Tue, 22 Jan 2013 16:03:11 +0000]
Fix bug in dropped capabilities

6 years agoBump version
Sapan Bhatia [Tue, 22 Jan 2013 15:13:10 +0000]
Bump version

6 years agoPrevent slices from accessing cgroups fs
Sapan Bhatia [Tue, 22 Jan 2013 15:12:36 +0000]
Prevent slices from accessing cgroups fs

6 years agobump version number
smbaker [Tue, 18 Dec 2012 06:39:46 +0000]
bump version number

6 years agoadd mlab patch to add tasks to cpuacct cgroup, put os.environ before os.execv
smbaker [Tue, 18 Dec 2012 06:36:41 +0000]
add mlab patch to add tasks to cpuacct cgroup, put os.environ before os.execv

6 years agoRemove kernel dependency, since this package does not contain any kernel modules
Sapan Bhatia [Fri, 7 Dec 2012 16:01:28 +0000]
Remove kernel dependency, since this package does not contain any kernel modules

6 years agoSet shell to /bin/sh. By default it is vsh
Sapan Bhatia [Thu, 6 Dec 2012 18:45:45 +0000]
Set shell to /bin/sh. By default it is vsh

6 years agoRemove debug line
Sapan Bhatia [Wed, 5 Dec 2012 19:27:53 +0000]
Remove debug line

6 years agoBump tag
Sapan Bhatia [Wed, 5 Dec 2012 19:26:37 +0000]
Bump tag

6 years agoFix uts namespace bug + source /etc/profile when invoking bash
Sapan Bhatia [Wed, 5 Dec 2012 18:57:29 +0000]
Fix uts namespace bug + source /etc/profile when invoking bash

6 years agoBump version number lxctools-0.9-1
Andy Bavier [Wed, 24 Oct 2012 20:12:29 +0000]
Bump version number

6 years agoKeep cap_net_admin for configuring networking inside a slice
Andy Bavier [Wed, 24 Oct 2012 17:15:16 +0000]
Keep cap_net_admin for configuring networking inside a slice

6 years agobump version number
smbaker [Tue, 23 Oct 2012 04:52:20 +0000]
bump version number

6 years agoadd task to freezer cgroup
smbaker [Thu, 18 Oct 2012 05:34:40 +0000]
add task to freezer cgroup

6 years agoBumped version
Sapan Bhatia [Fri, 12 Oct 2012 13:47:46 +0000]
Bumped version

6 years agoBug fix from Scott Baker
Sapan Bhatia [Fri, 12 Oct 2012 13:47:14 +0000]
Bug fix from Scott Baker

6 years agofs is not a cgroup. handled by blkio
Sapan Bhatia [Tue, 9 Oct 2012 17:33:46 +0000]
fs is not a cgroup. handled by blkio

6 years agoBump versoin
Sapan Bhatia [Tue, 9 Oct 2012 17:26:53 +0000]
Bump versoin

6 years agoActivate cgroups for users
Sapan Bhatia [Tue, 9 Oct 2012 17:23:50 +0000]
Activate cgroups for users

7 years agoAdded openvswitch to taglevel
Andy Bavier [Fri, 21 Sep 2012 19:55:43 +0000]
Added openvswitch to taglevel

7 years agoRetain cap_net_admin in container
Andy Bavier [Wed, 19 Sep 2012 19:35:46 +0000]
Retain cap_net_admin in container

7 years agoVersion 0.5
Sapan Bhatia [Tue, 11 Sep 2012 07:59:46 +0000]
Version 0.5

7 years agoSimplify vsh, fix bug preventing bash arguments from being passed via ssh
Sapan Bhatia [Fri, 7 Sep 2012 12:43:44 +0000]
Simplify vsh, fix bug preventing bash arguments from being passed via ssh

7 years agobug fix in dropping capabilities
Sapan Bhatia [Thu, 6 Sep 2012 13:26:14 +0000]
bug fix in dropping capabilities

7 years agoBump version
Sapan Bhatia [Thu, 6 Sep 2012 11:42:39 +0000]
Bump version