[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
** Changed in: net-snmp (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
Hello Sascha, or anyone else affected, Accepted net-snmp into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/net- snmp/5.7.2~dfsg-8.1ubuntu3.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: net-snmp (Ubuntu Trusty) Status: In Progress => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
Well, hopefully it's gonna be fixed in 14.04.4 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
** Changed in: net-snmp (Ubuntu Vivid) Status: Triaged => Won't Fix ** Changed in: net-snmp (Ubuntu Trusty) Assignee: (unassigned) => Brian Murray (brian-murray) ** Changed in: net-snmp (Ubuntu Trusty) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
I've uploaded the fix for this to the 14.04 -proposed queue for review by the SRU team. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
** Changed in: net-snmp (Debian) Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
** Tags added: needs-packaging xenial -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
** Tags added: 15.10 wily -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
Seriously? Just a missing script from the Debian repository? That is all? Oh dear... Kind regards, Aiko -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
But ... to be more positive: I really would appreciate a new package with the missing script. I really do. Kind regards, Aiko -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
I confirmed that this bug ocour in Ubuntu 12.04 and 14.04. The @thorsten-hesemeyer response [#11] is right! The definitive solution is right and the explanation why adding `createUser $user $Aalgorithm $apassphrase $Xalgorithm $xpassphrase` entries work is right too. More info: The Ubuntu team applied a Debian path that splits the `net- snmp-config` command in two: the new command is the `net-snmp-create- v3user` script. In a first moment, the Debian team forgot to pack the `net-snmp-create-v3user` command (`net-snmp-create-v3user.in` file in the Debian repo). After, they applied a bugfix, packing the missing script and fixing the bug (see: https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=726158). However, this bugfix wasn't merged in Ubuntu yet. To make the workarround easier, I create a Gist in Github (see: https://gist.github.com/rarylson/72d1414d6907a4548427). So, to workarround this bug: ``` wget https://gist.githubusercontent.com/rarylson/72d1414d6907a4548427/raw/d97aed8debf0a291a0457ec634a3be370bd16546/net-snmp-create-v3-user chmod +x net-snmp-create-v3-user mv net-snmp-create-v3-user /usr/local/bin ``` ** Bug watch added: Debian Bug tracker #726158 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726158 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
@Canoncial: quick win This really is an easy to solve issue / quick win. Please include: /usr/bin/net-snmp-create-v3-user this will fix this issue (see comment #10 by Wylie for details) @all other users: Workaround does really work === Adding a the createUser line to snmpd as described by Sascha Lucas in comment #4 works also, because is is basically the same steps the script does. Do not be confused, while starting the snmpd does this steps: 1. read the createUser line in /var/lib/snmp/snmpd.conf 2. add a new usmUser line in /var/lib/snmp/snmpd.conf 3. remove the createUser line Sure, this may look as if nothing is done or the file is just reset to default, but the user is really created. Verify User Creation Say you created user icinga authprotocol SHA authpassphrase 'P1' privacyprotocol AES privacypassphrase 'P2' then you can check if there is output for: # snmpwalk -v3 -u icinga -l authPriv -a SHA -A 'P1' -x AES -X 'P2' localhost Kind regards, Thorsten -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
This bug (rather just an oversight) pisses me off to no end. It seems as simple as not including the shell script that runs the create-v3-user. The workaround did not work for me, so I copied /usr/bin/net-snmp- create-v3-user from a Centos 6.4 machine. I changed the outdir variable at the bottom of the script to /var/lib/snmp (as it is on 14.04). 1. sudo vi /usr/bin/net-snmp-create-v3-user 2. Paste contents of this: http://pastebin.com/uC3y5Kyz 3. chmod +x /usr/bin/net-snmp-create-v3-user Then run: net-snmp-create-v3-user -a PASSWORD -x PASSWORD -X DES -A MD5 snmpuser It essentially does the same as the workaround, but the workaround did not work for me. So there it is. I guess update the package to include this file again? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
@Tobias. do this: service snmpd stop OR service snmpd start -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
ok this is working. becose, when i modif the /var/lib/snmp/snmpd.conf and than start snmp, snmp resete the file to default and delete my acc :( also manuel modifi dont working. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
The workaround in #4 works. It would still be nice to get the bug fixed. I have some configuration scripts that use net-snmp-create-v3-user. They work great on 12.04, but 14.04 doesn't work. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
its not working on my ubuntu, her: root@Ubuntu-1404-trusty-64-minimal /var/lib/snmp # service snmpd stop * Stopping network management services: root@Ubuntu-1404-trusty-64-minimal /var/lib/snmp # ls -l insgesamt 8 drwx-- 2 root root 4096 Aug 16 16:30 mib_indexes -rw--- 1 snmp snmp 1356 Aug 25 23:05 snmpd.conf root@Ubuntu-1404-trusty-64-minimal /var/lib/snmp # service snmpd start * Starting network management services: root@Ubuntu-1404-trusty-64-minimal /var/lib/snmp # ls -l insgesamt 8 drwx-- 2 root root 4096 Aug 16 16:30 mib_indexes -rw--- 1 snmp snmp 1276 Aug 25 23:05 snmpd.conf root@Ubuntu-1404-trusty-64-minimal /var/lib/snmp # after service snmpd start the file was restore to default. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
when ein try stop snmpd i become: root@Ubuntu-1404-trusty-64-minimal ~ # stop snmp stop: Unknown job: snmp and start say: root@Ubuntu-1404-trusty-64-minimal ~ # start snmp start: Unknown job: snmp also i becomm ´´d start snmp. :( -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
i have the problem too, giv it a solution? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
there are several workarounds: 1) use debian (this is where bugs get fixed) 2) make some noise here, so that launchpad (canonical) can hear you 3) create the config by hand: net-snmp-create-v3-user is just a simple shell script, that was forgotten to be packaged: the content translates to: stop snmpd adding the following line to /var/lib/snmp/snmpd.conf: createUser $user $Aalgorithm $apassphrase $Xalgorithm $xpassphrase adding the following line to /usr/share/snmp/snmpd.conf: $token $user with: Aalgorithm=MD5|SHA Xalgorithm=DES|AES|AES128 token=rouser|rwuser start snmpd -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: net-snmp (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1322431] Re: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command
Just ran into this today when trying to configure snmp on Ubuntu 14.04. net-snmp-config --version 5.7.2 net-snmp-config --create-snmpv3-user -ro -A password -a MD5 -x DES username /usr/bin/net-snmp-config: 236: /usr/bin/net-snmp-config: net-snmp-create-v3-user: not found -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/1322431 Title: libsnmp-dev: Cannot create snmpv3 user with net-snmp-config command To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1322431/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs