Bug 721655

Summary: checkproc returns wrong value
Product: [openSUSE] openSUSE 12.1 Reporter: Freek de Kruijf <freek>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Beta 1   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Freek de Kruijf 2011-10-01 19:36:04 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

After starting amavis and checking with ps aux | grep amavis that amavis is running the commands checkproc amavis ; echo $? should print a 0 to indicate amavis is running, however it returns 3 which means amavis is not running and there is no pid file.
The same is true for checkproc -p /var/spool/amavis/amavis.pid amavis ; echo $? which also should print 0, however it prints 1, which means amavis is not running but there is a pid file.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.



Probably checkproc requires the pid file to be in /var/run and named amavis.pid. I consider this to be a severe error, which should be repaired before the final release.
Comment 1 Freek de Kruijf 2011-10-13 10:38:32 UTC
Duplicate of bug#723708

*** This bug has been marked as a duplicate of bug 723708 ***