--- iproute2-4.15.0/lib/namespace.c.orig 2018-01-29 17:08:52.000000000 +0100 +++ iproute2-4.15.0/lib/namespace.c 2020-03-16 11:51:59.263397282 +0100 @@ -73,15 +73,6 @@ strerror(errno)); return -1; } - /* Mount a version of /sys that describes the network namespace */ - if (umount2("/sys", MNT_DETACH) < 0) { - fprintf(stderr, "umount of /sys failed: %s\n", strerror(errno)); - return -1; - } - if (mount(name, "/sys", "sysfs", 0, NULL) < 0) { - fprintf(stderr, "mount of /sys failed: %s\n",strerror(errno)); - return -1; - } /* Setup bind mounts for config files in /etc */ bind_etc(name);