1 %define name lxc-userspace
9 # this is getting really a lot of stuff, could be made simpler probably
10 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
13 Packager: PlanetLab Central <support@planet-lab.org>
14 Distribution: PlanetLab %{plrelease}
17 Summary: Userspace tools for switching between lxc containers
22 Group: System Environment/Kernel
23 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
24 Source0: lxc-userspace-%{version}.tar.gz
30 Userspace tools for switching between lxc containers.
39 mkdir -p $RPM_BUILD_ROOT/usr/sbin
40 install -D -m 755 vsh $RPM_BUILD_ROOT/usr/sbin/vsh
41 install -D -m 755 lxcsu $RPM_BUILD_ROOT/usr/sbin/lxcsu
42 install -D -m 755 lxcsu-internal $RPM_BUILD_ROOT/usr/sbin/lxcsu-internal
43 chmod u+s $RPM_BUILD_ROOT/usr/sbin/lxcsu
44 cp build/lib*/setns.so $RPM_BUILD_ROOT/usr/sbin
47 rm -rf $RPM_BUILD_ROOT
53 chmod u+s /usr/sbin/vsh
58 * Mon Apr 28 2014 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - lxc-userspace-1.0-11
61 * Wed Mar 26 2014 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - lxc-userspace-1.0-10
62 - lxcsu evaluates slice_uid earlier
63 - this is for old-installed f18 nodes like in PLE
65 * Fri Mar 21 2014 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - lxc-userspace-1.0-9
66 - does not rely on capsh (actually this was the one in the sliver)
67 - use native capability dropping instead
68 - provides new slicesu binary
69 - suitable for libvirt-1.1 and above
71 * Fri Sep 20 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - lxc-userspace-1.0-8
74 * Sat Aug 31 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - lxc-userspace-1.0-7
75 - perform vsys sysctl inside of container
76 - remove unnecessary proc remounts
77 - prevent setting LD_PRELOAD if the library doesn't exist in image
78 - add --noslicehome option
79 - check /etc/lxcsu_default for default arguments
81 - support conventional invocation of make
83 * Sun Jul 14 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - lxc-userspace-1.0-6
84 - merge back lxcsu and -internal into a single source file
85 - capsh --uid instead of --user that was not yet supported in f12 (hopefully tmp)
87 * Wed Jul 03 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - lxc-userspace-1.0-5
88 - entering in a slice now correctly ends up with right uid and pwd
91 * Mon Jul 01 2013 Sapan Bhatia <sapanb@cs.princeton.edu> - lxc-userspace-1.0-4
93 - - lxcsu <slice_name> works again
94 - - pid namespace issue that would let slices see all processes
96 * Fri Jun 28 2013 Sapan Bhatia <sapanb@cs.princeton.edu> - lxc-userspace-1.0-3
97 - Fixed bug that would let slices see all processes in root context.
99 * Wed Jun 26 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - lxc-userspace-1.0-2
100 - split into lxcsu{,-internal}
102 * Wed Jun 05 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - lxc-userspace-1.0-1
103 - rename module and package from lxctools into lxc-userspace
105 * Mon Jun 03 2013 Sapan Bhatia <sapanb@cs.princeton.edu> - lxctools-0.9-8
106 - - Upgraded code for compatibility with kernel 3.6.9
107 - - Obsoleted modules for switching into mnt and pid namespaces
108 - - Added command to mount /proc if not mounted
110 * Wed May 29 2013 Andy Bavier <acb@cs.princeton.edu> - lxctools-0.9-7
111 - Use ArgumentParser, fix issue with sensing arch
113 * Wed May 29 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - lxctools-0.9-6
114 - implements vm's arch
116 * Tue Apr 23 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - lxctools-0.9-5
117 - more flexible and more robust lxcsu
119 * Thu Mar 07 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - lxctools-0.9-4
120 - nicer polish to lxcsu returning the right thing
122 * Mon Mar 04 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - lxctools-0.9-3
123 - lxcsu to propagate its forked process's return code
125 * Fri Feb 22 2013 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - lxctools-0.9-2