Bug 70721 - snmptrapd and snmpd initscripts have wrong error handling
Summary: snmptrapd and snmpd initscripts have wrong error handling
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: net-snmp
Version: 8.0
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-04 15:07 UTC by Peter van Egdom
Modified: 2015-03-05 01:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-02-05 16:57:16 UTC
Embargoed:


Attachments (Terms of Use)

Description Peter van Egdom 2002-08-04 15:07:26 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020721

Description of problem:
[peterve@limbo-pc init.d]$ ./snmpd start
Starting snmpd:                                            [  OK  ]
touch: creating `/var/lock/subsys/snmpd': Toegang geweigerd
[peterve@limbo-pc init.d]$ ./snmptrapd start
Starting snmptrapd:                                        [  OK  ]
touch: creating `/var/lock/subsys/snmptrapd': Toegang geweigerd
[peterve@limbo-pc init.d]$ ./snmpd stop
Stopping snmpd:                                            [FAILED]
[peterve@limbo-pc init.d]$ ./snmptrapd stop
Stopping snmptrapd:                                        [FAILED]


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. "snmpd stop"     \ as normal user
2. "snmptrapd stop" /
3.
	

Actual Results:
[peterve@limbo-pc init.d]$ ./snmpd start
Starting snmpd:                                            [  OK  ]
touch: creating `/var/lock/subsys/snmpd': Toegang geweigerd
[peterve@limbo-pc init.d]$ ./snmptrapd start
Starting snmptrapd:                                        [  OK  ]
touch: creating `/var/lock/subsys/snmptrapd': Toegang geweigerd
[peterve@limbo-pc init.d]$ ./snmpd stop
Stopping snmpd:                                            [FAILED]
[peterve@limbo-pc init.d]$ ./snmptrapd stop
Stopping snmptrapd:                                        [FAILED]


Expected Results:
[peterve@limbo-pc init.d]$ ./snmpd start
Starting snmpd:                                            [FAILED]
touch: creating `/var/lock/subsys/snmpd': Toegang geweigerd
[peterve@limbo-pc init.d]$ ./snmptrapd start
Starting snmptrapd:                                        [FAILED]
touch: creating `/var/lock/subsys/snmptrapd': Toegang geweigerd
[peterve@limbo-pc init.d]$ ./snmpd stop
Stopping snmpd:                                            [FAILED]
[peterve@limbo-pc init.d]$ ./snmptrapd stop
Stopping snmptrapd:                                        [FAILED]


Additional info:

Source RPM: net-snmp-5.0.1-5.src.rpm

Comment 1 Peter van Egdom 2002-11-01 22:27:31 UTC
Still occurs in Red Hat Linux 8.0.

Comment 2 Phil Knirsch 2003-02-05 16:57:16 UTC
Will be fixed in next rawhide build.

Read ya, Phil


Note You need to log in before you can comment on or make changes to this bug.