]>
git.proxmox.com Git - mirror_lxc.git/log
Rikard Falkeborn [Sat, 11 May 2019 23:39:51 +0000 (01:39 +0200)]
criu: Remove unnecessary return after _exit()
Since _exit() will terminate, the return statement is dead code. Also,
returning -1 from a function with bool as return type is confusing.
Detected with cppcheck.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Christian Brauner [Fri, 10 May 2019 21:47:28 +0000 (23:47 +0200)]
Merge pull request #2997 from rst0git/criu-v-option
criu: Use -v4 instead of -vvvvvv
Radostin Stoyanov [Fri, 10 May 2019 21:25:54 +0000 (22:25 +0100)]
criu: Use -v4 instead of -vvvvvv
CRIU has only 4 levels of verbosity (errors, warnings, info, debug).
Thus, using `-v4` is more appropriate.
https://criu.org/Logging
Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
Christian Brauner [Fri, 10 May 2019 19:35:56 +0000 (21:35 +0200)]
Merge pull request #2993 from Rachid-Koucha/patch-9
New --bbpath option and unecessary --rootfs checks
Rachid Koucha [Fri, 10 May 2019 19:28:35 +0000 (21:28 +0200)]
Option --busybox-path instead of --bbpath
As suggested during the review.
Signed-off-by: Rachid Koucha <rachid.koucha@gmail.com>
Christian Brauner [Fri, 10 May 2019 19:20:20 +0000 (21:20 +0200)]
Merge pull request #2996 from brauner/Rachid-Koucha-patch-10
lxccontainer: do not display if missing privileges
Rachid Koucha [Fri, 10 May 2019 16:56:12 +0000 (18:56 +0200)]
lxccontainer: do not display if missing privileges
lxc-ls without root privileges on privileged containers should not display
information. In lxc_container_new(), ongoing_create()'s result is not checked
for all possible returned values. Hence, an unprivileged user can send command
messages to the container's monitor. For example:
$ lxc-ls -P /.../tests -f
NAME STATE AUTOSTART GROUPS IPV4 IPV6 UNPRIVILEGED
ctr - 0 - - - false
$ sudo lxc-ls -P /.../tests -f
NAME STATE AUTOSTART GROUPS IPV4 IPV6 UNPRIVILEGED
ctr RUNNING 0 - 10.0.3.51 - false
After this change:
$ lxc-ls -P /.../tests -f <-------- No more display without root privileges
$ sudo lxc-ls -P /.../tests -f
NAME STATE AUTOSTART GROUPS IPV4 IPV6 UNPRIVILEGED
ctr RUNNING 0 - 10.0.3.37 - false
$
Signed-off-by: Rachid Koucha <rachid.koucha@gmail.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Rachid Koucha [Fri, 10 May 2019 15:01:13 +0000 (17:01 +0200)]
New --bbpath option and unecessary --rootfs checks
. Add the "--bbpath" option to pass an alternate busybox pathname instead of the one found from ${PATH}.
. Take this opportunity to add some formatting in the usage display
. As a try is done to pick rootfs from the config file and set it to ${path}/rootfs, it is unnecessary to make it mandatory
Signed-off-by: Rachid Koucha <rachid.koucha@gmail.com>
Stéphane Graber [Fri, 10 May 2019 12:36:56 +0000 (08:36 -0400)]
Merge pull request #2992 from brauner/2019-05-10/coding_style_update
coding style: update
Christian Brauner [Fri, 10 May 2019 11:15:25 +0000 (13:15 +0200)]
coding style: update
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Fri, 10 May 2019 07:30:35 +0000 (09:30 +0200)]
Merge pull request #2985 from tomponline/tp-mtu
network: Adds mtu support for phys and macvlan types
Christian Brauner [Fri, 10 May 2019 06:48:59 +0000 (08:48 +0200)]
Merge pull request #2989 from Rachid-Koucha/patch-8
Redirect error messages to stderr
Rachid Koucha [Fri, 10 May 2019 05:39:03 +0000 (07:39 +0200)]
Redirect error messages to stderr
Some error messages were not redirected to stderr.
Moreover, do "exit 0" instead of "exit 1" when "help" option is passed.
Signed-off-by: Rachid Koucha <rachid.koucha@gmail.com>
Stéphane Graber [Thu, 9 May 2019 19:19:58 +0000 (15:19 -0400)]
Merge pull request #2986 from brauner/2019-05-09/clone_pidfd
start: use CLONE_PIDFD
Christian Brauner [Thu, 9 May 2019 17:40:23 +0000 (19:40 +0200)]
start: use CLONE_PIDFD
Use CLONE_PIDFD when possible.
Note the clone() syscall ignores unknown flags which is usually a design
mistake. However, for us this bug is a feature since we can just pass the flag
along and see whether the kernel has given us a pidfd.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Thomas Parrott [Thu, 9 May 2019 15:47:42 +0000 (16:47 +0100)]
api: Adds the network_phys_macvlan_mtu extension
This will allow LXD to check for custom MTU support for phys and macvlan devices.
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Thomas Parrott [Thu, 9 May 2019 15:40:08 +0000 (16:40 +0100)]
network: Restores phys device MTU on container shutdown
The phys devices will now have their original MTUs recorded at start and restored at shutdown.
This is to protect the original phys device from having any container level MTU customisation being applied to the device once it is restored to the host.
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Christian Brauner [Thu, 9 May 2019 15:09:51 +0000 (17:09 +0200)]
namespace: support CLONE_PIDFD with lxc_clone()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Thomas Parrott [Thu, 9 May 2019 14:34:20 +0000 (15:34 +0100)]
network: Adds mtu support for phys and macvlan types
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
Stéphane Graber [Thu, 9 May 2019 13:37:51 +0000 (09:37 -0400)]
Merge pull request #2984 from brauner/2019-05-09/clone_pidfd
clone: add infrastructure for CLONE_PIDFD
Christian Brauner [Thu, 9 May 2019 13:01:27 +0000 (15:01 +0200)]
clone: add infrastructure for CLONE_PIDFD
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=
eac7078a0fff1e72cf2b641721e3f55ec7e5e21e
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 9 May 2019 13:00:32 +0000 (15:00 +0200)]
raw_syscalls: simplify assembly
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Co-developed-by: David Howells <dhowells@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Stéphane Graber [Thu, 9 May 2019 12:47:34 +0000 (08:47 -0400)]
Merge pull request #2906 from brauner/2019-03-12/namespace_switching
utils: improve switch_to_ns()
Christian Brauner [Tue, 12 Mar 2019 16:51:50 +0000 (17:51 +0100)]
utils: improve switch_to_ns()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 9 May 2019 09:09:45 +0000 (11:09 +0200)]
Merge pull request #2983 from tenforward/japanese
Update Japanese lxc.container.conf(5)
KATOH Yasufumi [Thu, 9 May 2019 06:24:18 +0000 (15:24 +0900)]
doc: Fix and improve Japanese translation
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Reviewed-by: Hiroaki Nakamura <hnakamur@gmail.com>
KATOH Yasufumi [Wed, 8 May 2019 12:42:16 +0000 (21:42 +0900)]
doc: Update Japanese lxc.container.conf(5)
This is the translation for the following description:
- lxc.seccomp.notify.proxy (commit
8a64375 )
- host side veth device static routes (commit
d4a7da4 )
- IPVLAN (commit
c9f5238 )
- Layer 2 proxy mode (commit
6509154 )
- gateway device route mode (commit
a2f9a67 )
and fix typo in English man page.
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Christian Brauner [Tue, 7 May 2019 14:14:51 +0000 (16:14 +0200)]
Merge pull request #2982 from Rachid-Koucha/patch-5
Devices created in rootfs instead of rootfs/dev
Rachid Koucha [Tue, 7 May 2019 14:03:02 +0000 (16:03 +0200)]
Devices created in rootfs instead of rootfs/dev
Added /dev in the mknod commands.
Signed-off-by: Rachid Koucha <rachid.koucha@gmail.com>
Christian Brauner [Tue, 7 May 2019 13:50:43 +0000 (15:50 +0200)]
Merge pull request #2981 from tomponline/tp-veth-gateway
network: Re-works veth gateway logic
tomponline [Tue, 7 May 2019 13:23:24 +0000 (14:23 +0100)]
network: Re-works veth gateway logic
Handles more errors and gives better error messages.
Signed-off-by: tomponline <thomas.parrott@canonical.com>
Christian Brauner [Tue, 7 May 2019 12:03:52 +0000 (14:03 +0200)]
Merge pull request #2979 from tomponline/tp-vlan-mtu
network: Makes vlan network interfaces set mtu before upscript called
Christian Brauner [Tue, 7 May 2019 11:37:38 +0000 (13:37 +0200)]
Merge pull request #2978 from tomponline/tp-ipvlan-mtu
network: Adds custom mtu support for ipvlan interfaces
tomponline [Tue, 7 May 2019 11:34:34 +0000 (12:34 +0100)]
network: Makes vlan network interfaces set mtu before upscript called
This is consistent with veth and ipvlan types.
Also makes the debug message for success occur after up script has run.
Also makes device clean up on error more thorough and consistent.
Signed-off-by: tomponline <thomas.parrott@canonical.com>
tomponline [Tue, 7 May 2019 11:13:46 +0000 (12:13 +0100)]
network: Adds custom mtu support for ipvlan interfaces
Signed-off-by: tomponline <thomas.parrott@canonical.com>
Stéphane Graber [Mon, 6 May 2019 19:10:20 +0000 (15:10 -0400)]
Merge pull request #2976 from brauner/2019-05-06/bugfixes
seccomp: document path calculation
Stéphane Graber [Mon, 6 May 2019 18:36:50 +0000 (14:36 -0400)]
Merge pull request #2977 from brauner/2019-05-06/pidfd_send_signal
raw_syscalls: add initial support for pidfd_send_signal()
Christian Brauner [Mon, 6 May 2019 08:49:31 +0000 (10:49 +0200)]
raw_syscalls: add initial support for pidfd_send_signal()
Well, I added this syscall so we better use it. :)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Mon, 6 May 2019 07:39:40 +0000 (09:39 +0200)]
seccomp: document path calculation
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Sun, 5 May 2019 04:20:06 +0000 (00:20 -0400)]
Merge pull request #2974 from brauner/master
tree-wide: make socket SOCK_CLOEXEC
Stéphane Graber [Sun, 5 May 2019 04:19:51 +0000 (00:19 -0400)]
Merge pull request #2975 from brauner/2019-05-04/returns_twice
compiler: add __returns_twice attribute
Christian Brauner [Sat, 4 May 2019 11:35:51 +0000 (13:35 +0200)]
compiler: add __returns_twice attribute
The returns_twice attribute tells the compiler that a function may return more
than one time. The compiler will ensure that all registers are dead before
calling such a function and will emit a warning about the variables that may be
clobbered after the second return from the function. Examples of such functions
are setjmp and vfork. The longjmp-like counterpart of such function, if any,
might need to be marked with the noreturn attribute.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Sat, 4 May 2019 10:56:45 +0000 (12:56 +0200)]
Merge pull request #2973 from tomponline/tp-gw-dev
network: Adds gateway device route mode
Christian Brauner [Fri, 3 May 2019 19:09:37 +0000 (21:09 +0200)]
Merge pull request #2968 from tomponline/tp-ipvlan-l2proxy
network: Static routes for IPVLAN with L2PROXY
tomponline [Wed, 1 May 2019 16:59:23 +0000 (17:59 +0100)]
network: Adds ipvlan static routes for l2proxy mode
Signed-off-by: tomponline <thomas.parrott@canonical.com>
Christian Brauner [Fri, 3 May 2019 18:35:02 +0000 (20:35 +0200)]
tree-wide: make socket SOCK_CLOEXEC
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
tomponline [Fri, 3 May 2019 09:21:45 +0000 (10:21 +0100)]
network: Adds gateway device route mode
Adds ability to specify "dev" as the gateway value, which will cause a device route to be set as default gateway.
Signed-off-by: tomponline <thomas.parrott@canonical.com>
Christian Brauner [Fri, 3 May 2019 10:36:00 +0000 (12:36 +0200)]
Merge pull request #2964 from tomponline/tp-l2proxy
network: Adds layer 2 (ARP/NDP) proxy mode
Stéphane Graber [Thu, 2 May 2019 20:56:10 +0000 (16:56 -0400)]
Merge pull request #2972 from brauner/2019-05-02/seccomp_notify_mem_fd
seccomp: send process memory fd
Christian Brauner [Thu, 2 May 2019 20:55:51 +0000 (22:55 +0200)]
Merge pull request #2971 from hallyn/2019-05-01/nsshare.2
namespaces: allow a pathname to a nsfd for namespace to share
Christian Brauner [Thu, 2 May 2019 15:06:00 +0000 (17:06 +0200)]
seccomp: send process memory fd
There's an inherent race when reading a process's memory. The easiest way is to
have liblxc get an fd and check that the race was one, send it to the caller
(They are free to ignore it if they don't use recvmsg()).
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Serge Hallyn [Thu, 2 May 2019 01:17:23 +0000 (18:17 -0700)]
namespaces: allow a pathname to a nsfd for namespace to share
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
tomponline [Tue, 30 Apr 2019 13:25:27 +0000 (14:25 +0100)]
network: Adds layer 2 (ARP/NDP) proxy mode
Adds the lxc.net.[i].l2proxy flag that can be either 0 or 1.
Defaults to 0.
This, when used with lxc.net.[i].link, will add IP neighbour proxy entries on the linked device
for any IPv4 and IPv6 addresses on the container's network device.
Additionally, for IPv6 addresses it will check the following sysctl values and fail with an error if not set:
net.ipv6.conf.[link].proxy_ndp=1
net.ipv6.conf.[link].forwarding=1
Signed-off-by: tomponline <thomas.parrott@canonical.com>
Stéphane Graber [Wed, 1 May 2019 16:44:48 +0000 (12:44 -0400)]
Merge pull request #2969 from brauner/2019-05-01/seccomp_fixes
seccomp: ensure fields are set to 0
Christian Brauner [Wed, 1 May 2019 16:35:58 +0000 (18:35 +0200)]
seccomp: ensure fields are set to 0
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Wed, 1 May 2019 16:24:56 +0000 (18:24 +0200)]
Merge pull request #2950 from tomponline/tp-ipvlan
network: Adds IPVLAN support
tomponline [Fri, 26 Apr 2019 10:26:45 +0000 (11:26 +0100)]
network: Adds IPVLAN support
Example usage:
lxc.net[i].type=ipvlan
lxc.net[i].ipvlan.mode=[l3|l3s|l2] (defaults to l3)
lxc.net[i].ipvlan.flags=[bridge|private|vepa] (defaults to bridge)
lxc.net[i].link=eth0
lxc.net[i].flags=up
Signed-off-by: tomponline <thomas.parrott@canonical.com>
Stéphane Graber [Wed, 1 May 2019 03:16:46 +0000 (23:16 -0400)]
Merge pull request #2967 from brauner/2019-05-01/seccomp_notifier_api_removal
seccomp: remove alignment requirements
Christian Brauner [Wed, 1 May 2019 00:04:02 +0000 (02:04 +0200)]
seccomp: remove alignment requirements
since apparently there are insane programming languages out there that just
silently remove packed members in structs.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Tue, 30 Apr 2019 23:42:33 +0000 (19:42 -0400)]
Merge pull request #2966 from brauner/2019-05-01/seccomp_notifier_api_removal
seccomp: don't commit to an api just yet
Christian Brauner [Tue, 30 Apr 2019 23:17:49 +0000 (01:17 +0200)]
seccomp: don't commit to an api just yet
I'm not sure that I want to be married (to this layout) just yet.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Tue, 30 Apr 2019 22:53:21 +0000 (18:53 -0400)]
Merge pull request #2965 from brauner/2019-05-01/seccomp_notifier_fixes
seccomp: notifier fixes
Christian Brauner [Tue, 30 Apr 2019 22:36:41 +0000 (00:36 +0200)]
seccomp: notifier fixes
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Tue, 30 Apr 2019 09:46:24 +0000 (11:46 +0200)]
Merge pull request #2961 from tomponline/tp-static-net-funcs
network: Makes some routing functions static
tomponline [Tue, 30 Apr 2019 09:30:58 +0000 (10:30 +0100)]
network: Makes some routing functions static
The following functions can be made static for consistency:
lxc_ipv4_dest_add
lxc_ipv6_dest_add
lxc_ip_route_dest_add (renamed)
Signed-off-by: tomponline <thomas.parrott@canonical.com>
Christian Brauner [Tue, 30 Apr 2019 09:17:40 +0000 (11:17 +0200)]
Merge pull request #2960 from tomponline/tp-seccomp-apiext-docs
docs: Adds missing doc entries for seccomp related API extensions
tomponline [Tue, 30 Apr 2019 09:14:55 +0000 (10:14 +0100)]
docs: Adds missing doc entries for seccomp related API extensions
Signed-off-by: tomponline <thomas.parrott@canonical.com>
Christian Brauner [Mon, 29 Apr 2019 15:15:38 +0000 (17:15 +0200)]
Merge pull request #2949 from tomponline/tp-veth-routes
network: Adds veth static routes feature
Christian Brauner [Mon, 29 Apr 2019 14:17:42 +0000 (16:17 +0200)]
Merge pull request #2957 from tomponline/tp-macvlan-mode
network: Fixes bug in macvlan mode selection
tomponline [Mon, 29 Apr 2019 14:11:17 +0000 (15:11 +0100)]
network: Fixes bug in macvlan mode selection
Signed-off-by: tomponline <thomas.parrott@canonical.com>
Stéphane Graber [Mon, 29 Apr 2019 13:47:29 +0000 (09:47 -0400)]
Merge pull request #2956 from brauner/2019-04-29/seccomp_trap_cleanup
seccomp: cleanup
Christian Brauner [Mon, 29 Apr 2019 08:16:01 +0000 (10:16 +0200)]
seccomp: cleanup
Simplify and cleanup some of the seccomp code. This mainly focuses on removing
the open coding of various seccomp settings all over the code place in favor of
centralized helpers.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Mon, 29 Apr 2019 12:59:32 +0000 (08:59 -0400)]
Merge pull request #2955 from tomponline/tp-ignore-test-build
tests: Updates .gitignore to ignore test build artefacts
Stéphane Graber [Mon, 29 Apr 2019 12:59:20 +0000 (08:59 -0400)]
Merge pull request #2954 from tomponline/tp-vlan-hook
network: Fixes vlan hook script
tomponline [Mon, 29 Apr 2019 08:49:07 +0000 (09:49 +0100)]
tests: Updates .gitignore to ignore test build artefacts
Signed-off-by: tomponline <thomas.parrott@canonical.com>
tomponline [Mon, 29 Apr 2019 08:44:57 +0000 (09:44 +0100)]
network: Fixes vlan hook script
Signed-off-by: tomponline <thomas.parrott@canonical.com>
tomponline [Thu, 25 Apr 2019 11:47:17 +0000 (12:47 +0100)]
network: Adds support host side veth device static routes
Adds the following new config keys:
lxc.net.[i].veth.ipv4.route
lxc.net.[i].veth.ipv6.route
E.g.
lxc.net.0.veth.ipv4.route = 192.0.2.1/32
lxc.net.0.veth.ipv4.route = 192.0.3.0/24
lxc.net.0.veth.ipv6.route = 2001:db8::1/128
lxc.net.0.veth.ipv6.route = 2001:db8:2::/64
Signed-off-by: tomponline <thomas.parrott@canonical.com>
Stéphane Graber [Fri, 26 Apr 2019 18:45:10 +0000 (14:45 -0400)]
Merge pull request #2951 from tomponline/tp-typo
network: Fixes a little typo in an error message
Stéphane Graber [Fri, 26 Apr 2019 18:44:55 +0000 (14:44 -0400)]
Merge pull request #2952 from tomponline/tp-vlan-upscript
network: Adds hook handling for vlan network type
tomponline [Fri, 26 Apr 2019 17:01:53 +0000 (18:01 +0100)]
network: Adds upscript handling for vlan network type
Signed-off-by: tomponline <thomas.parrott@canonical.com>
tomponline [Fri, 26 Apr 2019 16:49:32 +0000 (17:49 +0100)]
network: Fixes a little typo in an error message
Signed-off-by: tomponline <thomas.parrott@canonical.com>
Stéphane Graber [Thu, 25 Apr 2019 22:44:37 +0000 (18:44 -0400)]
Merge pull request #2947 from brauner/2019-04-18/seccomp_trap
seccomp: SECCOMP_RET_USER_NOTIF support
Christian Brauner [Thu, 25 Apr 2019 15:20:39 +0000 (17:20 +0200)]
start: silence clang
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 25 Apr 2019 13:25:23 +0000 (15:25 +0200)]
api_extensions: add seccomp_notify
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 25 Apr 2019 14:40:40 +0000 (16:40 +0200)]
doc: add lxc.seccomp.notify.proxy
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 25 Apr 2019 13:53:14 +0000 (15:53 +0200)]
seccomp: send default answer and try to reconnect
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Thu, 25 Apr 2019 12:51:51 +0000 (14:51 +0200)]
confile: add lxc.seccomp.notify.proxy
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Sun, 21 Apr 2019 19:03:51 +0000 (21:03 +0200)]
seccomp: SECCOMP_RET_USER_NOTIF support
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Christian Brauner [Wed, 24 Apr 2019 16:30:43 +0000 (18:30 +0200)]
Merge pull request #2948 from pgauret/patch-1
Fix 'zfs get' command order
pgauret [Wed, 24 Apr 2019 16:29:21 +0000 (18:29 +0200)]
Fix 'zfs get' command order
Another case of calling 'zfs get' which requires reordering arguments to work with latest zfs.
Signed-off-by: Paul Gauret <pgauret@yahoo.com>
Christian Brauner [Tue, 23 Apr 2019 15:08:13 +0000 (17:08 +0200)]
Merge pull request #2946 from tych0/remove-bad-doc
lxc-start: remove bad doc
Tycho Andersen [Tue, 23 Apr 2019 14:48:29 +0000 (08:48 -0600)]
lxc-start: remove bad doc
We don't in fact exit(1) if this is not specified, and it wouldn't make
sense to, since most people probably don't specify this.
Signed-off-by: Tycho Andersen <tycho@tycho.ws>
Stéphane Graber [Fri, 19 Apr 2019 17:58:23 +0000 (13:58 -0400)]
Merge pull request #2945 from brauner/2019-04-19/netns_getifaddrs_adapt_to_kernel_changes
netns_getifaddrs: adapt to kernel changes
Christian Brauner [Fri, 19 Apr 2019 13:24:51 +0000 (15:24 +0200)]
netns_getifaddrs: adapt to kernel changes
s/NETLINK_DUMP_STRICT_CHK/NETLINK_GET_STRICT_CHK/g
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 17 Apr 2019 17:29:07 +0000 (18:29 +0100)]
Merge pull request #2943 from brauner/master
configure: s/LDLAGS/LDFLAGS/
Christian Brauner [Wed, 17 Apr 2019 17:12:07 +0000 (19:12 +0200)]
configure: s/LDLAGS/LDFLAGS/
I apparently cannot spell.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Stéphane Graber [Wed, 17 Apr 2019 07:49:05 +0000 (08:49 +0100)]
Merge pull request #2940 from brauner/master
raw_syscalls: lxc_raw_clone() account for different trap number on 32bit SPARC
Christian Brauner [Tue, 16 Apr 2019 22:29:28 +0000 (00:29 +0200)]
Merge pull request #2941 from flx42/reorder-mounts
conf: do lxc.mount.entry mounts right after lxc.mount.fstab
Christian Brauner [Tue, 16 Apr 2019 22:00:18 +0000 (00:00 +0200)]
Merge pull request #2942 from flx42/nvidia-hook-handle-spaces-env
hooks/nvidia: handle spaces in NVIDIA_REQUIRE variables
Felix Abecassis [Tue, 16 Apr 2019 21:40:03 +0000 (14:40 -0700)]
conf: do lxc.mount.entry mounts right after lxc.mount.fstab
These configuration options use the same syntax and therefore it seems
more intuitive to have the same behavior for both of them, which is
not the case today since mount hooks and autodev mounts are called
between the two.
See: https://github.com/lxc/lxc/issues/2932
Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>