diff --git a/iptables.changes b/iptables.changes index daa6cea..65b2d89 100644 --- a/iptables.changes +++ b/iptables.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 19 11:17:27 UTC 2021 - Danilo Spinella + +- Fix libalternatives configuration for ebtables and arptables + by keeping argv0, fixes bsc#1192799. + ------------------------------------------------------------------- Wed Oct 20 11:15:19 UTC 2021 - Stefan Schubert diff --git a/iptables.spec b/iptables.spec index 94e5b63..cbd2a54 100644 --- a/iptables.spec +++ b/iptables.spec @@ -229,6 +229,7 @@ mkdir -pv $b/%_datadir/libalternatives/arptables cat >"$b/%_datadir/libalternatives/arptables/2.conf" <<-EOF binary=%_sbindir/xtables-nft-multi group=arptables, arptables-restore, arptables-save + options=KeepArgv0 EOF for i in arptables-restore arptables-save; do mkdir -pv "$b/%_datadir/libalternatives/$i" @@ -239,6 +240,7 @@ mkdir -p "$b/%_datadir/libalternatives/ebtables" cat >"$b/%_datadir/libalternatives/ebtables/2.conf" <<-EOF binary=%_sbindir/xtables-nft-multi group=ebtables, ebtables-restore, ebtables-save + options=KeepArgv0 EOF for i in ebtables-restore ebtables-save; do mkdir -pv "$b/%_datadir/libalternatives/$i"