Your message dated Thu, 31 May 2018 19:58:28 +1000
with message-id 
<caly8cw6z1dfpriih8z_uo9jeqt_wvwyxvc1-tucapu9xqjj...@mail.gmail.com>
and subject line Re: [Pkg-net-snmp-devel] Bug#900426: snmpd.service does not 
honor settings in /etc/default/snmpd
has caused the Debian Bug report #900426,
regarding snmpd.service does not honor settings in /etc/default/snmpd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
900426: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900426
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: snmpd
Version: 5.7.3+dfsg-1.7
Severity: normal

Dear Maintainer,

SNMPDOPTS in /etc/default/snmpd is ignored.

This is because the options are hardcoded in /lib/systemd/system/snmpd.service

The line:
  ExecStart=/usr/sbin/snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I 
-smux,mteTrigger,mteTriggerConf -f

Should be:
  EnvironmentFile=/etc/default/snmpd
  ExecStart=/usr/sbin/snmpd $SNMPDOPTS -f


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

Kernel: Linux 4.9.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C 
(charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages snmpd depends on:
ii  adduser                3.115
ii  debconf [debconf-2.0]  1.5.61
ii  init-system-helpers    1.48
ii  libc6                  2.24-11+deb9u3
ii  libsnmp-base           5.7.3+dfsg-1.7
ii  libsnmp30              5.7.3+dfsg-1.7
ii  lsb-base               9.20161125

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

--- End Message ---
--- Begin Message ---
On Thu, 31 May 2018 at 02:12 Mattias Kregert <[email protected]> wrote:

> SNMPDOPTS in /etc/default/snmpd is ignored.
>
For systemd setup, this is the correct behaviour. It even says so in the
default file.

To make a change to a systemd unit, you copy
/lib/systemd/system/snmpd.service to /etc/systemd/system/ then make your
changes.

 - Craig

-- 
Craig Small             https://dropbear.xyz/     csmall at : dropbear.xyz
Debian GNU/Linux        https://www.debian.org/   csmall at : debian.org
Mastodon: @[email protected]             Twitter: @smallsees
GPG fingerprint:      5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5

--- End Message ---

Reply via email to