Hello Sascha and thanks for this bug report. I can reproduce it using
LXD containers and the same dummy options from the bug description. This
is a regression from Focal and likely from Impish, at least by looking
at the version numbers.
== Focal ==
root@paride-f:~# net-snmp-config --create-snmpv3-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
== Jammy ==
root@paride-j:~# net-snmp-config --create-snmpv3-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: 146: cannot create /snmp/snmpd.conf:
Directory nonexistent
** Changed in: net-snmp (Ubuntu)
Importance: Undecided => High
** Changed in: net-snmp (Ubuntu)
Status: New => Triaged
** Tags added: server-todo
--
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs