Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2011 21:40:48 GMT
From:      Jed Clear <jclear@speakeasy.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/156653: ipfw reports missing file as parameter problem
Message-ID:  <201104252140.p3PLemcr040310@red.freebsd.org>
Resent-Message-ID: <201104252150.p3PLo998068264@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         156653
>Category:       bin
>Synopsis:       ipfw reports missing file as parameter problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 25 21:50:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jed Clear
>Release:        8.1R-p3
>Organization:
Dis
>Environment:
FreeBSD net5501 8.1-RELEASE-p3 FreeBSD 8.1-RELEASE-p3 #0: Sat Apr 23 16:01:09 EDT 2011     root@fbsdam3.my.domain:/usr/obj/nanobsd.custom/i386/usr/src/sys/JEDWALL  i386

>Description:
I was trying to use -n and the cpp preprocessor to syntax check a new rules file, using "ipfw -n -p cpp new.rules".  It kept giving me "ipfw: illegal option -- p".  This was very puzzling for a bit as it matches the man page perfectly.  Eventually I discovered that I hadn't copied the new ruleset over to the right place and "new.rules" was MIA.

So the bug is that the error report is misleading.

>How-To-Repeat:
Run "ipfw -n -p cpp /path/to/missing_file"
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104252140.p3PLemcr040310>