nspawn: ignore failure in creating /dev/net/tun when --private-network is unspecified
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 13 Nov 2024 04:36:11 +0000 (13:36 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 14 Nov 2024 16:07:30 +0000 (17:07 +0100)
commit04ee5e25a1082d4c6c0c52a154d5ad5fc959a853
tree62a9c210767c500d4b7cad662afc03a77feba797
parent56cc8acf45dbff227d1713d509bc3b71386df5d8
nspawn: ignore failure in creating /dev/net/tun when --private-network is unspecified

Follow-up for efedb6b0f3cff37950112fd37cb750c16d599bc7.
Closes #35116.

(cherry picked from commit 985ea98e7f90c92fcc0b8441fafb190353d2feb8)
Really rewritten from scratch.
src/nspawn/nspawn.c