Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2011 06:04:06 GMT
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/161917: pjdfstest doesn't detect setup/teardown failures properly
Message-ID:  <201110230604.p9N6463d058318@red.freebsd.org>
Resent-Message-ID: <201110230610.p9N6A7na079870@freefall.freebsd.org>

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

>Number:         161917
>Category:       misc
>Synopsis:       pjdfstest doesn't detect setup/teardown failures properly
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 23 06:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        9.x
>Organization:
n/a
>Environment:
FreeBSD akai-ntbk.local 9.0-BETA2 FreeBSD 9.0-BETA2 #5 r225494M: Sun Sep 11 18:59:27 PDT 2011     root@akai-ntbk.local:/usr/obj/usr/src/sys/NETBOOK_NOSMP  i386
>Description:
Because the superuser requirement isn't properly tested today, one can clog up a production filesystem with garbage (example: mkfifo/11.t).

I discovered over 5 million fifos in my UFS-based scratch directory prior to a backup and reinstall, because mdconfig / mount / umount operation [in general] requires superuser privileges, whereas mkfifo doesn't.
>How-To-Repeat:
Execute the following as a non-root user:

cd tools/regression/pjdfstest
make
prove -r test
>Fix:


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



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