Bug 1217990
Summary: | sa-learn complains about the wrong version of config files | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bojan Smojver <bojan> |
Component: | spamassassin | Assignee: | Kevin Fenzi <kevin> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | jjelen, kevin, nb, plautrba, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | spamassassin-3.4.1-2.fc22 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-05-11 19:04:07 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bojan Smojver
2015-05-03 21:57:50 UTC
[root@beauty spamassassin]# pwd /usr/share/spamassassin [root@beauty spamassassin]# grep -ar require_version * 20_advance_fee.cf:require_version 3.004000 20_body_tests.cf:require_version 3.004000 20_compensate.cf:require_version 3.004000 20_dnsbl_tests.cf:require_version 3.004000 20_drugs.cf:require_version 3.004000 20_dynrdns.cf:require_version 3.004000 20_fake_helo_tests.cf:require_version 3.004000 20_head_tests.cf:require_version 3.004000 20_html_tests.cf:require_version 3.004000 20_meta_tests.cf:require_version 3.004000 20_net_tests.cf:require_version 3.004000 20_phrases.cf:require_version 3.004000 20_porn.cf:require_version 3.004000 20_uri_tests.cf:require_version 3.004000 23_bayes.cf:require_version 3.004000 72_active.cf:require_version 3.004000 73_sandbox_manual_scores.cf:require_version 3.004000 One other, unrelated note. Packaging /var/run/spamassassin like this won't work: %dir %{_localstatedir}/run/spamassassin Directory /var/run is a symlink to /run, which is a temporary file system and gets nuked on every reboot. If this directory is really required for something, it should be created using something like /usr/lib/tmpfiles.d/spamassassin.conf. What does: rpm -V spamassassin output? Normally you shouldn't need to run sa-update as spampd, spamassassin will use a timer unit to run the update nightly if spampd is running. [root@beauty ~]# rpm -V spamassassin S.5....T. c /etc/mail/spamassassin/local.cf missing /var/run/spamassassin BTW, I downloaded the package again from koji and ran rpm2cpio on it. The versions are encoded in the files themselves. Not local to my machine. (In reply to Kevin Fenzi from comment #3) > Normally you shouldn't need to run sa-update as spampd, spamassassin will > use a timer unit to run the update nightly if spampd is running. I also update my own rules. I am aware of the system wide update. ok. I see the issue. ;( There's a sed for the version that wasn't updated when I updated to 3.4.1. I'll see about a fixed package tomorrow... and good catch on the run dir, will also make sure to add a tmpfiles.d for it. Can you try this scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=9653306 This should correct the versions. Turns out we actually don't use the run directory, so I just dropped it. (In reply to Kevin Fenzi from comment #8) > Can you try this scratch build: > > https://koji.fedoraproject.org/koji/taskinfo?taskID=9653306 > > This should correct the versions. All good. Thanks. (In reply to Kevin Fenzi from comment #8) > Turns out we actually don't use the run directory, so I just dropped it. I guess you can also kill: mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/spamassassin spamassassin-3.4.1-2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/spamassassin-3.4.1-2.fc22 spamassassin-3.4.1-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/spamassassin-3.4.1-2.fc21 Package spamassassin-3.4.1-2.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing spamassassin-3.4.1-2.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-7604/spamassassin-3.4.1-2.fc21 then log in and leave karma (feedback). spamassassin-3.4.1-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |