From b6c471fd617d26fbd3abf767bc26c0080b096470 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Sat, 4 Nov 2023 12:15:38 +0000 Subject: T5706: Add custom systemd udev rules to exclude dynamic interfaces Add custom systemd udev rules to exclude some regular and dynamic interfaces from "systemd-sysctl" calls. It fixes high CPU utilization (100%) as we have a lot of calls per interface for dynamic interfaces like ppp|ipoe|sstp etc. /lib/systemd/systemd-udevd should not be called for those interfaces (cherry picked from commit ca9cc86233520eb495c17602bf7a110094c1d8e7) --- debian/vyos-1x.preinst | 1 + 1 file changed, 1 insertion(+) (limited to 'debian/vyos-1x.preinst') diff --git a/debian/vyos-1x.preinst b/debian/vyos-1x.preinst index 16c118cb7..2604f5ff4 100644 --- a/debian/vyos-1x.preinst +++ b/debian/vyos-1x.preinst @@ -11,3 +11,4 @@ dpkg-divert --package vyos-1x --add --no-rename /etc/sysctl.d/80-vpp.conf dpkg-divert --package vyos-1x --add --no-rename /etc/netplug/netplugd.conf dpkg-divert --package vyos-1x --add --no-rename /etc/netplug/netplug dpkg-divert --package vyos-1x --add --no-rename /etc/rsyslog.d/45-frr.conf +dpkg-divert --package vyos-1x --add --no-rename /lib/udev/rules.d/99-systemd.rules -- cgit v1.2.3