- 18 Nov, 2016 4 commits
-
-
Roman Mueller authored
Signed-off-by:Roman Mueller <roman.mueller@gmail.com>
-
Christian Brauner authored
Make sure we don't return uninitialized memory. Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Thierry Fauck authored
Template catches arch from uname -m, but for ppc64el system, arch reports ppc64le which doesn't match image repo. Signed-off-by:
Thierry Fauck <tfauck@free.fr> Signed-off-by:
Serge Hallyn <serge@hallyn.com>
-
Lukas Pirl authored
Signed-off-by:Lukas Pirl <git@lukas-pirl.de>
-
- 17 Nov, 2016 36 commits
-
-
Christian Brauner authored
- We expect destroy to fail in zfs_clone() so try to silence it so users are not irritated when they create zfs snapshots. - Add -r recursive to zfs_destroy(). This code is only hit when a) the container has no snapshots or b) the user calls destroy with snapshots. So this should be safe. Without -r snapshots will remain. Signed-off-by:Christian Brauner <christian.brauner@canonical.com>
-
Christian Brauner authored
lxc_console is used with lxc_console.c Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Evgeni Golov authored
otherwise the generated docs have the full build path in them and nonbody cares that the files were built in /build/lxc-_BVY2u/lxc-2.0.4/src/lxc/ Signed-off-by:Evgeni Golov <evgeni@debian.org>
-
Elan Ruusamäe authored
/usr/share/lxc/templates/lxc-fedora: line 1078: openssl: command not found Signed-off-by:Elan Ruusamäe <glen@delfi.ee>
-
Christian Brauner authored
- log more errnos - adapt coding style Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
James Cowgill authored
Signed-off-by:James Cowgill <james410@cowgill.org.uk>
-
James Cowgill authored
Fixes "unsupported personality" warnings when starting containers. Signed-off-by:James Cowgill <james410@cowgill.org.uk>
-
James Cowgill authored
MIPS processors implement 3 ABIs: o32, n64 and n32 (similar to x32). The kernel treats each ABI separately so syscalls disallowed on "all" arches should be added to all three seccomp sets. This is implemented by expanding compat_arch and compat_ctx to accept two compat architectures. After this, the MIPS hostarch detection code and config section code is added. Signed-off-by:James Cowgill <james410@cowgill.org.uk>
-
James Cowgill authored
Signed-off-by:James Cowgill <james410@cowgill.org.uk>
-
Stéphane Graber authored
With how easy it is to create a collision on a short ID nowadays and given that the user doesn't actually have to remember or manually enter the key ID, lets just use the full fingerprint from now on. Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Wolfgang Bumiller authored
This fixes a double free corruption on container-requested reboots when lxc_spawn() fails before receiving the ttys, as lxc_fini() (part of __lxc_start()'s cleanup) calls lxc_delete_tty(). Signed-off-by:Wolfgang Bumiller <w.bumiller@proxmox.com>
-
Sergio Schvezov authored
This allows installing to different locations and using the lxc.pc to build using the generated includedir and libdir. Signed-off-by:Sergio Schvezov <sergio.schvezov@ubuntu.com>
-
Andreas Freudenberg authored
Signed-off-by:Andreas Freudenberg <andreas.freudenberg@licomonch.net>
-
Vitaly Lavrov authored
Signed-off-by:Vitaly Lavrov <vel21ripn@gmail.com>
-
Antonio Terceiro authored
The regression was introduced by commit 3c39b0b7 which makes it possible to create working stretch containers by forcinig `init` to be in the included package list. However, `init` didn't exit before jessie, so now for wheezy we explicitly include `sysvinit`; sysvinit on wheezy is essential, so it would already be included anyway. Signed-off-by:
Antonio Terceiro <terceiro@debian.org>
-
Preetam D'Souza authored
Newer versions of Android (5.0+, aka API Level 21+) include mntent.h, which declares setmntent and endmntent. This hits an edge case with the preprocessor checks in lxcmntent.h because HAVE_SETMNTENT and HAVE_ENDMNTENT are both defined (in Bionic's mntent.h), but conf.c always includes lxcmntent.h on Bionic! As a result, we get compiler warnings of implicit function declarations for setmntent endmntent. This patch always includes setmntent/endmntent/hasmntopt function declarations on Bionic, which gets rid of these warnings. Signed-off-by:Preetam D'Souza <preetamjdsouza@gmail.com>
-
Wolfgang Bumiller authored
The profile already contains mount options=(rw, make-slave) -> **, Which allows going through all mountpoints with make-slave, so it seems to make sense to also allow the directly recursive variant with "make-rslave". Signed-off-by:
Wolfgang Bumiller <w.bumiller@proxmox.com> Acked-by:
Serge E. Hallyn <serge.hallyn@ubuntu.com>
-
KATOH Yasufumi authored
* configure to start only the minimum of service * add ntp, kmod to ignore packages Signed-off-by:KATOH Yasufumi <karma@jazz.email.ne.jp>
-
Antonio Terceiro authored
init 1.34 is not "Essential" anymore, in order to make it not required on minimal chroots, docker containers, etc. Because of that we now need to manually include it on systems that are expected to boot. Signed-off-by:Antonio Terceiro <terceiro@debian.org>
-
Jörg Krause authored
struct in6_addr is both defined in the C library header <netinet/in.h> and the Linux kernel header <linux/in6.h>. lxc_user_nic.c includes both <netinet/in.h> and <linux/if_bridge.h>. The later one includes <linux/in6.h>. This breaks build with the musl libc: error: redefinition of ‘struct in6_addr’ As lxc_user_nic.c does not use any references from <linux/if_bridge.h> it is safe to remove this header. Signed-off-by:Jörg Krause <joerg.krause@embedded.rocks>
-
Andrey Kostin authored
Signed-off-by:Andrey Kostin <andrey@kostin.email>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Stewart Brodie authored
If the value starts and ends with matching quote characters, those characters are stripped automatically. Quote characters are the single quote (') or double quote ("). The quote removal is done after the whitespace trimming. This is needed particularly in order that lxc.environment values may have trailing spaces. However, the quote removal is done for all values in the parse_line function, as it has non-const access to the value. Signed-off-by:Stewart Brodie <stewart@metahusky.net>
-
Serge Hallyn authored
so that there is a root uid mapping for the /proc/net files. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Hartnell Foster authored
Signed-off-by:Hartnell Foster <hartnell.foster@bbc.co.uk>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Tycho Andersen authored
I think (?) this may be related to our hanging monitor bug. Let's do this anyway, as it's probably a good idea. Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Lisio authored
Required for proper applying dnsmasq config entries. Signed-off-by:Andrey Kostin <andrey@kostin.email>
-
Aron Podrigal authored
Signed-off-by:Aron Podrigal <aronp@guaranteedplus.com>
-
Aron Podrigal authored
When container init failed for whatever reason, previously it resulted in a `SystemError: NULL result without error in PyObject_Call` This will now result in a RuntimeError with the error message previously printed to stderr. Signed-off-by:Aron Podrigal <aronp@guaranteedplus.com>
-
walkerning authored
Let lxc-checkconfig write to non-tty stdout without color control characters Signed-off-by:walkerning <foxdoraame@gmail.com>
-