- 30 Jun, 2015 3 commits
-
-
Stéphane Graber authored
debootstrap failed when $GREP_OPTIONS color is set
-
Serge Hallyn authored
Per pitti's suggestion, use After= to force lxc to wait for lxc-net to finish running. Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com> Reviewed-By:
Martin Pitt <martin.pitt@ubuntu.com>
-
有张纸 authored
debootstrap failed when $GREP_OPTIONS is set, so we need to unset it in the template Signed-off-by: <feng xiahou xiahoufeng@yahoo.com>
-
- 29 Jun, 2015 2 commits
-
-
Stéphane Graber authored
V2 changes: - Keep using /var/lib for the lease file, but making it respect localstatedir - Don't pass an empty --conf-file as that confuses dnsmasq when /etc/dnsmasq.conf doesn't exist or isn't readable. Signed-off-by:
Stéphane Graber <stgraber@ubuntu.com> Acked-by:
Serge E. Hallyn <serge.hallyn@ubuntu.com>
-
Arjun Sreedharan authored
also label and consolidate error conditions for better readability Signed-off-by:
Arjun Sreedharan <arjun024@gmail.com> Acked-by:
Serge E. Hallyn <serge.hallyn@ubuntu.com>
-
- 24 Jun, 2015 1 commit
-
-
Serge Hallyn authored
lxc_user_nic was segfaulting: lxc-user-nic[9761]: segfault at 29 ip 00007f3fb2346872 sp 00007ffdd17b2dd0 error 4 in libc-2.21.so[7f3fb22c2000+1c0000 This patch fixes it. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
- 23 Jun, 2015 1 commit
-
-
Serge Hallyn authored
Added support for groups in lxc-usernet
-
- 21 Jun, 2015 1 commit
-
-
Henrik Kjölhede authored
Signed-off-by:Henrik Kjölhede <hkjolhede@gmail.com>
-
- 18 Jun, 2015 1 commit
-
-
Stéphane Graber authored
Update centos.common.conf.in
-
- 17 Jun, 2015 1 commit
-
-
有张纸 authored
systemd services like logind and journald need CAP_SETFCAP CAP_SETPCAP
-
- 16 Jun, 2015 2 commits
-
-
Stéphane Graber authored
use `hostname` for DHCP_HOSTNAME in ifcfg-eth0
-
Lenz Grimmer authored
Updated centos/fedora/oracle templates to use `hostname` for DHCP_HOSTNAME in /etc/sysconfig/network/ifcfg-eth0, so the container's host name is propagated to the host's DHCP server (e.g. dnsmasq, which also acts as the DNS server). This resolves lxc/lxd#756 Signed-off-by:Lenz Grimmer <lenz@grimmer.com>
-
- 15 Jun, 2015 1 commit
-
-
Stéphane Graber authored
Adopt capability (lxc.cap.drop) documentation from other distros in Gentoo config, drop setpcap and sys_nice
-
- 13 Jun, 2015 1 commit
-
-
Dennis Schridde authored
Documents setpcap,sys_admin,sys_resources as breaking systemd, but does not drop them from lxc.cap.drop, as the default init system on Gentoo is OpenRC, thus stuff breaking systemd can be blocked anyway. This also drops setpcap and sys_nice caps, as these are also dropped in other non-systemd distros. Most of the explanatory blurb was copied from other distros' configs. See-Also: https://bugs.gentoo.org/show_bug.cgi?id=551792Signed-Off-By:
Dennis Schridde <devurandom@gmx.net>
-
- 12 Jun, 2015 4 commits
-
-
Serge Hallyn authored
When starting a daemonized container, only the original parent thread should return to the caller. The first forked child immediately exits after forking, but the grandparent child was in some places returning on error - causing a second instance of the calling function. Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by:
Tycho Andersen <tycho.andersen@canonical.com>
-
Stéphane Graber authored
Translate untranslated section titles in Japanese man pages
-
Stéphane Graber authored
Added container-cache option to templates
-
Sungbae Yoo authored
Signed-off-by:Sungbae Yoo <sungbae.yoo@samsung.com>
-
- 11 Jun, 2015 9 commits
-
-
Kevin Carter authored
This change adds in the container-cache option within the mainline default lxc templates. The pupose here is to allow a template to pull from a location that may not be `@LOCALSTATEDIR@/cache/lxc` Signed-off-by:Kevin Carter <kevin.carter@rackspace.com>
-
Stéphane Graber authored
Fix creation of dev/mqueue and dev/shm on Gentoo
-
Dennis Schridde authored
The dev/mqueue and dev/shm directories do not exist when using lxc.autodev, thus they have to be created upon mount. Signed-off-by:Dennis Schridde <devurandom@gmx.net>
-
Stéphane Graber authored
Update lxc-oracle.in fix a bug
-
有张纸 authored
-
Tycho Andersen authored
In various places throughout the code, we want to "nullify" the std fds, opening them to /dev/null or zero or so. Instead, let's unify this code and do it in such a way that Coverity (probably) won't complain. v2: use /dev/null for stdin as well v3: add a comment about use of C's short circuiting v4: axe comment, check errors on dup2, s/quiet/need_null_stdfds Reported-by: Coverity Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com>
-
Tycho Andersen authored
Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com>
-
Tycho Andersen authored
Reported-by: Coverity Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com>
-
Tycho Andersen authored
We're leaking the FILE* here while closing the underlying fd; let's just close the file and thus close both. Reported-by: Coverity Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com>
-
- 09 Jun, 2015 3 commits
-
-
Henrik Kjölhede authored
Signed-off-by:Henrik Kjölhede <hkjolhede@gmail.com>
-
Stéphane Graber authored
fix build on mpc85xx
-
Daniel Golle authored
Initialize ret to 0 so compiler no longer complains about monitor.c: In function 'lxc_monitor_open': monitor.c:212:5: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized] https://github.com/openwrt/packages/issues/1356Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
- 08 Jun, 2015 2 commits
-
-
Serge Hallyn authored
Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
- 04 Jun, 2015 2 commits
-
-
Henrik Kjölhede authored
Signed-off-by:Henrik Kjölhede <hkjolhede@gmail.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
- 03 Jun, 2015 6 commits
-
-
Stéphane Graber authored
Instead of re-defining MS_ options all over the place, just revert the last change to bdev.h so we have all the defines in there again. Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Henrik Kjölhede authored
Signed-off-by:Henrik Kjölhede <hkjolhede@gmail.com>
-
Henrik Kjölhede authored
Signed-off-by:Henrik Kjölhede <hkjolhede@gmail.com>
-
Serge Hallyn authored
Commit 37cf711b added a destroy hook, but when it checks at destroy time whether that hook exists, it assumes that c->lxc_conf is good. In fact lxc_conf can be NULL, so check for that. Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
-