Bug 177788

Summary: Directory for pid-file not included in package
Product: [Fedora] Fedora Reporter: Roy-Magne Mo <rmo>
Component: spamassassinAssignee: Warren Togami <wtogami>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: felicity, jm, j, parkerm, perl-devel, reg+redhat, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-24 06:51:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 171491    
Attachments:
Description Flags
Patch to allow building under FC-3 none

Description Roy-Magne Mo 2006-01-13 23:27:00 UTC
Description of problem:
Directory for pid-file for spamassassin is not included in spamassassin package. 
/var/run/spamassassin/ should be included in spec-file

Version-Release number of selected component (if applicable):
spamassassin-3.1.0-3.fc5.1 (installed on FC4 server)

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Roy-Magne Mo 2006-01-13 23:30:30 UTC
Also when stopping and removing the pid file, only the symbolic link are being
erased not the actual spec-file referenced in $SPAMD_PID in initscript.

Comment 2 Warren Togami 2006-01-14 07:35:02 UTC
Good catch on the first problem, this will go to rawhide soon.

On the second problem, I suppose it wouldn't hurt to remove it, but are there
any instances where this would cause any problems as-is?

Comment 3 Roy-Magne Mo 2006-01-14 15:27:53 UTC
(In reply to comment #2)
 > On the second problem, I suppose it wouldn't hurt to remove it, but are there
> any instances where this would cause any problems as-is?

No, seems like spamd is removing the pid file cleanly on shutdown.


Comment 4 Jason Tibbitts 2006-01-19 02:32:55 UTC
Take this with a grain of salt because I'm building on FC-3, but the current
spamassassin package (3.1.0-4) needs to create
$RPM_BUILD_ROOT%{_localstatedir}/run/spamassassin in order to build for me.

I used the attached patch, which also removes a redundant creation of
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig

Comment 5 Jason Tibbitts 2006-01-19 02:33:51 UTC
Created attachment 123408 [details]
Patch to allow building under FC-3

Comment 6 Warren Togami 2006-01-24 06:51:38 UTC
Thanks, done in FC5.