1
0
forked from jengelh/iptables

Accepting request 932490 from security:netfilter

OBS-URL: https://build.opensuse.org/request/show/932490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iptables?expand=0&rev=76
This commit is contained in:
Dominique Leuenberger 2021-11-22 22:03:47 +00:00 committed by Git OBS Bridge
commit 47aacf1013
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Nov 19 11:17:27 UTC 2021 - Danilo Spinella <danilo.spinella@suse.com>
- Fix libalternatives configuration for ebtables and arptables
by keeping argv0, fixes bsc#1192799.
-------------------------------------------------------------------
Wed Oct 20 11:15:19 UTC 2021 - Stefan Schubert <schubi@suse.de>

View File

@ -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"