Bug 12021 - can not create new firewall rules due to missing GeoIP DB
Summary: can not create new firewall rules due to missing GeoIP DB
Status: CLOSED FIXED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: x86_64 Linux
: Will affect all users Major Usability
Assignee: Alexander Marx
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-16 13:33 UTC by ronnywilde
Modified: 2019-05-11 10:20 UTC (History)
3 users (show)

See Also:


Attachments
GUI - Create a new firewallrule (36.71 KB, image/png)
2019-03-16 13:33 UTC, ronnywilde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ronnywilde 2019-03-16 13:33:13 UTC
Created attachment 660 [details]
GUI - Create a new firewallrule

In the GUI no Destination, Save or Next _buttons to create a firewallrule.

It is a fresh IPFire 2.21 - Core Update 127 installation. Update to 128 does not fixed the Problem.
Comment 1 Michael Tremer 2019-03-18 12:35:34 UTC
Please provide /var/log/httpd/error_log
Comment 2 Alexander Marx 2019-03-21 10:48:29 UTC
Hi

Recently i had to install a new IPFire system and have the same behaviour with core 128.

the Http error log says:

Could not open /var/lib/GeoIP/GeoLite2-Country-Locations-en.csv. No such file or directory

Have there been any changes in GeoIP?
Comment 3 Alexander Marx 2019-03-21 11:18:01 UTC
As far as the system is configured for internetacces, a simple

 /usr/local/bin/xt_geoip_update

will fix this issue. Afterwards you are able to define firewall rules.

At the moment i dont know what went wrong with the geoip database (csv-file).
Maybe the initial files are not in the ISO-Image?!
Comment 4 Michael Tremer 2019-03-25 16:13:39 UTC
https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=abe21498524bce327404febe644b1361267d0957

This is a problem, when a system should be set up, but has no access to the Internet, yet.
Comment 5 Peter Müller 2019-05-11 10:20:35 UTC
As far as I am aware, this problem has been fixed by now. I am thereof closing this as FIXED.

The aesthetic issue if no GeoIP database has been downloaded yet is filed under #10872. Thank you.