SA Bugzilla – Bug 7655
'/etc/mail/spamassassin/sa-update-keys/': No such file or directory
Last modified: 2018-11-10 14:58:43 UTC
Created attachment 5624 [details] Output of sa-update -D gpg --import GPG.KEY After making and installing current trunk, sa-update fails to import keys on the first run, as documented in INSTALL at line ~170. The failure happens because the directory doesn't exist. I attach command and output w/o line breaks.
Created attachment 5625 [details] Proposed patch I also attach a patch
This patch is on the edge of non-trivial. Can you submit an ICLA? https://www.apache.org/licenses/icla.pdf
He already HasCLA... Anyway, the patch needed minor argument fix. Also I noticed sa-update imported default key over and over again. That's because GnuPG prior to 2.1 used secring.gpg which it checks for, but 2.1 uses trustdb.gpg. I changed to that, since probably everyone uses atleast 2.1 these days... and if not, it simply imports it again and again like before, benign issue. Sending sa-update.raw Transmitting file data .done Committing transaction... Committed revision 1846268.
This is a bugfix and should be committed to 3.4 tree as well iff it hasn't been done yet.
I guess it doesn't brake anything. Sending sa-update.raw Transmitting file data .done Committing transaction... Committed revision 1846293.
Commit to 3.4 as well
Which I see was done. r1846293. --- Closing