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:
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.
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?
(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.
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
Created attachment 123408 [details] Patch to allow building under FC-3
Thanks, done in FC5.