Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dockers/docker-snmp-sv2/snmpd
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ export MIBS=
SNMPDRUN=yes

# snmpd options (use syslog, close stdin/out/err).
SNMPDOPTS='-LS4d -Lf /dev/null -u snmp -g snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable -p /run/snmpd.pid'
SNMPDOPTS='-LS4d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable -p /run/snmpd.pid'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5.7.3 should be snmp user?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought so. But in the snmp docker /etc/passwd and owner of /var/lib/snmp shows Debian-snmp.


In reply to: 99451792 [](ancestors = 99451792)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are probably right.

net-snmp (5.7.3+dfsg-1.1) unstable; urgency=medium

  • debian/snmpd.{preinst,postinst,postrm}
    • change SNMP user from "snmp" to "Debian-snmp" to avoid confusion with
      non-system user. It satisfy to work with some LDAP system. Thanks to
      Vincent Bernat [email protected] for suggestions.
      (Closes: #794641, #794647)
  • debian/snmp.preinst
    • revert "killall", it is unnecessary anymore (Closes: #781257)

2 changes: 2 additions & 0 deletions files/image_config/snmp/snmp.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
snmp_rocommunity: public
snmp_location: public