Mailinglist Archive: opensuse-bugs (3543 mails)

< Previous Next >
[Bug 706257] amavis failed to start during boot, however it is active

https://bugzilla.novell.com/show_bug.cgi?id=706257

https://bugzilla.novell.com/show_bug.cgi?id=706257#c4


--- Comment #4 from Freek de Kruijf <f.de.kruijf@xxxxxxxxx> 2011-09-17 21:03:09
UTC ---
Analysing the problem I found that the behavior of checkproc is causing the
problem.
While amavisd is active, with three processes, 1 master and 2 childs),
the command "checkproc amavisd ; echo $?" gives on
openSUSE 11.4 the result 0
openSUSE 12.1 the result 3
The command "checkproc /usr/sbin/amavisd ; echo $?" gives on
openSUSE 11.4 the result 3
openSUSE 12.1 the result 3
Reading the manual pages of checkproc I conclude that checkproc on openSUSE
11.4 gives the wrong answer.
This means that the file /etc/init.d/amavis on openSUSE 12.1 is wrong. The
return codes of "checkproc amavis" in the script are inverted.

Because the manpage of checkproc always talks about the full patch of the
executable I made the attached patch for /etc/init.d/amavis

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >