mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 12:30:13 +03:00
Masking the udev systemd units stopped the daemon's coldplug (host audio resets), but host USB devices still reconnected on every XRd start. A/B testing with plain `docker run` isolated the trigger: XRd's own xr_startup.sh calls udevadm directly (USB license-dongle probing, e.g. `udevadm trigger --action=add --parent-match=<usb device>`), which synthesizes uevents into the host kernel from the privileged container -- no udevd required. GNS3_MASK_UDEV=1 now also binds /dev/null over the udevadm binary (/bin, /sbin, /usr/bin). Verified with a plain-run experiment: with the bind, host udev monitor shows zero usb/input/hid/sound events during XRd boot (only normal docker veth traffic), and XRd itself boots to running state -- it does not need udevadm under GNS3 (interfaces are pre-created veths).