Justin Mason wrote:
PACKAGING (CENTRALISED):
input: SVN, the "active set" only
output: packages
- TODO: need a password-less method to sign packages
- automated test suite for packages before they're published
- The package will contain both new rules, and rules that were part of
"core" for the 3.1.0 release. To avoid the latter conflicting with rules
in the 3.1.x release, we will produce a 3.1.x point release that deletes
the ruleset from /usr/share/spamassassin, and immediately runs
"sa-update"!
Could you please clarify what this means? We have the following general
restrictions on any package we ship in Fedora. I don't know much about
the current proposed implementation, but the way it is worded in this
paragraph, it may be incompatible with these restrictions.
1) Download scores during buildtime
For security reasons build systems should rely only on local sources and
not rely on the network. The build payload is also not reproducible if
it relies on network inputs.
2) Download scores upon package install
We cannot assume that users have networking during package installation.
3) Automatic sa-update by default
We cannot ship a package that makes outgoing network calls without
explicit setting of the sysadmin. For the same reason, our spamd
service is not started by default, and our evolution default config uses
only local tests when it uses spamassassin. Explicit enabling of the
spamassassin service or modifying evolution's configuration then allows
network querying.
We would need to ship Fedora/RHEL's spamassasin with a default set of
scores shipped in our package for payload reproducibility. It is up to
the system's user whether they want to run sa-update or not. Note that
this does not mean that the scores we ship need be computed at the time
of a release. Our package updates could contain a newer set.
Is there any plan for exactly how sa-update will be run periodically?
In order to avoid overloading the data source, it should run at random
intervals.
http://cvs.fedora.redhat.com/viewcvs/devel/clamav/?root=extras
Fedora Extras clamav package has an ugly but effective example of
randomized interval updating. Perhaps the sysadmin could activate a
separate sa-update daemon, or sa-update could be run periodically by
spamd itself? Just some ideas...
Warren Togami
[EMAIL PROTECTED]