bin/156653: ipfw reports missing file as parameter problem

Jed Clear jclear at speakeasy.net
Mon Apr 25 21:50:09 UTC 2011


>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 at 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:


More information about the freebsd-bugs mailing list