From nobody@www.freebsd.org  Sun May 26 15:27:34 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 8270337B403
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 May 2002 15:27:34 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4QMRXhG018887
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 May 2002 15:27:33 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g4QMRX0V018886;
	Sun, 26 May 2002 15:27:33 -0700 (PDT)
Message-Id: <200205262227.g4QMRX0V018886@www.freebsd.org>
Date: Sun, 26 May 2002 15:27:33 -0700 (PDT)
From: Geir Rness <freebsd@pulz.no>
To: freebsd-gnats-submit@FreeBSD.org
Subject: bug in snmpd v5.0.1 in freebsd systems
X-Send-Pr-Version: www-1.0

>Number:         38587
>Category:       ports
>Synopsis:       bug in snmpd v5.0.1 in freebsd systems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kuriyama
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 26 15:30:01 PDT 2002
>Closed-Date:    Mon Apr 21 18:36:17 PDT 2003
>Last-Modified:  Mon Apr 21 18:36:17 PDT 2003
>Originator:     Geir Rness
>Release:        4.5
>Organization:
>Environment:
FreeBSD pulz.mine.nu 4.5-STABLE FreeBSD 4.5-STABLE #0: Mon Apr 22 15:44:46 CEST 2002     geir@pulz.soulcollector.org.uk:/usr/obj/usr/src/sys/PULZ  i386
>Description:
Snmpd has an fine feature that allow you to send it into an user mode.
Due to security problems in snmpdm many have choosen to make an own user for it or run it as nobody.

This whent well untill v5.0.1 of snmpd came, first of all.
Now you have to add an flag to the configure part of the install to snmpd that allows it to run without root access.

But when you have made the port, and you are trying to start it, it's Segmentation fault and core dumps.

The keeper of the port has been notified, and he have requested that i put in this pr for the port.


**** 
I don't know if this problem is global, or if it's an freebsd bug
****
>How-To-Repeat:
Install snmpd with the configure flag --without-root-access.

And try to start is as nobody or something like that ;/
>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->kuriyama 
Responsible-Changed-By: dwcjr 
Responsible-Changed-When: Sun May 26 18:59:06 PDT 2002 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38587 
State-Changed-From-To: open->closed 
State-Changed-By: kuriyama 
State-Changed-When: Mon Apr 21 18:35:18 PDT 2003 
State-Changed-Why:  
This problem is not for net-snmp ports but net-snmp itself. 
This should be discussed in net-snmp ML. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38587 
>Unformatted:
