[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ipmasq



> 
> I'm having a bit of trouble with the ipmasq package...  I just upgraded
> it from 3.3.2 to 3.3.3 and my network quit working.  Running
> /etc/init.d/ipmasq start  produced several 'cut: command not found'
> and 'sort: command not found' errors.  I traced it down to the
> /etc/ipmasq/rules/A00path.rul file setting the path to /bin:/sbin
> (cut and sort are in /usr/bin).  I renamed the A00path.rul file
> and re-ran ipmasq and it worked well enough that I can use my network,
> but I'm still getting the following error from ipmasq:
> 
>   /sbin/ipmasq: [: =: unary operator expected
> 
> I've been unable to find the cause of this one so far.  Has anybody
> else seen this problem?
> 

Ok, I added /usr/bin to the PATH statement in A00path.rul and changed
the 'if [ $SHOWRULES = yes ]; then' lines in Z90kernelforward.def and
Z99ipmasqrules.def to 'if [ "$SHOWRULES" = "yes" ]; then'  and everything
works ok now.

Mike


-- 
Michael Merten        ironfoot@popaccount.com         NRA Life Member
---------------------------------------------------------------------
"I must say that term limits give us a broader variety of and
frequent change in the numbers and types of idiots we elect." --Lyn
Nofziger
[The Federalist (www.Federalist.com)]
---------------------------------------------------------------------
This signature was automatically generated with Signify v1.05.
For this and other cool products, check out http://www.debian.org/.


Reply to: