misc/111122: Possible bug with portsnap / grep

Garrett Cooper youshi10 at u.washington.edu
Mon Apr 2 05:50:10 UTC 2007


>Number:         111122
>Category:       misc
>Synopsis:       Possible bug with portsnap / grep
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 02 05:50:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        7-CURRENT
>Organization:
n/a
>Environment:
FreeBSD hoover.localdomain 7.0-CURRENT FreeBSD 7.0-CURRENT #25: Mon Mar 26 23:21:11 PST 2007     root at hoover.localdomain:/usr/obj/usr/src/sys/HOOVER  i386
>Description:
This is related to the ports/111106 PR.

In my portsnap.conf file:

REFUSE arabic astro audio benchmarks biology cad chinese comms databases deskutils dns finance french games german hebrew hungarian irc japanese korean mail math mbone multimedia net-* news palm polish portuguese russian science ukrainian vietnamese

I would expect net-* to glob and kill all directories like net-mgmt, etc, but instead it nukes the net directory as well. This is definitely unexpected behavior.
>How-To-Repeat:
Add a valid regular expression to the refuse section.
>Fix:
Looking up solution (changing egrep to grep?). All valid solutions seem to break things instead of fixing them, but I'm a Perl regular expressions guy, not a grep regular expressions guy.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list