diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-11-04 12:15:38 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-11-04 12:15:38 +0000 |
commit | ca9cc86233520eb495c17602bf7a110094c1d8e7 (patch) | |
tree | f7617c60fe6e99e34e2b717af64904378962c0e8 /debian/vyos-1x.preinst | |
parent | d8a71978b4628e30b25346f4ff690e8705020408 (diff) | |
download | vyos-1x-ca9cc86233520eb495c17602bf7a110094c1d8e7.tar.gz vyos-1x-ca9cc86233520eb495c17602bf7a110094c1d8e7.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
Diffstat (limited to 'debian/vyos-1x.preinst')
-rw-r--r-- | debian/vyos-1x.preinst | 1 |
1 files changed, 1 insertions, 0 deletions
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 |