6d14aa2b8a3d924fde5673073ae1c6bb4917f604 |
|
23-Nov-2016 |
Cam Cope <cam@dropbox.com> |
Configure a static MAC address on the LXC bridge
Signed-off-by: Cam Cope <cam@dropbox.com> |
727b60d603fd32cb0ba822141925085ff28bbf15 |
|
17-Nov-2016 |
Evgeni Golov <evgeni@debian.org> |
fix rpm build, include all built files, but only once
Signed-off-by: Evgeni Golov <evgeni@debian.org> |
ff88c8155031929e677a6212a46410a42a7241cc |
|
17-Nov-2016 |
Evgeni Golov <evgeni@debian.org> |
use python3_sitearch for including the python code
Closes: #502
Signed-off-by: Evgeni Golov <evgeni@debian.org> |
38788e4878f23a1be3479b3dde45c774340c82f8 |
|
14-Jun-2016 |
Stéphane Graber <stgraber@ubuntu.com> |
Drop lxc-devsetup as unneeded by current autodev
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> |
cd27b6c8103d9255b78576dc9474aabfa2493fb6 |
|
24-Mar-2016 |
Johannes Kastl <git@ojkastl.de> |
lxc.spec.in: fixed hardcoded path to lxc-net config file
Signed-off-by: Johannes Kastl <git@ojkastl.de> |
2b371b262f7272266ff18cc2aff65176a2c16383 |
|
11-Jun-2015 |
Sungbae Yoo <sungbae.yoo@samsung.com> |
doc: Add Korean man pages
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com> |
1f3fc0d73a88b01bb596b0ea812dc9a5b1f7e5e6 |
|
24-Jan-2015 |
Johannes Kastl <mail@ojkastl.de> |
rpm: added dependency to lxc-libs to lxc package
Ensures matching versions of lxc and lxc-libs being installed
Signed-off-by: Johannes Kastl <mail@ojkastl.de>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
ec64264d78d4ed608553842ce9e1f07eeab2a032 |
|
05-Dec-2014 |
Veres Lajos <vlajos@gmail.com> |
typofixes - https://github.com/vlajos/misspell_fixer
Signed-off-by: Veres Lajos <vlajos@gmail.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
fce070c815604e863f4628ecceb172ffdbbb2465 |
|
29-Sep-2014 |
Dwight Engen <dwight.engen@oracle.com> |
fixups to init script rework
- move action() from common to sysvinit wrapper since its only really
applicable for sysvinit and not the other init systems
- fix bug in action() fallback, need to shift away msg before executing action
- make lxc-net 98 so it starts before lxc-container (99), otherwise the lxcbr0
won't be available when containers are autostarted
- make the default RUNTIME_PATH be /var/run instead of /run. On older
distros (like ol6.5) /run doesn't exist. lxc-net will create this directory
and attempt to create the dnsmasq.pid file in it, but this will fail when
SELinux is enabled because the directory will have the default_t type.
Newer systems have /var/run symlinked to /run so you get to the same place
in that case.
- add %postun to remove lxc-dnsmasq user when pkgs are removed
- fix bug in lxc-oracle template that was creating /var/lock/subsys/lxc as
a dir and interfering with the init scripts
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
0af993195cbd57cff700c7c90ee8f95c2a1ef8aa |
|
26-Sep-2014 |
Michael H. Warfield <mhw@WittsEnd.com> |
Rework init scripts
This commit is based on the work of:
Signed-off-by: Michael H. Warfield <mhw@WittsEnd.com>
A generic changelog would be:
- Bring support for lxcbr0 to all distributions
- Share the container startup and network configuration logic across
distributions and init systems.
- Have all the init scripts call the helper script.
- Support for the various different distro-specific configuration
locations to configure lxc-net and container startup.
Changes on top of Mike's original version:
- Remove sysconfig/lxc-net as it's apparently only there as a
workaround for an RPM limitation and is breaking Debian systems by
including a useless file which will get registered as a package provided
conffile in the dpkg database and will therefore cause conffile prompts
on upgrades...
- Go with a consistant coding style in the various init scripts.
- Split out the common logic from the sysvinit scripts and ship both in
their respective location rather than have them be copies.
- Fix the upstart jobs so they actually work (there's no such thing as
libexec on Debian systems).
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
015f0dd7924d27aeb2f16bb0c4d243f3fd93e94b |
|
03-Jun-2014 |
Michael H. Warfield <mhw@WittsEnd.com> |
lxc-autostart: rework boot and group handling
This adds new functionality to lxc-autostart.
*) The -g / --groups option is multiple cummulative entry.
This may be mixed freely with the previous comma separated
group list convention. Groups are processed in the
order they first appear in the aggregated group list.
*) The NULL group may be specified in the group list using either a
leading comma, a trailing comma, or an embedded comma.
*) Booting proceeds in order of the groups specified on the command line
then ordered by lxc.start.order and name collalating sequence.
*) Default host bootup is now specified as "-g onboot," meaning that first
the "onboot" group is booted and then any remaining enabled
containers in the NULL group are booted.
*) Adds documentation to lxc-autostart for -g processing order and
combinations.
*) Parameterizes bootgroups, options, and shutdown delay in init scripts
and services.
*) Update the various init scripts to use lxc-autostart in a similar way.
Reported-by: CDR <venefax@gmail.com>
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Michael H. Warfield <mhw@WittsEnd.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
ba5783a56a773c2715f1762ba37c9ad7a46ee934 |
|
01-Apr-2014 |
Dwight Engen <dwight.engen@oracle.com> |
lxc.spec: adjust for move of libexecdir/lxc-init to sbin/lxc.init
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
9f2fd74c7b6f78d4d2db92ced632d086f81b3e73 |
|
24-Jan-2014 |
Dwight Engen <dwight.engen@oracle.com> |
add lua-alt-getopt dependency
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
e0f2f5c7640f6a9a21fbb4acda2b15cf5d8e0c22 |
|
22-Jan-2014 |
Dwight Engen <dwight.engen@oracle.com> |
lxc.spec: package bash completion, lxc-monitord move
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
45e854dc86514a472ff1496d01321c77c12c0aa4 |
|
21-Jan-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
Move lxc-user-nic and lxc-monitord to libexec
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
dc0682900a79cfb47fd9a416902129bfa68fdcbf |
|
16-Jan-2014 |
Stéphane Graber <stgraber@ubuntu.com> |
init: Add upstart jobs and some more changes (v3)
This adds the 3 upstart jobs that we've had in Ubuntu for a while:
- lxc.conf: Main upstart job, triggers lxc-net.conf based on config
- lxc-instance.conf: Triggered by lxc.conf for each auto-started container
- lxc-net.conf: Triggered by lxc.conf, sets up lxcbr0, NAT, mangling, ...
In addition, there are two extra config files in /etc/default:
- lxc: Allows setting some values like http proxying, disabling autostart, ...
- lxc-net: Network configuration for the lxcbr0 bridge
This change also disables the sysv script for all distros but Oracle as
the current script won't work on either Ubuntu nor Debian and I suspect
quite a few more distros, so it's not nearly as distro-agnostic as we
thought.
For Debian, only install the upstart jobs and systemd unit.
For Ubuntu, only install the upstart jobs.
This change also moves all the init related stuff to config/init/
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com> |
a3da3d8296d6ff2b9aa1da24830c548c87469404 |
|
15-Jan-2014 |
Dwight Engen <dwight.engen@oracle.com> |
install only lxc-user-nic setuid
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
420dfb599b22b8e39e6e51437d17213d4f778735 |
|
03-Jan-2014 |
Dwight Engen <dwight.engen@oracle.com> |
add lxc-autostart support for sysv init systems
This change updates the way init scripts get installed so that more
than one init system can be supported. Instead of installing the
systemd service file from the spec file, it should be installed at
make install time, so that someone compiling from source also gets
the unit file installed.
Update the plamo template to use a lock file not named just
/var/lock/subsys/lxc since the presence of that file is used by
sysv init rc file to know if it should run the K01lxc script. This
also makes it consistent with the other templates which use
/var/lock/subsys/lxc-$template-name.
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
58d6a17e028fe84d5055f6e43955d4d45bbb89e3 |
|
19-Dec-2013 |
Michael H. Warfield <mhw@WittsEnd.com> |
Catch the python packages when building them.
If we have "with_python" we want to add the resulting packages to
the resulting rpm.
Signed-off-by: Michael H. Warfield <mhw@WittsEnd.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
f7f1ba77b76e4d4dc18638cfdc859c3dc1750a9e |
|
25-Nov-2013 |
Stéphane Graber <stgraber@ubuntu.com> |
Drop trailing white spaces.
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> |
87ff951e680d7984cbfdc1c4ff378d47fe8a0f1d |
|
21-Nov-2013 |
Michael H. Warfield <mhw@WittsEnd.com> |
Support files for systemd on Fedora.
Added a file "lxc.service" for a systemd service file.
Added a file "lxc-devsetup" to setup /dev/ on startup to support autodev
in containers.
Service file references lxc-devsetup as an ExecStartPre command. The
lxc-devsetup script is not dependent on systemd or Fedora and can
be used at bootup on any system.
Modified lxc.spec.in to install the two new files on Fedora. The systemd
specific code in the lxc.spec file may need some review and conditionalize
for systemd on non-systemd rpm-based systems.
Signed-off-by: Michael H. Warfield <mhw@WittsEnd.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
9588a6cecb4d991346622d19d6e2b1660ff3eb4b |
|
29-Oct-2013 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
rpm spec: fix version numbering when building alpha, beta, rc
We want to ensure smooth upgrades when doing rpm -U throughout the
release cycle so this change implements the scheme documented at:
http://fedoraproject.org/wiki/Packaging%3aNamingGuidelines#NonNumericRelease
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
7920b1b43519e21c516731dc1322fe308d69f102 |
|
25-Oct-2013 |
Dwight Engen <dwight.engen@oracle.com> |
rpm spec: fix "warning: bogus date in %changelog"
Mar 24 2009 was actually a Tuesday, maybe Daniel was still recovering
from Monday ;) Stranger still that RPM actually checks this!?
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
0adde0f84150f14b1eed82f7438e084ba0460329 |
|
22-Oct-2013 |
Dwight Engen <dwight.engen@oracle.com> |
update rpm .spec file
The following changes were made to fix rpmlint warnings/errors
- use %global instead of %define
http://fedoraproject.org/wiki/PackagingDrafts/global_preferred_over_define
- change Summary to match .deb
- update License
- do not mention the libcap dependency explicitly, rpm will fill it in
- fix Summary, Description for libs and devel packages
- pass -q to %setup
- add %post for libs to run ldconfig
- explicitly name lxc man paths so pkg doesn't "own" /usr/share/man
- mark /etc/lxc/default.conf as a config file
In addition, while I was here:
- split lua bits into seperate lxc-lua package
- change Description to match .deb
- remove "Version" in changelog entries to follow
http://fedoraproject.org/wiki/Packaging:Guidelines#Changelogs
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
07520b2af5495cbde94645d09b523de73047542d |
|
20-Oct-2013 |
Stéphane Graber <stgraber@ubuntu.com> |
Update maintainers and URLs
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> |
250b1eec71b074acdff1c5f6b5a1f0d7d2c20b77 |
|
03-Sep-2013 |
Stéphane Graber <stgraber@ubuntu.com> |
licensing: Add missing headers and FSF address
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> |
dc5e436e702f0bf4001e3e6e9f855443b2fcf448 |
|
29-May-2013 |
Dwight Engen <dwight.engen@oracle.com> |
lxc.spec.in: remove lxc-shutdown (for commit 3e625e2d)
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
9afe19d634946d50eab30e3b90cb5cebcde39eea |
|
19-Mar-2013 |
Daniel Lezcano <daniel.lezcano@free.fr> |
Change author email address
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr> |
f080ffd7d656fbd9505a8e8eb52a05d61355c677 |
|
29-Jan-2013 |
Dwight Engen <dwight.engen@oracle.com> |
add lua binding for the lxc API
The lua binding is based closely on the python binding. Also included are
a test program for excercising the binding, and an lxc-top utility for
showing statistics on running containers.
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
ce95113287f87460dd557d818280639fc2a31e19 |
|
23-Jan-2013 |
Dwight Engen <dwight.engen@oracle.com> |
include python files in make dist and rpm
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
7323456ec3efe23bb7a84164d3e71d4293998f2c |
|
10-Dec-2012 |
Dwight Engen <dwight.engen@oracle.com> |
assume LXCPATH took on default localstatedir based value in configure
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Michael H. Warfield <mhw@WittsEnd.com> |
1c6085cdd97cf947237e361245b35c6cdab90357 |
|
06-Dec-2012 |
Dwight Engen <dwight.engen@oracle.com> |
lxc.spec: add openssl and rsync as Required since both are used in lxc-clone
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
f1a3a3ab8feb7374aed232f2d635edc51d2be792 |
|
05-Dec-2012 |
Dwight Engen <dwight.engen@oracle.com> |
make install should create /var/cache/lxc directory
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
4245ba50074f33c4bfa8e8b133598767841e712b |
|
04-Dec-2012 |
Dwight Engen <dwight.engen@oracle.com> |
make install should create $LXCPATH directory
The $LXCPATH (default /var/lib/lxc) directory was not being created by
make install, so unless it gets created by some other means
(packaging tools), commands such as lxc-create will fail.
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
f6a8db2d947018c09389fd6747ae23072c3a8666 |
|
14-Nov-2012 |
Dwight Engen <dwight.engen@oracle.com> |
Fix package name needed for building docs with RPM
Tested on Oracle Linux 6 and Fedora 17
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
aa8d013ec5b09cd1cd904173d6234ef126eb2126 |
|
12-Nov-2012 |
Peter Simons <simons@cryp.to> |
Update documentation to Docbook 4.5
The package 'docbook-tools' [1] required to format Docbook 3.0 into man pages
has been obsoleted a long time ago and can no longer be downloaded from its
former homepage. Recent versions of that package -- now called 'docbook2X' --,
cannot deal with that old markup format anymore (and don't support the '-w all'
command line switch either). To remedy these issues, all SGML files have been
updated to Docbook 4.5 so that recent versions of docbook2man can process them.
[1] http://sources.redhat.com/docbook-tools/
[2] http://docbook2x.sourceforge.net/
Signed-off-by: Peter Simons <simons@cryp.to>
Acked-by: Stéphane Graber <stgraber@ubuntu.com> |
6f75ba0bdab3ab1f29773740611bb0ce6f9ab99c |
|
12-Nov-2012 |
Dwight Engen <dwight.engen@oracle.com> |
Add distro config file /etc/lxc/lxc.conf
This allows a distro to put the distro specific default network
configuration (for example bridge device, link type), or other lxc
configuration in the case that -f is not passed by the user to
lxc-create, in which case lxc-create will use the distro conf file as
the basis for the containers config.
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> |
f7a81eeb147c291610cf147418daa9ec8200a17e |
|
31-Oct-2012 |
Dwight Engen <dwight.engen@oracle.com> |
Remove unneeded ksrc spec file macro
Change 910bb4fa obviated the need for the --with-linuxdir configure
option which means that the ksrc rpm macro no longer makes sense either.
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
c4b697f261f1fe756b115f373f50f8de579dc4bb |
|
31-Oct-2012 |
Dwight Engen <dwight.engen@oracle.com> |
Add %{dist} tag to differentiate RPM distributions and releases
Note that an additional Release field is not necessary for the devel package
as it will follow the primary Release field. For more information on the dist
tag, see http://fedoraproject.org/wiki/Packaging:DistTag
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
b9cb4325d74fb01dc4e71adc211e7e7052471778 |
|
25-Oct-2012 |
Dwight Engen <dwight.engen@oracle.com> |
lxc-rpm-build
Fix building of rpm by non-root user. Include templates in rpm, fix rpm path of
lxc-init.
Signed-off-by: Dwight Engen <dwight.engen@oracle.com> |
72be4f89b0564bbecab3c5dc934197aefcecccc3 |
|
31-Jul-2012 |
Serge Hallyn <serge.hallyn@ubuntu.com> |
Add lxc-shutdown script
It optionally waits (an optional timeout # of seconds) for the container to
be STOPPED. If given -r, it reboots the container (and exits immediately).
I decided to add the timeout after all because it's harder to finagle into
an upstart post-stop script than a full bash script.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
1c41ddcb4af633ac906f1d7c9ef1dc7d121d7850 |
|
13-Sep-2011 |
Greg Kurz <gkurz@fr.ibm.com> |
fixes for rpmbuild
This patch fixes some makefile/specfile issues when running
rpmbuild with the distributed lxc specfile:
- fixes usage of installation directories for config files,
rootfs, templates and lxc-init so that they're calculated
at make time instead of configure time. Thanks to this,
all installed items go under $RPM_BUILD_ROOT when running
rpmbuild
- introduce --disable-rpath option to configure to avoid
check-rpaths errors when building non-root.
- introduce a lxc-libs package in the default spec file
to allow concurrent installation of 32 bit and 64 bit
libraries.
v2: - fix circular reference in lxc.pc
- ship lxc.pc with lxc-devel
Signed-off-by: Greg Kurz <gkurz@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
be8b5972427bf6d5f83c94b5e50a30cdeba2543a |
|
24-Jun-2011 |
Serge E. Hallyn <serge@hallyn.com> |
Add lxc-clone script
Create an lxc-clone script to clone containers. It should probably
be factored into helpers and then enhanced, in particular to convert
between LVM and non-LVM containers, create non-snapshot LVM clones,
support loopback devices, and, when stable enough, to use
overlayfs, btrfs, etc.
But this is a start.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
dfb8f06a3b1d35d736ce95ea121d4019ea391b26 |
|
01-Feb-2011 |
Cedric Le Goater <clg@fr.ibm.com> |
take into account new configure option --with-linuxdir
Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> |
7ef6e4407307b3712218e68d71090e60a2fb0815 |
|
23-Jul-2010 |
Daniel Lezcano <dlezcano@fr.ibm.com> |
set rights to lxc-init
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
5da9e545b50ab173bb558879e65fc734f62e7ac2 |
|
23-Jul-2010 |
Daniel Lezcano <dlezcano@fr.ibm.com> |
fix lxc.spec file
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
411c76ce0fa7a27692bad5836de37dc58ca8b016 |
|
17-Jun-2010 |
Daniel Lezcano <dlezcano@fr.ibm.com> |
fix lxc.spec.in
Changed the directory location for documents.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
a7405925092586b4a16841f2418fab3620a548df |
|
07-Jun-2010 |
Andrew Phillips <Andrew.Phillips@lmax.com> |
Fix spec file
After I resynced to git head I noticed that this commit;
http://lxc.git.sourceforge.net/git/gitweb.cgi?p=lxc/lxc;a=commit;h=d674be08d4b282bb4717c51440811e39d3c2431e
broke the rpm build.
This patch fixes this.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Andrew Phillips <Andrew.Phillips@lmax.com> |
3e4bb51f6f674efd5d41d90e54f7dcd95912a34e |
|
20-Nov-2009 |
Daniel Lezcano <dlezcano@fr.ibm.com> |
fix rpm generation regarding latest modifications
The configuration examples have been moved to doc/lxc/examples.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
e43a27b4bff4d03ef187873e467f60ac17bcc9e9 |
|
11-Nov-2009 |
Ryousei Takano <takano-ryousei@aist.go.jp> |
Remove an unnecessary entry in the spec file
Hi Daniel and all,
The rpmbuild command fails due to an unnecessary *.a entry in the %file list.
This patch removes it from the lxc.spec file.
Signed-off-by: Ryousei Takano <takano-ryousei@aist.go.jp>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
92fc52d3db7df485bae1d62a6a6c9af5bf2d07cf |
|
10-Jul-2009 |
Daniel Lezcano <daniel.lezcano@free.fr> |
don't create the lxc directory at rpm installation
Don't create the directory when we install the lxc package.
This is handled by lxc-create.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
b6345ba1b39ada371caa24ec3c105694604caa76 |
|
10-Jun-2009 |
Daniel Lezcano <dlezcano@fr.ibm.com> |
add pkg-config for lxc
Add the pkg-config information for lxc.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
237315ff5060d06b54f5e2006afde372a62979cd |
|
24-Mar-2009 |
Daniel Lezcano <dlezcano@fr.ibm.com> |
Use a specific script to set the capabilities
Instead of having the capabilities to be set automatically,
it will be up to the user to set them through a specific
script 'lxc-setcap'.
After installing the lxc tools, if we want them to be available,
for a non-root user, lxc-setcap will set the needed capabilities.
If, after thinking it, we want to remove the capabilities,
the 'lxc-setcap -d' will do this for us.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Acked-by: Guido Trotter <ultrotter@google.com> |
44931bc727695f3c46b600c4abedcc0404483be1 |
|
16-Feb-2009 |
dlezcano <dlezcano> |
Add more capabilities
From: Daniel Lezcano <daniel.lezcano@free.fr>
lxc-execute and lxc-create need capability to mount.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
64870cda2a584784a6bdb75a989c97a2444678c8 |
|
26-Jan-2009 |
dlezcano <dlezcano> |
Fixed bad variable type
From: Daniel Lezcano <daniel.lezcano@free.fr>
Fixed the type of the opt variable. On the powerpc architecture, that leads
to an infinite loop in the getopt inspection because getopt returns 255
instead of -1 as expected. The opt variable should be an int and not a char.
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
5129b1031922c1ad3ad7558ca000aaf5f9c62e19 |
|
26-Jan-2009 |
dlezcano <dlezcano> |
Fixed type in the spec file
From: Daniel Lezcano <daniel.lezcano@free.fr>
Removed typo.
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
cef07149cd5feed6eb6700177d7ab52f43162893 |
|
26-Jan-2009 |
dlezcano <dlezcano> |
Reduce spec file
From: Daniel Lezcano <daniel.lezcano@free.fr>
Simplified the spec file
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
2b3b608310ae84b9574cc93a7dacf36b8dcc9926 |
|
25-Jan-2009 |
dlezcano <dlezcano> |
From: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
91feede19012bf656169e34b3747e176e56fe425 |
|
05-Jan-2009 |
dlezcano <dlezcano> |
Conform to rpmlint
From: Daniel Lezcano <dlezcano@fr.ibm.com>
Fix rpmlint warnings.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
13832f48ed30e150f5f6cebab7b78b2c99cbcb05 |
|
26-Nov-2008 |
dlezcano <dlezcano> |
Add sys admin capabilty to lxc-netstat to mount /proc/net
From: Daniel Lezcano <dlezcano@fr.ibm.com>
Add sys admin capability to lxc-netstat to mount /proc/net.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
6ebc80f8d963916edcc154114bb5ddeeca67e79e |
|
21-Nov-2008 |
dlezcano <dlezcano> |
Fixed a typo |
d823d5b966f49d975a09a8512d084389d6d7ffc7 |
|
18-Nov-2008 |
dlezcano <dlezcano> |
Added the man.1 pages
From: Daniel Lezcano <dlezcano@fr.ibm.com>
Added the different man pages for the lxc commands. The generation of the
man pages relies on the docbook tool.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
0780e343896f3d8300e0b4adf3bcd65d1b679f48 |
|
13-Nov-2008 |
dlezcano <dlezcano> |
Add setpcap capabilty to be able to drop the sys_boot capabilty.
From: Daniel Lezcano <dlezcano@fr.ibm.com>
Previously, we dropped the CAP_SYS_BOOT capabilty. Unfortunatly if we are
non root user, we are not able to do that. So I had the CAP_SETPCAP to
lxc-execute and lxc-start command line to remove this capabilty.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> |
693dcea5e46626ca813e520d970ef4c7b8227404 |
|
26-Oct-2008 |
dlezcano <dlezcano> |
Fixed different compilation scheme by making /var/lxc directory relative to
the installation prefix and by adding some extra path to search for the
'setcap' command. |
22ea48ce038acae5699dd575b408384c76e3e747 |
|
24-Oct-2008 |
dlezcano <dlezcano> |
Added file capabilities to lxc-restart |
805415fcebeea70abb27025f8ad0518ead78cc08 |
|
24-Oct-2008 |
dlezcano <dlezcano> |
Give the ability to non-root user to play with the containers. This feature
relies on the file capabilities, when the lxc commands are installed, the
sys/net admin capabilities are given to these files. These capabilities are
not available for the application running inside the container. |
e704563b6a4cbe3ff29b3433ebe16fcc896bd611 |
|
09-Oct-2008 |
dlezcano <dlezcano> |
Updated changelog for version 0.3.0 |
c79ea89b19cdf961e604e7c85e1458f0559b1a6d |
|
10-Sep-2008 |
dlezcano <dlezcano> |
Tagging lxc_0_2_1 |
b4915399328661d6c0d44af13e1221929cb5c741 |
|
05-Sep-2008 |
dlezcano <dlezcano> |
Changelog |
96f3e4ebd4c232776e35ae85a88f25b206e280af |
|
04-Sep-2008 |
dlezcano <dlezcano> |
Joined lxc and liblxc directories |
c2cc9f0a9b052563d803d3d1e685e307d1d1412b |
|
02-Sep-2008 |
dlezcano <dlezcano> |
Added C++ compatibility, change to libtool, improve monitoring |
5e97c3fcce787a5bc0f8ceef43aa3e05195b480a |
|
06-Aug-2008 |
dlezcano <dlezcano> |
Initial revision |