-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Submission type
- Bug report
systemd version the issue has been seen with
systemctl --version
systemd 236
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN default-hierarchy=hybrid
Used distribution
cat /etc/debian_version
buster/sid
In case of bug report: Expected behaviour you didn't see
the container should be started and the wireless network adapter should be moved to the namespace. the problem does not appear when starting the container via LXC.
In case of bug report: Unexpected behaviour you saw
machinectl start server037
Job for systemd-nspawn@server037.service failed because the control process exited with error code.
See "systemctl status systemd-nspawn@server037.service" and "journalctl -xe" for details.
systemctl status systemd-nspawn@server037.service
● systemd-nspawn@server037.service - Container server037
Loaded: loaded (/lib/systemd/system/systemd-nspawn@.service; indirect; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2018-01-13 17:49:18 CET; 16s ago
Docs: man:systemd-nspawn(1)
Process: 23733 ExecStart=/usr/bin/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=server037 (code=exited, status=1/FAILURE)
Main PID: 23733 (code=exited, status=1/FAILURE)
Status: "Terminating..."
Jan 13 17:49:18 server060 systemd[1]: Starting Container server037...
Jan 13 17:49:18 server060 systemd-nspawn[23733]: Failed to move interface wlx001c4afd2f29 to namespace: Invalid argument
Jan 13 17:49:18 server060 systemd[1]: systemd-nspawn@server037.service: Main process exited, code=exited, status=1/FAILURE
Jan 13 17:49:18 server060 systemd[1]: systemd-nspawn@server037.service: Failed with result 'exit-code'.
Jan 13 17:49:18 server060 systemd[1]: Failed to start Container server037.
cat /etc/systemd/nspawn/server037.nspawn
[Exec]
PrivateUsers=False
[Network]
Bridge=br0
Interface=wlx001c4afd2f29
In case of bug report: Steps to reproduce the problem
create a container and try to start the container with the --network-interface= option using a wireless network adapter