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:
commit
47aacf1013
@ -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>
|
Wed Oct 20 11:15:19 UTC 2021 - Stefan Schubert <schubi@suse.de>
|
||||||
|
|
||||||
|
@ -229,6 +229,7 @@ mkdir -pv $b/%_datadir/libalternatives/arptables
|
|||||||
cat >"$b/%_datadir/libalternatives/arptables/2.conf" <<-EOF
|
cat >"$b/%_datadir/libalternatives/arptables/2.conf" <<-EOF
|
||||||
binary=%_sbindir/xtables-nft-multi
|
binary=%_sbindir/xtables-nft-multi
|
||||||
group=arptables, arptables-restore, arptables-save
|
group=arptables, arptables-restore, arptables-save
|
||||||
|
options=KeepArgv0
|
||||||
EOF
|
EOF
|
||||||
for i in arptables-restore arptables-save; do
|
for i in arptables-restore arptables-save; do
|
||||||
mkdir -pv "$b/%_datadir/libalternatives/$i"
|
mkdir -pv "$b/%_datadir/libalternatives/$i"
|
||||||
@ -239,6 +240,7 @@ mkdir -p "$b/%_datadir/libalternatives/ebtables"
|
|||||||
cat >"$b/%_datadir/libalternatives/ebtables/2.conf" <<-EOF
|
cat >"$b/%_datadir/libalternatives/ebtables/2.conf" <<-EOF
|
||||||
binary=%_sbindir/xtables-nft-multi
|
binary=%_sbindir/xtables-nft-multi
|
||||||
group=ebtables, ebtables-restore, ebtables-save
|
group=ebtables, ebtables-restore, ebtables-save
|
||||||
|
options=KeepArgv0
|
||||||
EOF
|
EOF
|
||||||
for i in ebtables-restore ebtables-save; do
|
for i in ebtables-restore ebtables-save; do
|
||||||
mkdir -pv "$b/%_datadir/libalternatives/$i"
|
mkdir -pv "$b/%_datadir/libalternatives/$i"
|
||||||
|
Loading…
Reference in New Issue
Block a user