mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 20:40:13 +03:00
The vendor skip-init path (_setup_skip_init_volumes, _fix_permissions) runs `/gns3/bin/busybox chown` inside the container via docker exec. busybox is statically linked, and its chown dlopens NSS modules (libnss_*) from the container; on NOS images whose glibc differs from the host's (e.g. Cisco XRd) that mismatches and aborts with the glibc assertion `_dl_call_libc_early_init: sym != NULL` (SIGABRT). The per-file chown loop then crash-loops, and the resulting core-dump storm -- processed by the host's systemd-coredump -- cascades into host device rescans, reconnecting USB / resetting audio / corrupting the journal on every XRd start. cp/chmod/find/stat don't touch NSS and work fine on busybox, so only chown is affected. Prefer the container's own coreutils chown (`command -v chown && chown ...`), falling back to busybox chown only when the container ships no chown (minimal images, where the glibc matches and busybox is safe).