[lxc-devel] LXC 1.0~alpha1 pull request
Stéphane Graber
stgraber at ubuntu.com
Tue Sep 3 19:49:55 UTC 2013
Hi Daniel,
You'll find the 1.0~alpha1 pull request below.
Based on what you did last time, the following should do the trick:
- Review the pull request
- Use "git pull --edit --no-ff --stat git://github.com/lxc/lxc.git",
that should do a real merge, letting you do a proper Sign-off of the
changes.
- Update the version number to 1.0~alpha1
- Commit and tag
The main changes in LXC 1.0~alpha1 are:
- Rebasing of the various commands on the LXC API (dropping various
shell scripts and switching to C equivalents)
- New implementation of container cloning and snapshotting
- Overlayfs clones of regular containers
- Improved console handling (including SIGWINCH handling on lxc-start console)
- Cleaner backing store support directly in LXC core
- Support for building with current Android NDK
- Quite a lot of additions to the LXC API and its bindings
- Initial work towards unprivileged LXC containers
- Improved stability with respect to threaded callers
- The usual set of templates improvements and bug fixes
Before sending this pull request I've done the following tests:
- Test build on my machine (up to date Ubuntu 13.10)
- Test build on Launchpad (Ubuntu 12.04, 12.10 13.04 and 13.10)
- Test build on an armhf board running Ubuntu 13.10
- Test build for Android cross-compiling on my laptop
- Ran our test suite on the x86 binaries
- Rebuilt all my local templates (~20 containers) on a variety of
architectures (i386, amd64, armel and armhf)
This is the first alpha release for LXC 1.0. Current release schedule is:
- October: alpha2
- November: alpha3
- December: rc1
- January: rc2
- February: 1.0 final
Thanks to everyone involved!
Stéphane
---------
The following changes since commit e9831f83532184caa119f830eee54728084444ba:
lxc-0.9.0 (2013-04-05 11:47:48 +0200)
are available in the git repository at:
git://github.com/lxc/lxc staging
for you to fetch changes up to cd0bcc4958e58a2750cf9086f75649d14c83ac70:
tests: Add lxc-test-usernic to the dist tarball (2013-09-03 15:11:07 -0400)
----------------------------------------------------------------
Alexander Vladimirov (1):
Add subdir-objects option to AM_INIT_AUTOMAKE
Andrew Gilbert (2):
Add double-dash to lxc-netstat re-call arguments
Add -n differentiation to lxc-netstat
Bogdan Purcareata (3):
lxc-template: enable chroot + chpasswd functionality for Busybox hosts
lxc-busybox: check when bind-mounting host libdirs
lxcapi_set_cgroup_item: remove duplicate == 0
Christian Bühler (1):
Use "uname -m" instead of "arch"
Christian Seiler (18):
lxc_attach: Use clone() instead of second fork()
wait_for_pid: Fix EINTR check
utils.c: Add lxc_wait_for_pid_status routine that returns exit code
Move declarations of some constants to where they are needed.
Implement simple utility functions for reading and writing to fds
Fix return type of read/write utility functions.
lxc-attach: Completely rework lxc-attach and move to API function
Add helper functions to convert va_list of char* to char**.
Add attach support to container C API
apparmor/attach: make sure buffer is NUL-terminated
python: improve convert_tuple_to_char_pointer_array
python: add attach support
attach: implement remaining options of lxc_attach_set_environment
attach: Fix minor memory leak in environment variable handling
python/attach: Fix minor memory leaks
cgroup: minor bugfixes so start and attach work again
python/attach: export CLONE_NEW* constants to Python
python/attach: Add function that returns personality for architecture
Dwight Engen (57):
remove unused lxc_copy_file
minor documentation fixes / clarification
fix wait status in pid reuse case
debian template: set arch when dpkg doesn't exist on host
oracle template: install additional user specified pkgs
ubuntu template: fix installation when LANG=C
fix lxc-attach usage
fortify: check the value returned from write(2)
fortify: minor cleanups for unused variables, stricter types
fortify: use reentrant safe strtok_r
fix checking hook script exit code
quiet gcc 4.4.7 warning about saveptr use before initialization
make lxc_af_unix_open() safely return error on long pathnames
goto correct cleanup label to ensure fd is closed
Allow multiple monitor clients
lxc_wait should start monitord
fix building docs
Create log file in lxcpath for non-system containers
log.c: always use dir when lxcpath is not default
allow lxc-init to log when rootfs not given
coverity: ensure string is null terminated, return in
coverity: fix leak in error case
coverity: fix leak when ipv6 gw is auto
coverity: ftell returns a signed value
coverity: fix dereference before NULL check
coverity: fix dereference NULL return value
coverity: free malloc'ed memory in error case
coverity: open can return 0 as an fd, change error check to < 0
coverity: condition already checked for
coverity: clonetest: check correct container is cloned
coverity: check return from waitpid
coverity: fix potential dereference NULL returned from malloc
lxc-monitor multiple paths
lxc-shutdown: fix lxc_path variable
serialize multiple threads doing lxcapi_start()
doc/lxc.conf minor clarifications
set non device cgroup items before the cgroup is entered
quiet gcc 4.4.7 warning about saveptr use before initialization
return lxc generated name for veth pair
extend command processor to handle generic data
fix minor gcc 4.7.2 error
fix getline(3) memory leaks
fix build with --enable-tests
oracle template: mount /dev/shm as tmpfs
consolidate missing C library functions into utils.h
fix memory leaks in cgroup functions
lxc.spec.in: remove lxc-shutdown (for commit 3e625e2d)
add console to lxc api
fix check for lock acquired
console API improvements
fix -c argument handling
allow lxc-info to get running container configuration
fix sshd template
fix potential out of bounds pointer deref
add clonehostname hook
oracle template: use clonehostname hook script
clone: only update <rootfs>/etc/hostname if it exists
Franz Pletz (1):
lxc-destroy: Fix regular expression for getting rootfs
Harald Dunkel (3):
support alternate container path in lxc-shutdown
lxc-create: add missing -P option for running lxc-destroy
support alternate container path in lxc-netstat.in
John McFarlane (1):
Make get_ips timeout poll configurable
Kaarle Ritvanen (2):
lxc-alpine: automatic repository selection
lxc-alpine: option for specifying the release to be installed
Michael H. Warfield (5):
lxc-fedora-template: autodev, hostname, ARM archs, Raspberry Pi fixes
lxc-fedora template - systemd console gettys
lxc-fedora template. Cleanup for rootfs.
lxc-fedora template - Fix retries, use os-release for release, add utsname.
lxc-fedrora: New patch for systemd detection and init configuration.
Natanael Copa (4):
lxc-alpine: download a static package manager if its missing
lxc-init: continue even if we fail to mount /dev/mqueue
lxc-alpine: make --release work when apk exists
lxc-alpine: create /dev/zero
Peter Simons (1):
configure: support for the "docbook2man" utility to build the documentation
Qiang Huang (5):
lxc-console: use fd instead of 0 in setup_tios
arguments: should return negative number when error happens
lxc-create: fix the typo in help info
lxc-destroy: fix the wrong help info of lxc-destroy
lxc-execute: allow lxc-init to log only when we have a valid log level
Richard Weinberger (5):
init: unnest interrupt_handler
init: Fix whitespace damage
start: Detect early failure of the new child
utils: reimplement/fix mkdir_p()
utils: reimplement/fix mkdir_p() (v2)
Rui Xiang (1):
lxc-monitord: remove hard code execvp path of lxc-monitord
S.Çağlar Onur (4):
Support stopping containers concurrently
Support starting containers concurrently
silence "sh: 1: zfs: not found" errors on systems without ZFS
Update .gitignore
Scott Moser (6):
add a clone hook for ubuntu-cloud images
ubuntu-cloud-prep: fix bad declare of VERBOSITY
ubuntu-cloud-prep: cleanup, fix bug with userdata
ubuntu-cloud-prep: patch /sbin/start for overlayfs
ubuntu-cloud-prep: improve overlayfs workaround
hooks/ubuntu-cloud-prep: add hostname to meta-data
Serge Hallyn (130):
lxc.functions: don't let LXC_PATH= line end in failure
Fix up struct lxc_container locking
lxclock: indentation
lxclock: fix coverity-found leak
af_unix.c: fix coverity-found bug: pass addr size
lxcccontainer: add missing va_end found by coverity
lxccontaienr: fix missing va_end in error case.
ifdef out skipped startone test code
lxc_monitor: make sure msg.name is null terminated (bug found by coverity)
lxcapi_create: fix leak of tpath when a container already exists
genl.c: fix a resource leak found by coverity
fix resource leak of utsname in error path found by coverity
fix resource leak of netdev on error path found by coverity
fix free of alloca()d buffer (found by coverity)
fix coverity-found resource leaks in config_network_ipv6
fix coverity-found resource leaks on error paths.
coverity resource leak fixes
fix coverity-found errors.
mkdir_p: account for '//foo/bar'
fix spacing
cgpath test: don't check path len before checking if it is null
remove needless check for 'line' which cannot be NULl there
detect APT_PROXY from host apt.conf
lxc-create: cleanup whenever exiting with error
close fd on error path
monitor.c: sanity check on waitpid return value
Revert "monitor.c: sanity check on waitpid return value"
add zfs support to lxc-create and lxc-destroy
implement backend drivers and container clone API (v3)
implement zfs bdev and clone
Several backing store improvements
allow site-wide customization of zfsroot and lvm vg
add vg and zfsroot options to lxc.functions and use in lxc-create
introduce lxc_config
remove lxc-clone-sh
lxc.functions.in: use the right parameter to lxc-config to get lxcpath
lxc.functions.in: add missing backquote
templates: deny writes to host's clock (v2)
clone: a few fixes
ubuntu templates: add comments to show how to enable nesting
confile.c:config_network_ipv6_gateway: only define gw in needed scope
remove leftover debug cruft (thanks, Dwight)
conf.c: remove a break
lxc-ps: handle cgroup collisions
add lxc-cirros
lxc-cirros updates
cgroup: prevent DOS when a hierachy is mounted multiple times
lxc: add clone hook.
document clone hooks
lxc-create: zfs: consistently use zfsroot, not zfs_root
attach: and cgroup.c: be overly cautious
lxclock: Replace named sempahore with flock
locking: update per Dwight's comment
lxc-stop: use api, remove lxc_shutdown, extend lxc-stop functionality
destroy: implement in the api
Move container creation fully into the api
lxc.conf.sgml.in: fill in missing configuration file statements
api_clone: call is_stopped_locked() to avoid deadlock.
lxccontainer: don't lock around getstate and freeze/unfreeze (v2)
waitpid at abort to make sure we can rmdir cgroups
lxccontainer: update locking comment
configure/makefile: rename default_conf to distro_conf
Define LXC_DEFAULT_CONFIG
lxcapi_create: don't close stdin/out/err
lxc_create: support 'lxc-create -t <template> -h'
implement loopback backing store
lxclock and lxccontainer: switch from flock to fcntl
conf.c: if we don't specify a rootfs, we still need proc mounted
lxc_stop: return success if api_shutdown succeeded
lxclock: move container locks into /run/lock
don't set up console for lxc-execute
conf.c: always strdup rootfs.mount
Accept more word delimiters when updating hooks
api_clone: don't remove storage if we haven't created it
lxc_conf_init: make sure strdup succeeded
lxcapi_create: split out the template execution
lxcapi_create: fix template handling
Accomodate stricter devices cgroup rules
create: add a quiet flag
remove old lxc-create script.
ubuntu-cloud template: accept --rootfs argument
lxc_create: prepend pretty header to config file (v2)
userns: clear and save id_map (v2)
lxccontainer: don't define certain variables if !HAVE_GNUTLS
ubuntu templates: add some kernel filesystems to container fstab
teach lxc-cirros about the --rootfs argument
templates: require running as root
lxc-create: support unpriv users
ubuntu-cloud: changes to support unprivileged use
send current cgroup to lxc_cgroup_create()
A few changes for unprivileged lxc-start
lxclock: use XDG_RUNTIME_DIR for lock if appropriate (v2)
define lxc-usernsexec
cgroup_enter: catch write errors
cgroups: fix the recently broken setting of clone_children
ubuntu-cloud: remove debugging echo
lxc-clone: don't s/oldname/newname in the config file and hooks
Logging: don't confuse command line and config file specified values
mountcgroups: use the right configuration file!
lxc.conf.sgml.in: note the arguments and environment variables passed to hooks
hooks/Makefile.am: add ubuntu-cloud-prep
add lxc-user-nic
lxc-user-nic: specify config and db files in autoconf
cgroups: rework to handle nested containers with multiple and partial mounts
lxc_destroy: print an error if the container is not defined.
lxc-stop: exit with 1 or 2, not -1 or -2.
bdev_create: don't default to btrfs if possible
bdev: support -B best and -B lvm,dir
document new lxc-create btrfs behavior
cgroup.c: remove spurious ERROR messages
lxc-clone: default to overlaysf for -s clone of dir
coverity: don't bother getting template path if we're not going to measure it
coverity: ftell returns long, not size_t (which is unsigned)
coverity: correctly handle tpath error case.
coverity: don't leak open DIR
coverity: don't leak partial_fd
coverity: dont dereference before null check
coverity: make indent match nest level
avoid very unlikely race due to EEXIST
Track snapshot dependencies (v2)
lxc_cgroup: convert to using API
api: convert lxc_wait, lxc_freeze, and lxc_unfreeze
api: convert lxc_start
config_ipv6: run inet_pton on the addr value without mask
start.c: handle potential signal flood
fix wrong license text for parts of liblxc library
fix license text in ubuntu and ubuntu-cloud templates
remove old stale comments (lxc-clone is now implemented)
lxc-commands: add a comment explaining CMD_* rules
lua: update license
Stéphane Graber (50):
python: Fix memory management
Revert "utils: reimplement/fix mkdir_p()"
Revert "start: Detect early failure of the new child"
python: Lots of fixes in C extension
python: Various fixes to the python scripts
ubuntu: Various fixes
python: Fix get_ips and nesting with lxcpath
cgroup: Remove unused mntent variables
python: Fix convert_tuple_to_char_pointer_array
python: Make the code compatibly with 3.2
ubuntu: Don't break when the locale is C.*
lxc.conf: Add reference to capabilities manpage
lxcapi: Add new get_ips() call
python: Fix lxc-ls's usage of get_ips()
lxc-start-ephemeral: Fix get_ips call
python: Re-introduce timeout in get_ips
python: Update scripts to respect PEP-8 spec
lxc-start-ephemeral: Fix console() and add storage option
ubuntu: Fix openssh postinst call in >= saucy
ubuntu: Tweak layout of the config
Replace mktemp() by a new mkifname()
Cleanup Makefile.am
Add attach_options.h to the list of included files
Replace a few more str(n)dupa by str(n)dup + free
Add a local implementation of ifaddrs.h
Replace all calls to rindex by strrchr
Export the local getmntent_r implementation
Define BLKGETSIZE64 and LO_FLAGS_AUTOCLEAR
Android now uses a sane clone() definition
Add arm defines for __NR_signalfd(4)
Add missing syscall.h include to utils.h
Add missing sys/select.h include for fd_set
Import local getline copy on bionic
Include stdio.h in getline.h for FILE
Use srand/rand instead of initstate/random
Define SOCK_CLOEXEC when missing
Add missing sys/socket.h include
Don't define new_personality when building without personalities
Allow building without confstr
Add missing namespace.h include
Fix lxc-user-nic to work on bionic
Remove all trailing whitespaces
Fix some typos
fedora: Add missing double-quotes.
avoid zgrep -q as it's failing on some distros
Add a section about licensing to CONTRIBUTING
python: Fix api_test to use the new attach() API
ubuntu: iproute is now called iproute2
licensing: Add missing headers and FSF address
tests: Add lxc-test-usernic to the dist tarball
Ubuntu (1):
cgroup updates: fix several bugs
Weng Meiling (4):
add free conf->rcfile in lxc_conf_free
lxc_start: free the conf if starting the container fails
lxc-ps: fix the display problem with arg --lxc
lxc-ps: display process when container is frozen
Wojciech Izykowski (1):
lxc-start-ephemeral: fixed bug with wrong ssh option (-k instead of -i)
zoolook (1):
lxc_clone.c: Allow size subfixes for -L parameter
.gitignore | 12 +-
CONTRIBUTING | 24 ++
autogen.sh | 21 ++
config/Makefile.am | 4 +-
configure.ac | 52 ++-
doc/Makefile.am | 1 -
doc/common_options.sgml.in | 2 +-
doc/legacy/lxc-ls.sgml.in | 8 +-
doc/lxc-attach.sgml.in | 4 +-
doc/lxc-cgroup.sgml.in | 4 +-
doc/lxc-checkconfig.sgml.in | 4 +-
doc/lxc-checkpoint.sgml.in | 4 +-
doc/lxc-clone.sgml.in | 150 +++++++--
doc/lxc-console.sgml.in | 15 +-
doc/lxc-create.sgml.in | 16 +-
doc/lxc-destroy.sgml.in | 21 +-
doc/lxc-device.sgml.in | 4 +-
doc/lxc-execute.sgml.in | 12 +-
doc/lxc-freeze.sgml.in | 4 +-
doc/lxc-info.sgml.in | 32 +-
doc/lxc-kill.sgml.in | 4 +-
doc/lxc-ls.sgml.in | 4 +-
doc/lxc-monitor.sgml.in | 23 +-
doc/lxc-netstat.sgml.in | 4 +-
doc/lxc-ps.sgml.in | 10 +-
doc/lxc-restart.sgml.in | 4 +-
doc/lxc-shutdown.sgml.in | 98 ------
doc/lxc-start-ephemeral.sgml.in | 4 +-
doc/lxc-start.sgml.in | 4 +-
doc/lxc-stop.sgml.in | 96 +++++-
doc/lxc-top.sgml.in | 4 +-
doc/lxc-unfreeze.sgml.in | 4 +-
doc/lxc-unshare.sgml.in | 10 +-
doc/lxc-version.sgml.in | 4 +-
doc/lxc-wait.sgml.in | 4 +-
doc/lxc.conf.sgml.in | 235 ++++++++++++--
doc/lxc.sgml.in | 4 +-
doc/see_also.sgml.in | 2 +-
hooks/Makefile.am | 4 +-
hooks/clonehostname | 29 ++
hooks/mountcgroups | 25 +-
hooks/mountecryptfsroot | 2 +-
hooks/ubuntu-cloud-prep | 184 +++++++++++
lxc.spec.in | 3 +-
runapitests.sh | 18 ++
src/include/getline.c | 29 ++
src/include/getline.h | 31 ++
src/include/ifaddrs.c | 597 +++++++++++++++++++++++++++++++++++
src/include/ifaddrs.h | 54 ++++
src/include/lxcmntent.c | 20 ++
src/include/lxcmntent.h | 21 ++
src/include/openpty.c | 36 ++-
src/include/openpty.h | 23 ++
src/lua-lxc/core.c | 27 +-
src/lua-lxc/lxc.lua | 21 +-
src/lxc/Makefile.am | 77 +++--
src/lxc/af_unix.c | 21 +-
src/lxc/af_unix.h | 2 +-
src/lxc/apparmor.c | 25 +-
src/lxc/apparmor.h | 20 ++
src/lxc/arguments.c | 39 ++-
src/lxc/arguments.h | 24 +-
src/lxc/attach.c | 643 ++++++++++++++++++++++++++++++++++---
src/lxc/attach.h | 10 +-
src/lxc/attach_options.h | 120 +++++++
src/lxc/bdev.c | 2070 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/lxc/bdev.h | 138 ++++++++
src/lxc/caps.c | 40 +--
src/lxc/caps.h | 6 +-
src/lxc/cgroup.c | 1237 ++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------
src/lxc/cgroup.h | 37 ++-
src/lxc/checkpoint.c | 2 +-
src/lxc/commands.c | 701 +++++++++++++++++++++++++++++++++++------
src/lxc/commands.h | 83 +++--
src/lxc/conf.c | 291 ++++++++++++-----
src/lxc/conf.h | 27 +-
src/lxc/confile.c | 75 ++++-
src/lxc/confile.h | 2 +-
src/lxc/console.c | 786 ++++++++++++++++++++++++++++++++++------------
src/lxc/console.h | 20 +-
src/lxc/error.c | 2 +-
src/lxc/error.h | 2 +-
src/lxc/execute.c | 45 ++-
src/lxc/freezer.c | 33 +-
src/lxc/genl.c | 19 +-
src/lxc/genl.h | 2 +-
src/lxc/legacy/lxc-ls.in | 2 +-
src/lxc/list.c | 2 +-
src/lxc/list.h | 23 ++
src/lxc/log.c | 243 ++++++++------
src/lxc/log.h | 16 +-
src/lxc/lxc-checkconfig.in | 2 +-
src/lxc/lxc-clone.in | 324 -------------------
src/lxc/lxc-create.in | 357 ---------------------
src/lxc/lxc-destroy.in | 63 +++-
src/lxc/lxc-device | 2 +-
src/lxc/lxc-ls | 11 +-
src/lxc/lxc-netstat.in | 35 ++-
src/lxc/lxc-ps.in | 31 +-
src/lxc/lxc-shutdown.in | 151 ---------
src/lxc/lxc-start-ephemeral.in | 28 +-
src/lxc/lxc.functions.in | 15 +-
src/lxc/lxc.h | 62 ++--
src/lxc/lxc_attach.c | 458 +++++----------------------
src/lxc/lxc_cgroup.c | 35 ++-
src/lxc/lxc_checkpoint.c | 4 +-
src/lxc/lxc_clone.c | 179 +++++++++++
src/lxc/lxc_config.c | 70 +++++
src/lxc/lxc_console.c | 192 ++----------
src/lxc/lxc_create.c | 246 +++++++++++++++
src/lxc/lxc_destroy.c | 103 ++++++
src/lxc/lxc_execute.c | 8 +-
src/lxc/lxc_freeze.c | 30 +-
src/lxc/lxc_info.c | 43 ++-
src/lxc/lxc_init.c | 96 ++++--
src/lxc/lxc_kill.c | 6 +-
src/lxc/lxc_monitor.c | 38 ++-
src/lxc/lxc_monitord.c | 409 ++++++++++++++++++++++++
src/lxc/lxc_restart.c | 8 +-
src/lxc/lxc_start.c | 102 +++---
src/lxc/lxc_stop.c | 127 +++++++-
src/lxc/lxc_unfreeze.c | 30 +-
src/lxc/lxc_unshare.c | 2 +-
src/lxc/lxc_user_nic.c | 782 +++++++++++++++++++++++++++++++++++++++++++++
src/lxc/lxc_usernsexec.c | 417 ++++++++++++++++++++++++
src/lxc/lxc_wait.c | 18 +-
src/lxc/lxccontainer.c | 1832 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------
src/lxc/lxccontainer.h | 124 +++++++-
src/lxc/lxclock.c | 322 +++++++++++++++----
src/lxc/lxclock.h | 94 ++++--
src/lxc/lxcseccomp.h | 2 +-
src/lxc/lxcutmp.c | 4 +-
src/lxc/lxcutmp.h | 2 +-
src/lxc/mainloop.c | 9 +-
src/lxc/mainloop.h | 9 +-
src/lxc/monitor.c | 243 ++++++++++----
src/lxc/monitor.h | 12 +-
src/lxc/namespace.c | 4 +-
src/lxc/namespace.h | 5 +-
src/lxc/network.c | 8 +-
src/lxc/network.h | 2 +-
src/lxc/nl.c | 2 +-
src/lxc/nl.h | 2 +-
src/lxc/parse.c | 10 +-
src/lxc/parse.h | 2 +-
src/lxc/restart.c | 2 +-
src/lxc/rtnl.c | 2 +-
src/lxc/rtnl.h | 2 +-
src/lxc/seccomp.c | 2 +-
src/lxc/start.c | 246 ++++-----------
src/lxc/start.h | 6 +-
src/lxc/state.c | 113 ++-----
src/lxc/state.h | 2 +-
src/lxc/stop.c | 115 -------
src/lxc/sync.c | 2 +-
src/lxc/sync.h | 2 +-
src/lxc/utils.c | 405 +++++++++++++++++++-----
src/lxc/utils.h | 163 +++++++++-
src/lxc/version.c | 2 +-
src/lxc/version.h | 2 +-
src/python-lxc/examples/api_test.py | 14 +-
src/python-lxc/examples/pyconsole-vte.py | 80 +++++
src/python-lxc/examples/pyconsole.py | 54 ++++
src/python-lxc/lxc.c | 753 ++++++++++++++++++++++++++++++++++++++------
src/python-lxc/lxc/__init__.py | 182 +++++------
src/python-lxc/setup.py | 23 ++
src/tests/Makefile.am | 16 +-
src/tests/cgpath.c | 278 ++++++++++------
src/tests/clonetest.c | 178 +++++++++++
src/tests/console.c | 177 +++++++++++
src/tests/containertests.c | 2 +-
src/tests/createtest.c | 2 +-
src/tests/destroytest.c | 2 +-
src/tests/get_item.c | 2 +-
src/tests/locktests.c | 258 +++++----------
src/tests/lxc-test-usernic | 67 ++++
src/tests/saveconfig.c | 2 +-
src/tests/shutdowntest.c | 2 +-
src/tests/startone.c | 4 +-
templates/Makefile.am | 3 +-
templates/lxc-alpine.in | 122 +++++++-
templates/lxc-altlinux.in | 26 +-
templates/lxc-archlinux.in | 14 +-
templates/lxc-busybox.in | 53 +++-
templates/lxc-cirros.in | 321 +++++++++++++++++++
templates/lxc-debian.in | 31 +-
templates/lxc-fedora.in | 231 +++++++++++---
templates/lxc-opensuse.in | 21 +-
templates/lxc-oracle.in | 32 +-
templates/lxc-sshd.in | 82 +++--
templates/lxc-ubuntu-cloud.in | 226 ++++++-------
templates/lxc-ubuntu.in | 132 ++++++--
192 files changed, 15833 insertions(+), 4716 deletions(-)
delete mode 100644 doc/lxc-shutdown.sgml.in
create mode 100755 hooks/clonehostname
create mode 100755 hooks/ubuntu-cloud-prep
create mode 100644 src/include/ifaddrs.c
create mode 100644 src/include/ifaddrs.h
create mode 100644 src/lxc/attach_options.h
create mode 100644 src/lxc/bdev.c
create mode 100644 src/lxc/bdev.h
delete mode 100755 src/lxc/lxc-clone.in
delete mode 100644 src/lxc/lxc-create.in
delete mode 100644 src/lxc/lxc-shutdown.in
create mode 100644 src/lxc/lxc_clone.c
create mode 100644 src/lxc/lxc_config.c
create mode 100644 src/lxc/lxc_create.c
create mode 100644 src/lxc/lxc_destroy.c
create mode 100644 src/lxc/lxc_monitord.c
create mode 100644 src/lxc/lxc_user_nic.c
create mode 100644 src/lxc/lxc_usernsexec.c
delete mode 100644 src/lxc/stop.c
create mode 100755 src/python-lxc/examples/pyconsole-vte.py
create mode 100755 src/python-lxc/examples/pyconsole.py
create mode 100644 src/tests/clonetest.c
create mode 100644 src/tests/console.c
create mode 100755 src/tests/lxc-test-usernic
create mode 100644 templates/lxc-cirros.in
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130903/95250673/attachment.pgp>
More information about the lxc-devel
mailing list