- 15 Dec, 2016 3 commits
-
-
Christian Brauner authored
OpenSUSE systemd fixes
-
Evgeni Golov authored
Given commit 330ae3d3: lxccontainer: detect if we should send SIGRTMIN+3 This is required by systemd to cleanly shutdown. Other init systems should not have SIGRTMIN+3 in the blocked signals set. we should stop poking around with sigpwr.target for systemd. Signed-off-by:
Evgeni Golov <evgeni@debian.org>
-
Evgeni Golov authored
it might not even be there… Signed-off-by:Evgeni Golov <evgeni@debian.org>
-
- 12 Dec, 2016 8 commits
-
-
Christian Brauner authored
templates: update openSUSE release to 42.2
-
Christian Brauner authored
Debian: powerpc and architecture fixes
-
Terzeus S. Dominguez authored
Removed libgcc_s1 because it breaks container building for openSUSE. Related: openSUSE/obs-build#188 Signed-off-by:Terzeus S. Dominguez <tsdmgz@gmail.com>
-
Santiago Ruano Rincón authored
Signed-off-by:
Santiago Ruano Rincón <santiago@debian.org> Signed-off-by:
Evgeni Golov <evgeni@debian.org>
-
Santiago Ruano Rincón authored
Signed-off-by:
Santiago Ruano Rincón <santiago@debian.org> Signed-off-by:
Evgeni Golov <evgeni@debian.org>
-
Terzeus S. Dominguez authored
Uncommented lxc.aa_profile = unconfined. Otherwise, container fails to start up. Signed-off-by:Terzeus S. Dominguez <tsdmgz@gmail.com>
-
Terzeus S. Dominguez authored
Signed-off-by:Terzeus S. Dominguez <tsdmgz@gmail.com>
-
Terzeus S. Dominguez authored
Aside from adding a 42.2 option, $DISTRO comparisons for Leap have been changed [ exp ] => [[ exp ]] to accomodate pattern matching for future releases. Signed-off-by:Terzeus S. Dominguez <tsdmgz@gmail.com>
-
- 10 Dec, 2016 2 commits
-
-
Stéphane Graber authored
conf, attach: save errno across call to close
-
Wolfgang Bumiller authored
Save errno across some calls to close() since it can be interrupted. Signed-off-by:Wolfgang Bumiller <wry.git@bumiller.com>
-
- 09 Dec, 2016 1 commit
-
-
Stéphane Graber authored
attach: close lsm label file descriptor
-
- 08 Dec, 2016 3 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
templates: fix getty service startup
-
- 06 Dec, 2016 3 commits
-
-
Stéphane Graber authored
tools: account for different architectures
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
attach batch mode with -b flag which prints csv output with a timestamp
-
- 05 Dec, 2016 1 commit
-
-
martin authored
Signed-off-by:martin <martin@attivio.com>
-
- 03 Dec, 2016 1 commit
-
-
Christian Brauner authored
tests; Don't cause test failures on cleanup errors
-
- 02 Dec, 2016 4 commits
-
-
Stéphane Graber authored
conf: clearly report to either use drop or keep
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
tools: lxc-start: set configfile after load_config
-
Wolfgang Bumiller authored
Same change as in 6118210e which was missing in lxc-start and back then is_defined() wasn't being called. Signed-off-by:
Wolfgang Bumiller <w.bumiller@proxmox.com>
-
- 01 Dec, 2016 1 commit
-
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
- 29 Nov, 2016 10 commits
-
-
Stéphane Graber authored
state: use async signal safe fun in lxc_wait()
-
Stéphane Graber authored
log: make sure that date is correctly formatted
-
Stéphane Graber authored
tree-wide: random macro cleanups
-
Stéphane Graber authored
monitord: close mainloop on exit if we opened it
-
Christian Brauner authored
gettimeofday() is not async signal safe. So let's switch to clock_gettime() to be on the safe side. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
- single digit months, days, hours, minutes, and seconds should always be preceded by a 0. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Serge Hallyn authored
log: drop all timezone conversion functions
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 28 Nov, 2016 3 commits
-
-
Christian Brauner authored
This allows us to generate nice timestamps in a thread-safe manner without relying on locale touching functions from any libc. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Converts a unix time Epoch given by a struct timespec to a UTC string useable in our logging functions. Maybe expanded to allow for more generic formatting. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Our log functions need to make extra sure that they are thread-safe. We had some problems with that before. This especially involves time-conversion functions. I don't want to find any localtime() or gmtime() functions or relatives in here. Not even localtime_r() or gmtime_r() or relatives. They all fiddle with global variables and locking in various libcs. They cause deadlocks when liblxc is used multi-threaded and no matter how smart you think you are, you __will__ cause trouble using them. (As a short example how this can cause trouble: LXD uses forkstart to fork off a new process that runs the container. At the same time the go runtime LXD relies on does its own multi-threading thing which we can't control. The fork()ing + threading then seems to mess with the locking states in these time functions causing deadlocks.) The current solution is to be good old unix people and use the Epoch as our reference point and simply use the seconds and nanoseconds that have past since then. This relies on clock_gettime() which is explicitly marked MT-Safe with no restrictions! This way, anyone who is really strongly invested in getting the actual time the log entry was created, can just convert it for themselves. Our logging is mostly done for debugging purposes so don't try to make it pretty. Pretty might cost you thread-safety. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-