- 01 May, 2016 6 commits
-
-
Christian Brauner authored
set PyErr when Container.__init__ fails
-
Christian Brauner authored
Expose lxc.network.type through lxc_list_nicconfigs()
-
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>
-
Stéphane Graber authored
Check if the stdout is a terminal in lxc-checkconfig
-
walkerning authored
Let lxc-checkconfig write to non-tty stdout without color control characters Signed-off-by:walkerning <foxdoraame@gmail.com>
-
- 29 Apr, 2016 1 commit
-
-
Serge Hallyn authored
2016 04 28/less syscall for lxc ls
-
- 28 Apr, 2016 2 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
- 25 Apr, 2016 3 commits
-
-
Stéphane Graber authored
don't make sysv init scripts dependant on distribution specifics
-
Christian Brauner authored
doc: Add logging option to Japanese lxc-attach(1)
-
KATOH Yasufumi authored
Update for commit f43d63bcSigned-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp>
-
- 24 Apr, 2016 1 commit
-
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
- 22 Apr, 2016 1 commit
-
-
Leonid Isaev authored
gcc -Wall warns about uninitialized variables (-Wmaybe-uninitialized), and -Werror makes it fatal. This change allows the build to succeed by NULL'ifying the pointer passed to strtok_r(). Note that strtok_r(3) anyway ignores a non-NULL arg3 pointer on the 1st call with non-NULL arg1 string. Signed-off-by:
Leonid Isaev <leonid.isaev@jila.colorado.edu> Acked-by:
Serge Hallyn <serge.hallyn@ubuntu.com>
-
- 19 Apr, 2016 2 commits
-
-
Serge Hallyn authored
use raw settings of ssh for pty
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
- 18 Apr, 2016 2 commits
-
-
Christian Brauner authored
Switch console pty to raw mode.
-
Andrey Jr. Melnikov authored
Signed-off-by:Andrey Jr. Melnikov <temnota.am@gmail.com>
-
- 15 Apr, 2016 2 commits
-
-
Evgeni Golov authored
- /etc(/rc.d)?/init.d/functions does not exist on all distributions - LSB does not define a message function without an explicit status - Debian-derived systems add a log_daemon_msg for that lets define an own log_daemon_msg as echo and try to load LSB init functions afterwards, which might overload it with a nicer version that way the init scripts should work on any system, without hard dependencies on neither LSB nor /etc/init.d/functions Closes #309 #310 #311 Signed-off-by:Evgeni Golov <evgeni@debian.org>
-
Christian Brauner authored
drop obsolete syslog.target from lxc.service.in
-
- 14 Apr, 2016 3 commits
-
-
Evgeni Golov authored
the target is obsolete since systemd v38 which everybody should have. original patch by Daniel Baumann Signed-off-by:Evgeni Golov <evgeni@debian.org>
-
Stéphane Graber authored
Fixed python-lxc reference to var before assignment
-
Aron Podrigal authored
``` >>> c = lxc.Container('ct') >>> c.create('debian', args=('-r', 'jessie')) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/dist-packages/lxc/__init__.py", line 229, in create template_args['args'] = tuple(tmp_args) UnboundLocalError: local variable 'tmp_args' referenced before assignment ``` Signed-off-by:Aron Podrigal <aronp@guaranteedplus.com>
-
- 13 Apr, 2016 8 commits
-
-
Stéphane Graber authored
add missing lsb headers to sysvinit scripts
-
Christian Brauner authored
do not set the root password in the debian template
-
Evgeni Golov authored
closes #302 Signed-off-by:Evgeni Golov <evgeni@debian.org>
-
Evgeni Golov authored
original patch by Daniel Baumann closes #308 Signed-off-by:Evgeni Golov <evgeni@debian.org>
-
Serge Hallyn authored
lxc-attach: error on -L/--pty-log + redirection
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
cgfsng: don't require that systemd subsystem be mounted
-
Christian Brauner authored
pty logging only works correctly when stdout and stderr refer to a pty. If they do not, we do not dup2() them and lxc_console_cb_con() will never write to the corresponding log file descriptor. When redirection on stdout and stderr is used we can safely assume that the user is already logging to a file or /dev/null and creating an additional pty log doesn't seem to make sense. Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
- 12 Apr, 2016 4 commits
-
-
Stéphane Graber authored
nicer date format and support for SOURCE_DATE_EPOCH in LXC_GENERATE_DATE
-
Serge Hallyn authored
Note that is_crucial_subsystem still lists name=systemd. That is used in cgfs and cgmanager. Cgmanager is typically setup to create name=systemd, so it is ok. cgfs uses is_crucial_subsystem() only to decide whether failure to create or chown a directory should be terminal. That's ok, because (a) if name=systemd is not mounted then we won't hit that, and (b) if name=systemd is mounted, then we'd really still like to set it up for containers. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Evgeni Golov authored
Using $(date) for LXC_GENERATE_DATE has various flaws: * formating depends on the locale of the system we execute configure on * the output is not really a date but more a timestamp Let's use $(date --utc '+%Y-%m-%d') instead. While at it, also support SOURCE_DATE_EPOCH [1] to make the build reproducible [1] https://reproducible-builds.org/specs/source-date-epoch/Signed-off-by:
Evgeni Golov <evgeni@debian.org>
-
Serge Hallyn authored
lxc-attach: add logging option to manpage
-
- 11 Apr, 2016 5 commits
-
-
Serge Hallyn authored
lxc-destroy: avoid double print
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Serge Hallyn authored
Ignore temporary files generated by doxygen
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Serge Hallyn authored
lxc-create: fix -B best option
-