[Bug 1829686] Re: systemd ignoring /etc/default/snmpd on U18

Andreas Hasenack andreas at canonical.com
Tue May 21 19:27:24 UTC 2019

> It mentions /etc/systemd/system/snmpd.service as the master service
> configuration file, but my system only has /lib/systemd/system/snmpd.service

It's a bit more convoluted. It's basically placing the burden on the
sysadmin (the user) to adjust the configuration to read the default file
when using systemd. I agree it's suboptimal, and we (as distributions)
could do better.

An override file is created with "systemctl edit snmpd.service", where
you can add your own directives just like in
/lib/systemd/system/snmpd.service, but that will be preserved on a
package upgrade.

I'll add this bug to our queue and see if we can get it properly fixed:
stop shipping sysv script, honor the default config file, and then
submit this to debian, which this package is heavily based on. And then
evaluate how to fix the older ubuntu releases.

** Changed in: net-snmp (Ubuntu)
       Status: New => Triaged

** Changed in: net-snmp (Ubuntu)
   Importance: Undecided => Medium

You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to net-snmp in Ubuntu.

  systemd ignoring /etc/default/snmpd on U18

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list