Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 313599 - mail-filter/spamassassin-3.3.1 - init script always reports spamd as started even if spamd failed to start
Summary: mail-filter/spamassassin-3.3.1 - init script always reports spamd as started ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-06 23:17 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2010-04-07 05:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
3.3.1-spamd.init.diff (3.3.1-spamd.init.diff,489 bytes, patch)
2010-04-06 23:17 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

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