From owner-freebsd-bugs@FreeBSD.ORG Sun Feb 23 19:50:01 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0DC9E2EE for ; Sun, 23 Feb 2014 19:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C2F951E33 for ; Sun, 23 Feb 2014 19:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1NJo0tZ009141 for ; Sun, 23 Feb 2014 19:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1NJo0mw009140; Sun, 23 Feb 2014 19:50:00 GMT (envelope-from gnats) Resent-Date: Sun, 23 Feb 2014 19:50:00 GMT Resent-Message-Id: <201402231950.s1NJo0mw009140@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tommy Scheunemann Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 271D720D for ; Sun, 23 Feb 2014 19:49:18 +0000 (UTC) Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 119B61E27 for ; Sun, 23 Feb 2014 19:49:18 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1NJnHYF019513 for ; Sun, 23 Feb 2014 19:49:17 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1NJnHoR019512; Sun, 23 Feb 2014 19:49:17 GMT (envelope-from nobody) Message-Id: <201402231949.s1NJnHoR019512@cgiserv.freebsd.org> Date: Sun, 23 Feb 2014 19:49:17 GMT From: Tommy Scheunemann To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/186986: nullfs mount options broken X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 19:50:01 -0000 >Number: 186986 >Category: kern >Synopsis: nullfs mount options broken >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: Sun Feb 23 19:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Tommy Scheunemann >Release: 10.0-RELEASE >Organization: >Environment: FreeBSD playbox.arrishq.local 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC 2014 root@snap.freebd.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: Seems since an update (clean update) but also with a reinstall mount_nullfs doesn't take options anymore, or better the final mount doesn't take them. >How-To-Repeat: cd /root mkdir dir_1 mkdir dir_2 mount_nullfs -o ro,noexec,nosuid /root/dir_1 /root/dir_2 cd dir_2 ls -a . .. touch testfile ls -a . .. testfile cp /bin/ls ./ ./ls ls Also doing a: mount | grep dir_2 shows: /root/dir_1 /root/dir_2 (nullfs, local) but the options "read-only, noexec,nosuid" seem to be ignored. The underlying filesystem is UFS. Same problem exists on i386 and amd64 - both with a GENERIC kernel. >Fix: >Release-Note: >Audit-Trail: >Unformatted: