Bug 721655 - checkproc returns wrong value
Summary: checkproc returns wrong value
Status: RESOLVED DUPLICATE of bug 723708
Alias: None
Product: openSUSE 12.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 1
Hardware: x86-64 SUSE Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-01 19:36 UTC by Freek de Kruijf
Modified: 2011-10-13 10:38 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***