- 29 Aug, 2017 31 commits
-
-
Christian Brauner authored
This moves all of the network handling code into network.{c,h}. This makes what is going on much clearer. Also it's easier to find relevant code if it is all in one place. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
This will allow us log more detailed failures. 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
We use the ifindex as an indicator that liblxc created the network so let's record it for the unprivileged case as well. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
This should make things a little less convoluted. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
- lxc-user-nic gains the subcommands {create,delete} - dup2() STDERR_FILENO as well so that we can show helpful messages in our logs on failure - initialize output buffer so that we don't print garbage 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
get_new_nicname() calls lxc_mkifname() which allocates memory and returns it to the caller. The way get_new_nicname() and get_nic_if_avail() were implemented they hid that fact by returning a boolean. That doesn't make sense. Let's rather have them return a pointer to the allocated nic name which the caller needs to free. 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
This will obviously not work. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
I'm ashamed at how aweful my previous code was. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
So far, when creating veth devices attached to openvswitch bridges we used to fork() off a thread on container startup. This thread was kept around until the container shut down. I have no good explanation why we did it that why but it's certainly not necessary. Instead, let's fork() off the thread on container shutdown to delete the veth. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Dimitri John Ledkov authored
Mimic the code from the debian template. Signed-off-by:Dimitri John Ledkov <xnox@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>
-
Salvatore Bonaccorso authored
The httpredir.debian.org service has been discontinued in favour of deb.debian.org and httpredir.debian.org now redirects to deb.debian.org. https://lists.debian.org/debian-mirrors/2017/02/msg00000.html https://wiki.debian.org/DebianGeoMirror#httpredir.debian.org_.2F_http.debian.net Cf. https://bugs.debian.org/872719Signed-off-by:
Salvatore Bonaccorso <carnil@debian.org>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Surfaced while building lxc-2.0.8 on e2k architecture with lcc, looks like its -Wall is more pedantic than gcc's: lcc: "conf.c", line 1514: error: unrecognized character escape sequence [-Werror] DEBUG("created directory for console and tty devices at \%s\"", path); ^ in expansion of macro "DEBUG" at line 1514 Another byte is a leading whitespace fix while at that. Signed-off-by:Michael Shigorin <mike@altlinux.org> Acked-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
- list all cgroup v1 mountpoints - list all cgroup v2 mountpoints - report "missing" when no mountpoint for the systemd controller was found - report "missing" when no mountpoint for the freezer controller was found Closes https://github.com/lxc/lxd/issues/3687. Signed-off-by:
Christian Brauner <christian.brauner@ubuntu.com>
-
- 22 Aug, 2017 2 commits
-
-
Christian Brauner authored
Somehow "type" doesn't really work. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
Closes https://github.com/lxc/lxd/issues/3685Signed-off-by:
Stéphane Graber <stgraber@ubuntu.com>
-
- 15 Aug, 2017 7 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Stéphane Graber authored
This reverts commit 87eacd4d. While that commit looks right, the actual signing key doesn't match and debootstrap therefore fails to bootstrap, as can be seen here: https://jenkins.linuxcontainers.org/view/All/job/lxc-template-debian/Signed-off-by:
Stéphane Graber <stgraber@ubuntu.com>
-
Shukui Yang authored
Signed-off-by:Shukui Yang <yangshukui@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>
-
有张纸 authored
Signed-off-by: feng xiahou xiahoufeng@yahoo.com
-