1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00
systemd/src/nspawn
Yu Watanabe 233ae5056f nspawn: remove macvlan interfaces before network namespace died
This is similar to what we do for veth interfaces in remove_veth_links().

When a container rebooted, macvlan interfaces created by the previous
boot may still exist in the kernel, and that causes -EADDRINUSE after
reboot.

Hopefully fixes #680.

(cherry picked from commit 1bfa47418e)
2024-08-15 13:08:37 +01:00
..
fuzz-nspawn-oci.c fuzz: unify logging setup 2023-10-19 10:05:20 +01:00
fuzz-nspawn-oci.options fuzzers: move several fuzzers 2021-01-19 07:04:19 +09:00
fuzz-nspawn-settings.c fuzz: unify logging setup 2023-10-19 10:05:20 +01:00
fuzz-nspawn-settings.options fuzzers: move several fuzzers 2021-01-19 07:04:19 +09:00
meson.build nspawn: moved nspawn-creds.[ch] to shared/machine-credential.[ch] 2023-11-02 15:37:40 +00:00
nspawn-bind-user.c Reorder arguments for calloc()-like functions, part #2 2024-01-17 11:09:09 +01:00
nspawn-bind-user.h nspawn: add new --bind-user= option for binding a host user into the container 2021-05-19 17:46:59 +02:00
nspawn-cgroup.c nspawn: make nspawn work without privileges 2024-04-06 16:08:24 +02:00
nspawn-cgroup.h nspawn: make nspawn work without privileges 2024-04-06 16:08:24 +02:00
nspawn-def.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
nspawn-expose-ports.c tree-wide: use LIST_CLEAR() 2023-08-17 09:48:17 +02:00
nspawn-expose-ports.h nspawn: expose container ipv6 address too 2021-01-19 16:22:58 +01:00
nspawn-gperf.gperf nspawn: rename config_parse_timezone() -> config_parse_timezone_mode() 2024-04-19 10:23:01 +09:00
nspawn-mount.c nspawn: make nspawn work without privileges 2024-04-06 16:08:24 +02:00
nspawn-mount.h treewide: fix a few typos in NEWS, docs, comments, and log messages 2024-04-27 12:11:13 +02:00
nspawn-network.c nspawn: remove macvlan interfaces before network namespace died 2024-08-15 13:08:37 +01:00
nspawn-network.h nspawn: remove macvlan interfaces before network namespace died 2024-08-15 13:08:37 +01:00
nspawn-oci.c nspawn: whitespace 2024-05-08 15:13:14 +02:00
nspawn-oci.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
nspawn-patch-uid.c nspawn-patch-uid: clarify that changing mode of symlink is unsupported 2023-11-25 19:12:20 +08:00
nspawn-patch-uid.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
nspawn-register.c tree-wide: Add allow_pidfd argument to bus_append_scope_pidref() 2024-03-22 17:03:35 +01:00
nspawn-register.h nspawn: set CoredumpReceive=yes on container's scope when --boot is set 2023-10-13 15:28:50 -04:00
nspawn-seccomp.c core: turn on higher optimization level in seccomp 2023-12-02 01:21:53 +01:00
nspawn-seccomp.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
nspawn-settings.c nspawn: rename config_parse_timezone() -> config_parse_timezone_mode() 2024-04-19 10:23:01 +09:00
nspawn-settings.h nspawn: rename config_parse_timezone() -> config_parse_timezone_mode() 2024-04-19 10:23:01 +09:00
nspawn-setuid.c user-util: add new helper fully_set_uid_gid() 2023-12-06 22:11:38 +01:00
nspawn-setuid.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
nspawn-stub-pid1.c Rename def.h to constants.h 2022-11-08 18:21:10 +01:00
nspawn-stub-pid1.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
nspawn-util.c nspawn: port over basename() → path_extract_filename() 2022-12-23 15:04:19 +01:00
nspawn-util.h nspawn: fix comparisons of versions with non-numerical suffixes 2022-04-07 18:19:03 +02:00
nspawn.c nspawn: remove macvlan interfaces before network namespace died 2024-08-15 13:08:37 +01:00
nspawn.h nspawn: add new common make_run_host() helper 2024-01-05 22:34:47 +01:00
test-nspawn-tables.c test: always call test_setup_logging() 2023-11-18 03:04:27 +09:00
test-nspawn-util.c meson: Start adding devel and rc suffixes to the project version 2024-02-14 15:36:34 +01:00
test-patch-uid.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00