mirror_lxc/src/lxc
Martin Pitt 2ed776214a Move lxcbr0 setup logic into lxc.net script
Factor this out of the lxc-net.conf upstart job, so that it can be used by
init.d scripts and systemd units, too.

Part of https://launchpad.net/bugs/1312532

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
2014-08-04 15:24:03 -04:00
..
legacy licensing: Add missing headers and FSF address 2013-09-03 14:33:03 -04:00
lsm apparmor: don't do on-exec profile changes 2014-02-22 18:33:29 -05:00
af_unix.c commands: handle epipe 2014-03-25 18:38:39 -04:00
af_unix.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
arguments.c Remove lxc-version, lxc-ps and lxc-netstat 2014-01-22 13:38:46 -05:00
arguments.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
attach_options.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
attach.c attach: Fix querying for the current personality 2014-06-25 15:34:46 -04:00
attach.h attach: get personality through get_config command 2014-05-25 10:40:29 -04:00
bdev.c fix typo in btrfs error msg 2014-07-27 10:53:54 -05:00
bdev.h Specially handle block device rootfs 2014-05-25 10:43:50 -04:00
caps.c don't force dropping capabilities in lxc-init 2014-06-20 14:07:56 -04:00
caps.h don't force dropping capabilities in lxc-init 2014-06-20 14:07:56 -04:00
cgfs.c cgfs: Log the whole cgroup path too 2014-06-10 16:12:56 -04:00
cgmanager.c cgm_get: make sure @value is null-terminated 2014-06-27 13:51:33 -05:00
cgroup.c cgmanager updates 2014-03-04 17:34:29 -05:00
cgroup.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
commands.c Try to be more helpful on container startup failure 2014-06-04 17:03:24 -04:00
commands.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
conf.c use non-thread-safe getpwuid and getpwgid for android 2014-07-31 15:58:31 -04:00
conf.h print a helpful message if creating unpriv container with no idmap 2014-07-31 14:17:04 -04:00
confile.c Add the remaining bits for lxc.environment 2014-07-31 13:54:36 -04:00
confile.h Add a unexpanded lxc_conf 2014-06-18 16:56:14 -04:00
console.c fix console stdin,stdout,stderr fds 2014-03-21 15:03:55 -04:00
console.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
error.c adjust include statements (v2) 2014-01-01 14:04:51 -06:00
error.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
execute.c execute: don't bind mount init.lxc.static if lxc-init is in the container 2014-06-03 10:11:01 -04:00
freezer.c split cgroup handling into discrete backends 2014-02-06 10:46:19 -06:00
genl.c licensing: Add missing headers and FSF address 2013-09-03 14:33:03 -04:00
genl.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
list.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
log.c fix fd leak in test-concurrent 2014-03-07 16:56:04 -06:00
log.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
lxc_attach.c Fix typo in lxc_attach's usage 2014-06-20 14:04:44 -04:00
lxc_autostart.c lxc-autostart: Respect -P 2014-06-17 11:55:29 -04:00
lxc_cgroup.c lxc_*.c: don't exit with -1 2014-04-07 17:19:14 -04:00
lxc_clone.c lxc_*.c: don't exit with -1 2014-04-07 17:19:14 -04:00
lxc_config.c lxc_*.c: don't exit with -1 2014-04-07 17:19:14 -04:00
lxc_console.c lxc_*.c: don't exit with -1 2014-04-07 17:19:14 -04:00
lxc_create.c btrfs: support unprivileged create and clone 2014-05-06 22:54:39 -05:00
lxc_destroy.c lxc_*.c: don't exit with -1 2014-04-07 17:19:14 -04:00
lxc_execute.c Add a unexpanded lxc_conf 2014-06-18 16:56:14 -04:00
lxc_freeze.c lxc_*.c: don't exit with -1 2014-04-07 17:19:14 -04:00
lxc_info.c cppcheck: fix unchecked realloc in lxc_info.c 2014-04-15 16:10:35 -05:00
lxc_init.c Add SIGPWR support to lxc_init 2014-07-21 11:45:32 +02:00
lxc_monitor.c lxc_*.c: don't exit with -1 2014-04-07 17:19:14 -04:00
lxc_monitord.c lxc_*.c: don't exit with -1 2014-04-07 17:19:14 -04:00
lxc_snapshot.c snapshots: move snapshot directory 2014-06-18 16:28:39 -05:00
lxc_start.c lxc-start: Daemonize by default 2014-07-31 13:46:51 -04:00
lxc_stop.c Fix incorrect timeout handling of do_reboot_and_check() 2014-07-07 10:13:57 -04:00
lxc_unfreeze.c lxc_*.c: don't exit with -1 2014-04-07 17:19:14 -04:00
lxc_unshare.c lxc_*.c: don't exit with -1 2014-04-07 17:19:14 -04:00
lxc_user_nic.c unprivileged containers: use next available nic name if unspecified 2014-07-23 09:42:16 -05:00
lxc_usernsexec.c print a helpful message if creating unpriv container with no idmap 2014-07-31 14:17:04 -04:00
lxc_wait.c lxc_*.c: don't exit with -1 2014-04-07 17:19:14 -04:00
lxc-checkconfig.in lxc-checkconfig: Fix parsing on vserver kernels 2014-02-18 17:09:14 -05:00
lxc-device Add support for --version to lxc-ls and lxc-device 2014-07-07 10:17:28 -04:00
lxc-ls.in Add support for --version to lxc-ls and lxc-device 2014-07-07 10:17:28 -04:00
lxc-start-ephemeral.in Also add --verison support to lxc-start-ephemeral 2014-07-07 12:48:07 -04:00
lxc-top lxc-lua: LFS library is not being used 2013-11-18 10:44:33 -05:00
lxc.functions.in One more rename of the system options 2014-01-10 23:25:19 -05:00
lxc.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
lxc.net Move lxcbr0 setup logic into lxc.net script 2014-08-04 15:24:03 -04:00
lxccontainer.c print a helpful message if creating unpriv container with no idmap 2014-07-31 14:17:04 -04:00
lxccontainer.h snapshots: move snapshot directory 2014-06-18 16:28:39 -05:00
lxclock.c snapshots: move snapshot directory 2014-06-18 16:28:39 -05:00
lxclock.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
lxcseccomp.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
lxcutmp.c coverity: Check fread length 2014-02-14 19:13:36 -05:00
lxcutmp.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
mainloop.c Remove process_lock() except where actually needed 2013-12-24 09:10:41 -06:00
mainloop.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
Makefile.am Move lxcbr0 setup logic into lxc.net script 2014-08-04 15:24:03 -04:00
monitor.c coverity: fix fd leak in error case (1011105) 2014-04-28 12:28:33 -05:00
monitor.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
namespace.c Mark functions as static and arguments/arrays as const where possible 2014-01-02 09:54:03 -06:00
namespace.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
network.c fix typo 2014-07-23 10:19:24 -05:00
network.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
nl.c Remove process_lock() except where actually needed 2013-12-24 09:10:41 -06:00
nl.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
parse.c Mark functions as static and arguments/arrays as const where possible 2014-01-02 09:54:03 -06:00
parse.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
rtnl.c licensing: Add missing headers and FSF address 2013-09-03 14:33:03 -04:00
rtnl.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
seccomp.c seccomp: fix 32-bit rules 2014-06-20 16:33:59 -04:00
start.c Support providing env vars to container init 2014-07-31 13:54:20 -04:00
start.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
state.c split cgroup handling into discrete backends 2014-02-06 10:46:19 -06:00
state.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
sync.c Remove process_lock() except where actually needed 2013-12-24 09:10:41 -06:00
sync.h use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00
utils.c snapshots: move snapshot directory 2014-06-18 16:28:39 -05:00
utils.h snapshots: move snapshot directory 2014-06-18 16:28:39 -05:00
version.h.in use same ifndef/define format for all headers 2014-05-09 05:12:22 -05:00