-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Trying to set set geoip options via a included file results in odd errors.
>yq .sagan-core.geoip sagan.yaml
enabled: no
country_database: "/usr/local/share/GeoIP2/GeoLite2-Country.mmdb"
skip_networks: "8.8.8.8/32, 8.8.4.4/32"
>yq .sagan-core.geoip sagan-include.yaml
country_database: /usr/local/share/GeoIP/GeoLite2-Country.mmdb
enabled: yes
Results in the error below.
[*] Loading GeoIP database. []
[W] Cannot open '' [No such file or directory]!
But the file does definitely exist.
>ll /usr/local/share/GeoIP/GeoLite2-Country.mmdb
Permissions Size User Group Date Modified Name
.rw-r--r-- 6.3M root wheel 17 Dec 2023 /usr/local/share/GeoIP/GeoLite2-Country.mmdb
If enabled and db path set in the main file it works.
Metadata
Metadata
Assignees
Labels
No labels