- 11 Aug, 2019 21 commits
-
-
Tycho Andersen authored
Most kernels don't have this functionality yet, and so the warning is printed a lot. Our people are scared of warnings, so let's make it INFO instead in this case. Signed-off-by:Tycho Andersen <tycho@tycho.ws>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Thomas Parrott authored
Suggested usage: return error_log_errno(err, "Failed: %s", "some error"); It sets errno to the value of err, then calls SYSERROR with the format and remaining args. It always returns -1. Suggested-by:
Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by:
Thomas Parrott <thomas.parrott@canonical.com>
-
Rachid Koucha authored
. Use sizeof() instead of hardcoded values . snprintf(..., size, ""...) is in error if the return code is >= size (not sufficient to set only ">") Signed-off-by:Rachid Koucha <rachid.koucha@gmail.com>
-
Rachid Koucha authored
Fixed a typo in error message Signed-off-by:Rachid Koucha <rachid.koucha@gmail.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Wolfgang Bumiller authored
Signed-off-by:Wolfgang Bumiller <w.bumiller@proxmox.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Closes #3066. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Rachid Koucha authored
In start.c, do not fill path[] table if not necessary Signed-off-by:Rachid Koucha <rachid.koucha@gmail.com>
-
LiFeng authored
Signed-off-by:LiFeng <lifeng68@huawei.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
- 27 Jun, 2019 1 commit
-
-
LiFeng authored
Signed-off-by:LiFeng <lifeng68@huawei.com>
-
- 21 Jun, 2019 1 commit
-
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
- 20 Jun, 2019 2 commits
-
-
Christian Brauner authored
Reported-by:
Free Ekanayaka <free.ekanayaka@canonical.com> Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
t00416110 authored
Signed-off-by:t00416110 <tanyifeng1@huawei.com>
-
- 18 Jun, 2019 6 commits
-
-
Serge Hallyn authored
None of them seem to support pkg-config themselves, else we could add them to Requires.private. Signed-off-by:Serge Hallyn <shallyn@cisco.com>
-
Rachid Koucha authored
In privileged mode, the container startup looses a file descriptor for "handler->nsfd[LX_NS_NET]". At line 1782, we preserve the namespaces file descriptor (in privileged mode, the network namespace is also preserved) : for (i = 0; i < LXC_NS_MAX; i++) if (handler->ns_on_clone_flags & ns_info[i].clone_flag) INFO("Cloned %s", ns_info[i].flag_name); if (!lxc_try_preserve_namespaces(handler, handler->ns_on_clone_flags, handler->pid)) { ERROR("Failed to preserve cloned namespaces for lxc.hook.stop"); goto out_delete_net; } Then at line 1830, we preserve one more time the network namespace : ret = lxc_try_preserve_ns(handler->pid, "net"); if (ret < 0) { if (ret != -EOPNOTSUPP) { SYSERROR("Failed to preserve net namespace"); goto out_delete_net; } The latter overwrites the file descriptor already stored in handler->nsfd[LXC_NS_NET] at line 1786. So, this fix checks that the entry is not already filled. Signed-off-by:Rachid Koucha <rachid.koucha@gmail.com>
-
Christian Brauner authored
Return an error code when the name is invalid instead of pretending that things are fine. Closes #3044. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Serge Hallyn authored
The reason for this is because openssl can be statically linked against, gnutls cannot. Signed-off-by:Serge Hallyn <shallyn@cisco.com>
-
KATOH Yasufumi authored
Update for commit 8de90384Signed-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp>
-
Rachid Koucha authored
The hook string names must not be repeated in the source code to facilitate future changes Signed-off-by:Rachid Koucha <rachid.koucha@gmail.com>
-
- 13 Jun, 2019 9 commits
-
-
Christian Brauner authored
Closes #3027. BugLink: https://bugs.launchpad.net/bugs/1831258 Cc: Dimitri John Ledkov <xnox@ubuntu.com> Cc: Scott Moser <smoser@ubuntu.com> Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
Paul Romlow authored
Signed-off-by:Paul Romlow <paul@romlow.com>
-
Rachid Koucha authored
/tmp created with "rwxrwxrwt" mode Signed-off-by:Rachid Koucha <rachid.koucha@gmail.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
LiFeng authored
Signed-off-by:LiFeng <lifeng68@huawei.com>
-
Brian McQueen authored
Signed-off-by:Brian McQueen <bmcqueen@linkedin.com>
-
Alexander Kriventsov authored
Signed-off-by:Alexander Kriventsov <akriventsov@nic.ru>
-
Tycho Andersen authored
Signed-off-by:Tycho Andersen <tycho@tycho.ws>
-
Tycho Andersen authored
This is the default thread size for glibc, so it is reasonable to match that when we clone(). Mostly this is a science experiment suggested by brauner, and who doesn't love science? Signed-off-by:Tycho Andersen <tycho@tycho.ws>
-