core177: Do not ship location database extracted in ipset format

Message ID 20230711093726.771964-1-michael.tremer@ipfire.org
State Staged
Commit a1836ab1206151d0a714c273d384a5b9ec65f569
Headers
Series core177: Do not ship location database extracted in ipset format |

Commit Message

Michael Tremer July 11, 2023, 9:37 a.m. UTC
  Since the update is not built on the day when people install it, we will
ship an outdated database. For updates, where the firewall is being
reloaded or rebooted, we will have an old database in place until the
next database update job runs.

Secondly, the data is 33 MiB in size, which is useless data shipped as
every system will already have a database that is very likely to be more
recent.

In this update, we are not shipping the location database again, but I
wanted to add this change so it does not get lost next time.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 config/rootfiles/core/177/exclude | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Peter Müller July 13, 2023, 2:23 p.m. UTC | #1
Thank you for raising this, I'll pay attention to it for future Core Updates.

Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> Since the update is not built on the day when people install it, we will
> ship an outdated database. For updates, where the firewall is being
> reloaded or rebooted, we will have an old database in place until the
> next database update job runs.
> 
> Secondly, the data is 33 MiB in size, which is useless data shipped as
> every system will already have a database that is very likely to be more
> recent.
> 
> In this update, we are not shipping the location database again, but I
> wanted to add this change so it does not get lost next time.
> 
> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
> ---
>  config/rootfiles/core/177/exclude | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/config/rootfiles/core/177/exclude b/config/rootfiles/core/177/exclude
> index 378c2d563..8ee1c3c2f 100644
> --- a/config/rootfiles/core/177/exclude
> +++ b/config/rootfiles/core/177/exclude
> @@ -27,6 +27,7 @@ var/ipfire/urlfilter/blacklist
>  var/ipfire/urlfilter/settings
>  var/lib/alternatives
>  var/lib/location/database.db
> +var/lib/location/ipset
>  var/log/cache
>  var/log/dhcpcd.log
>  var/log/messages
  

Patch

diff --git a/config/rootfiles/core/177/exclude b/config/rootfiles/core/177/exclude
index 378c2d563..8ee1c3c2f 100644
--- a/config/rootfiles/core/177/exclude
+++ b/config/rootfiles/core/177/exclude
@@ -27,6 +27,7 @@  var/ipfire/urlfilter/blacklist
 var/ipfire/urlfilter/settings
 var/lib/alternatives
 var/lib/location/database.db
+var/lib/location/ipset
 var/log/cache
 var/log/dhcpcd.log
 var/log/messages