Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 313599

Summary: mail-filter/spamassassin-3.3.1 - init script always reports spamd as started even if spamd failed to start
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 3.3.1-spamd.init.diff

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-04-06 23:17:16 UTC
[15:11:23] <Poly-C> darkside_, by the way, the init script is definitely screwed.
[15:11:54] <Poly-C> It doesn't detect if spamd was started or not. It always claims spamd was started successfully.
[15:16:37] <Poly-C> Problem is that "sleep 1" returns 0 so the following "eend $?" always returns 0 as well when spamd failed to start.
[15:17:40] <darkside_> that makes sense

(fixed my typos for better readability)

Reproducible: Always
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-04-06 23:17:36 UTC
Created attachment 226793 [details, diff]
3.3.1-spamd.init.diff

possible fix
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-04-07 05:01:51 UTC
Oh thanks. I didn't see this bug until after I committed it.