forked from jengelh/iptables
Accepting request 932489 from home:dspinella:branches:security:netfilter
- Fix libalternatives configuration for ebtables and arptables by keeping argv0, fixes bsc#1192799. OBS-URL: https://build.opensuse.org/request/show/932489 OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iptables?expand=0&rev=149
This commit is contained in:
parent
627d854142
commit
8f5d9d825f
@ -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