[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spamassassin-devel
Subject:    [Bug 8090] New: 4.0.0 prevents GeoIP2 mmdb files to be updated
From:       bugzilla-daemon () spamassassin ! apache ! org
Date:       2022-12-08 22:56:02
Message-ID: bug-8090-26 () https ! bz ! apache ! org/SpamAssassin/
[Download RAW message or body]

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

            Bug ID: 8090
           Summary: 4.0.0 prevents GeoIP2 mmdb files to be updated
           Product: Spamassassin
           Version: 4.0.0
          Hardware: PC
                OS: Windows 10
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Plugins
          Assignee: dev@spamassassin.apache.org
          Reporter: ruud.vd.hout@gmail.com
  Target Milestone: Undefined

installed module:

Dec  8 17:58:19.370 [1896] dbg: diag: [...] optional module installed:
MaxMind::DB::Reader, version 1.000014
Dec  8 17:58:19.370 [1896] dbg: diag: [...] optional module not installed:
MaxMind::DB::Reader::XS ('require' failed)

I am using 4.0.0-RC4 on Windows, using MaxMind::DB::Reader to utilize ASN en
RelayCountry lookups, when running spamd as service it keeps both
GeoLite2-City.mmdb and GeoLite2-ASN.mmdb loaded constantly, making it
impossible to update those databases with geoipupdate.exe
(https://github.com/maxmind/geoipupdate)   

if i ran geoipupdate -v it returns:

Performing update request to
https://updates.maxmind.com/geoip/databases/GeoLite2-ASN/update?db_md5=d5194b28eaa48826567fa38a75468c76
error retrieving updates: error while getting database for GeoLite2-ASN:
encountered an issue committing database update: error moving database into
place: rename C:\GeoIP\GeoLite2-ASN.mmdb.temporary C:\GeoIP\GeoLite2-ASN.mmdb:
Access is denied.

This Access is denied error is caused by spamd, if i kill spamd before running
geoipupdate it works fine. 

I believe maxmind mmdb files can be loaded into memory, could that possibly
prevent the file in use (Access is denied) error?

-- 
You are receiving this mail because:
You are the assignee for the bug.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic