You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2018/11/09 20:29:05 UTC

[Bug 7655] New: '/etc/mail/spamassassin/sa-update-keys/': No such file or directory

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7655

            Bug ID: 7655
           Summary: '/etc/mail/spamassassin/sa-update-keys/': No such file
                    or directory
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sa-update
          Assignee: dev@spamassassin.apache.org
          Reporter: vesely@tana.it
  Target Milestone: Undefined

Created attachment 5624
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5624&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7655] '/etc/mail/spamassassin/sa-update-keys/': No such file or directory

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7655

Giovanni Bechis <gi...@paclan.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |giovanni@paclan.it

--- Comment #4 from Giovanni Bechis <gi...@paclan.it> ---
This is a bugfix and should be committed to 3.4
tree as well iff it hasn't been done yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7655] '/etc/mail/spamassassin/sa-update-keys/': No such file or directory

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7655

Henrik Krohns <he...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |hege@hege.li

--- Comment #3 from Henrik Krohns <he...@hege.li> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7655] '/etc/mail/spamassassin/sa-update-keys/': No such file or directory

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7655

Kevin A. McGrail <km...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   Target Milestone|Undefined                   |3.4.3
         Resolution|FIXED                       |---

--- Comment #6 from Kevin A. McGrail <km...@apache.org> ---
Commit to 3.4 as well

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7655] '/etc/mail/spamassassin/sa-update-keys/': No such file or directory

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7655

--- Comment #5 from Henrik Krohns <he...@hege.li> ---
I guess it doesn't brake anything.

Sending        sa-update.raw
Transmitting file data .done
Committing transaction...
Committed revision 1846293.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7655] '/etc/mail/spamassassin/sa-update-keys/': No such file or directory

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7655

Alessandro Vesely <ve...@tana.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vesely@tana.it

--- Comment #1 from Alessandro Vesely <ve...@tana.it> ---
Created attachment 5625
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5625&action=edit
Proposed patch

I also attach a patch

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7655] '/etc/mail/spamassassin/sa-update-keys/': No such file or directory

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7655

Kevin A. McGrail <km...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kmcgrail@apache.org

--- Comment #2 from Kevin A. McGrail <km...@apache.org> ---
This patch is on the edge of non-trivial.  Can you submit an ICLA?
https://www.apache.org/licenses/icla.pdf

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7655] '/etc/mail/spamassassin/sa-update-keys/': No such file or directory

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7655

Kevin A. McGrail <km...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #7 from Kevin A. McGrail <km...@apache.org> ---
Which I see was done.  r1846293.  --- Closing

-- 
You are receiving this mail because:
You are the assignee for the bug.