Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196098 - net-firewall/arptables - arptables-{save,restore} scripts have mangled paths to arptables binary
Summary: net-firewall/arptables - arptables-{save,restore} scripts have mangled paths ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-16 21:24 UTC by Tyler Montbriand
Modified: 2007-10-28 11:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild patch to fix paths before install (arptables.patch,314 bytes, patch)
2007-10-16 21:26 UTC, Tyler Montbriand
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tyler Montbriand 2007-10-16 21:24:04 UTC
In both /sbin/arptables-save and /sbin/arptables-restore, you will find the
following line:

my $tool = "__EXEC_PATH__/arptables";

__EXEC_PATH__/ should be /sbin/

Reproducible: Always

Steps to Reproduce:
1. emerge arptables
2. /sbin/arptables-save
Actual Results:  
it prints "ERROR: Tool __EXEC_PATH__/arptables isn't executable"

Expected Results:  
It should have been able to find the tool.

I will attach a patch that fixes these paths.
Comment 1 Tyler Montbriand 2007-10-16 21:26:03 UTC
Created attachment 133648 [details, diff]
Ebuild patch to fix paths before install
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2007-10-28 11:26:59 UTC
Thank you for report, Tyler. Fixed in arptables-0.0.3.3-r1.ebuild.