[Pkg-net-snmp-devel] Bug#782243: snmpd: systemctrl is-enabled snmpd.service fails with missing unit file

Juberg, Thomas Thomas.Juberg at fei.com
Thu Apr 9 13:09:01 UTC 2015

Package: snmpd
Severity: normal

Dear Maintainer,

We are using saltstack to deploy our debian servers, during which we also have a formula that installs snmpd on all systems, enables it and checks if it needs a restart due to changes in configuration files.

As part of this, saltstack runs
'systemctrl is-enabled snmpd.service'
which on debian results in the error:
Failed to get unit file state for snmpd.service: No such file or directory

expected output would be: enabled

This is a rather minor, yet annoying issue.

Given that Jessie introduces systemd as default, it would be nice if this could be resolved.


-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages snmpd depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.56
ii  libc6                  2.19-15
ii  libsnmp-base 
ii  libsnmp30    
ii  lsb-base               4.1+Debian13+nmu1

snmpd recommends no packages.

Versions of packages snmpd suggests:
pn  snmptrapd  <none>

-- Configuration Files:
/etc/default/snmpd changed [not included] /etc/snmp/snmpd.conf changed [not included]

-- debconf information excluded

More information about the Pkg-net-snmp-devel mailing list