mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-10 19:46:24 +00:00
107f7b14ec
Both scripts run for real with PATH holding one directory that carries a tcpdump stand-in, which records the path and arguments it was started with. The plain run stops at the interface step, before any socket or capture. The capture runs inside a private network and mount namespace, where the loopback interface is the only one, its default route keeps the DHCP discover on the host, a tmpfs over /tmp holds the dump file, and /usr/sbin/tcpdump is hidden so the previous guard fails there on every host. Hosts that cannot create the namespace skip that part.