Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 674284

Summary: net-firewall/iptables-1.8.2-r2 with net-firewall/arptables - file collisions in /sbin/arptables-save /sbin/arptables-restore
Product: Gentoo Linux Reporter: Phil <Phil>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Phil 2019-01-01 21:58:49 UTC
When trying to update iptables package, it complains about file collisions with arptables package. Affected files are:

* /sbin/arptables-save
* /sbin/arptables-restore

Fix is analogous to Bug 669894:

--- a/iptables-1.8.2-r2.ebuild.orig
+++ b/iptables-1.8.2-r2.ebuild
@@ -114,7 +114,7 @@ src_install() {
                rm "${ED%/}"/sbin/{arptables,ebtables} || die
                # Bug 669894
-               rm "${ED%/}"/sbin/ebtables-{save,restore} || die
+               rm "${ED%/}"/sbin/{arp,eb}tables-{save,restore} || die
        systemd_dounit "${FILESDIR}"/systemd/iptables-{re,}store.service