Verifying the bug for Impish.

First, make sure that the bug is reproduceable:

# apt policy snmpd
snmpd:
  Installed: 5.9+dfsg-3ubuntu2
  Candidate: 5.9+dfsg-3ubuntu2
  Version table:
 *** 5.9+dfsg-3ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu impish/main amd64 Packages
        100 /var/lib/dpkg/status

# net-snmp-create-v3-user -ro -A MD5 -a XXXXXX -x YYYYY -X DES ZZZZZ
adding the following line to /var/lib/snmp/snmpd.conf:
   createUser ZZZZZ MD5 "XXXXXX" DES "YYYYY"
adding the following line to /snmp/snmpd.conf:
   rouser ZZZZZ
touch: cannot touch '/snmp/snmpd.conf': No such file or directory
/usr/bin/net-snmp-create-v3-user: 144: cannot create /snmp/snmpd.conf: 
Directory nonexistent

Now, update the package and verify that the new version fixes the
problem:

# apt policy snmpd
snmpd:
  Installed: 5.9+dfsg-3ubuntu3.1
  Candidate: 5.9+dfsg-3ubuntu3.1
  Version table:
 *** 5.9+dfsg-3ubuntu3.1 500
        500 http://archive.ubuntu.com/ubuntu impish-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     5.9+dfsg-3ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu impish/main amd64 Packages

# net-snmp-create-v3-user -ro -A MD5 -a XXXXXX -x YYYYY -X DES ZZZZZ
adding the following line to /var/lib/snmp/snmpd.conf:
   createUser ZZZZZ MD5 "XXXXXX" DES "YYYYY"
adding the following line to /usr/share/snmp/snmpd.conf:
   rouser ZZZZZ

Everything works as expected, therefore the fix is verified.

** Tags removed: server-todo verification-needed verification-needed-impish
** Tags added: verification-done-impish

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1969623

Title:
  Creation of SNMPv3 user broken (Jammy/22.04)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1969623/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to