Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2007 05:41:12 GMT
From:      Garrett Cooper<youshi10@u.washington.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/111123: Possible bug with portsnap / grep
Message-ID:  <200704020541.l325fCrn049667@www.freebsd.org>
Resent-Message-ID: <200704020550.l325oAH7025671@freefall.freebsd.org>

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

>Number:         111123
>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@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:



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