Subject: kern/29405: ipfilter fails to lookup "sunrpc" service
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <mrg@eterna.com.au>
List: netbsd-bugs
Date: 02/16/2005 19:26:00
>Number:         29405
>Category:       kern
>Synopsis:       ipfilter fails to lookup "sunrpc" service
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 16 19:26:00 +0000 2005
>Originator:     mrg@eterna.com.au
>Release:        NetBSD 2.99.15
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
System: NetBSD phat-bass.eterna.com.au 2.99.15 NetBSD 2.99.15 (_phat_) #125: Thu Feb 17 05:41:24 EST 2005 mrg@phat-bass.eterna.com.au:/home/obj/i386/usr/src/sys/arch/i386/compile/_phat_ i386
Architecture: i386
Machine: i386
>Description:

since upgrading to -current, i get this error trying to start ipf:

	Enabling ipfilter.
	service unknown error at "sunrpc", line 7

the offending line in my ipf.conf is infact:

	7:block in  quick  from any  to any  port = xdmcp

"sunprc" appears on the previous line:

	6:block in  quick  from any  to any  port = sunrpc

so there are at least 2 problems here:

	- why can't ipf find "sunrpc" service?  it is in my /etc/services.

	- why does ipf report the wrong line number (again?)

>How-To-Repeat:

	see above.

>Fix: