Public bug reported:

When creating a SNMPv3 user this error appears:

$ /usr/bin/net-snmp-config --create-snmpv3-user -ro -A MD5 -a XXXXXX -x YYYYY 
-X DES 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

Looking at /usr/bin/net-snmp-create-v3-user line 146, it seems that
$outfile references ${datarootdir} in line 139, which is undefined.
Further outfile is already defined at line 121.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: snmpd 5.9.1+dfsg-1ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed Apr 20 13:34:44 2022
InstallationDate: Installed on 2022-04-20 (0 days ago)
InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Beta amd64 
(20220330)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: net-snmp
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.snmp.snmpd.conf: [modified]
mtime.conffile..etc.snmp.snmpd.conf: 2022-04-20T12:50:27.596000

** Affects: net-snmp (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy

-- 
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