From ca9cc86233520eb495c17602bf7a110094c1d8e7 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 --- debian/vyos-1x.preinst | 1 + 1 file changed, 1 insertion(+) (limited to 'debian') diff --git a/debian/vyos-1x.preinst b/debian/vyos-1x.preinst index 9bd6331a8..08f48cac2 100644 --- a/debian/vyos-1x.preinst +++ b/debian/vyos-1x.preinst @@ -9,3 +9,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