From 07d002e3be03babf1c3faaee43a90fe513969134 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 26 Jan 2020 11:54:07 +0100 Subject: snmpd: T1937: fix all startup warnings This is actually an "upstream" bug, see [1] but it can be fixed via our own scripts. [1]: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1384122 --- src/etc/systemd/system/snmpd.service.d/override.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/etc/systemd/system/snmpd.service.d/override.conf (limited to 'src/etc/systemd/system') diff --git a/src/etc/systemd/system/snmpd.service.d/override.conf b/src/etc/systemd/system/snmpd.service.d/override.conf new file mode 100644 index 000000000..c366f9073 --- /dev/null +++ b/src/etc/systemd/system/snmpd.service.d/override.conf @@ -0,0 +1,6 @@ +[Service] +Environment= +Environment="MIBSDIR=/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp" +ExecStart= +ExecStart=/usr/sbin/snmpd -LS0-5d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -ipCidrRouteTable,inetCidrRouteTable -f -p /run/snmpd.pid + -- cgit v1.2.3