[Pkg-net-snmp-devel] Add PID file to snmpd

Josu Lazkano josu.lazkano at gmail.com
Sun Apr 29 20:04:05 BST 2018

Hello again,

I donload the https://salsa.debian.org/debian/net-snmp/blob/master/debian/snmpd.service
to /etc/systemd/system/snmpd.service, then "chmod 755

But still there is no PID file:

# /etc/init.d/snmpd restart
[ ok ] Restarting snmpd (via systemctl): snmpd.service.

There is no file in /run/snmpd.pid

Thanks for your help.


2018-04-29 11:34 GMT+02:00 Craig Small <csmall at debian.org>:
> Hi,
>   That systemd unit is an old version which, I believe always had that
> problem.
> The current version is at
> https://salsa.debian.org/debian/net-snmp/blob/master/debian/snmpd.service
> See the "-p /run/snmpd.pid" that's what you need.
> I suggest you either upgrade to the latest snmpd or use this file and put it
> as /etc/systemd/system/snmpd.service
>  - Craig
> --
> Craig Small             https://dropbear.xyz/     csmall at : dropbear.xyz
> Debian GNU/Linux        https://www.debian.org/   csmall at : debian.org
> Mastodon: @smallsees at social.dropbear.xyz             Twitter: @smallsees
> GPG fingerprint:      5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5

Josu Lazkano

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