summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-11-04 12:15:38 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-11-07 16:41:06 +0000
commitb6c471fd617d26fbd3abf767bc26c0080b096470 (patch)
tree23c62d90cb1eba5d6dd9a8e76620034472c04f85 /debian
parent11ca0a12272a704ce5f04c0ff4c746f755a380f1 (diff)
downloadvyos-1x-b6c471fd617d26fbd3abf767bc26c0080b096470.tar.gz
vyos-1x-b6c471fd617d26fbd3abf767bc26c0080b096470.zip
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)
Diffstat (limited to 'debian')
-rw-r--r--debian/vyos-1x.preinst1
1 files changed, 1 insertions, 0 deletions
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