From owner-freebsd-fs@FreeBSD.ORG Sat Nov 9 17:50:01 2013 Return-Path: Delivered-To: freebsd-fs@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 ESMTP id 8121D105 for ; Sat, 9 Nov 2013 17:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) 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 5C56A2AA6 for ; Sat, 9 Nov 2013 17:50:01 +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 rA9Ho1FM064977 for ; Sat, 9 Nov 2013 17:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA9Ho1AG064968; Sat, 9 Nov 2013 17:50:01 GMT (envelope-from gnats) Date: Sat, 9 Nov 2013 17:50:01 GMT Message-Id: <201311091750.rA9Ho1AG064968@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org Cc: From: Scot Hetzel Subject: Re: bin/115361: [zfs] mount(8) gets into a state where it won't set/unset ZFS properties (atime, exec, setuid) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Scot Hetzel List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Nov 2013 17:50:01 -0000 The following reply was made to PR bin/115361; it has been noted by GNATS. From: Scot Hetzel To: Martin Matuska Cc: bug-followup@freebsd.org Subject: Re: bin/115361: [zfs] mount(8) gets into a state where it won't set/unset ZFS properties (atime, exec, setuid) Date: Sat, 9 Nov 2013 11:45:46 -0600 On Tue, Oct 11, 2011 at 2:23 AM, Martin Matuska wrote: > If there are no objections, I would like to close this PR. > > -- > Martin Matuska > FreeBSD committer > http://blog.vx.sk > I just ran the zfstest script on: FreeBSD fbsd10 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r257220: Sun Oct 27 22:42:08 CDT 2013 root@fbsd10:/usr/obj/usr/src/sys/GENERIC i386 The results below shows that mount still can't change devices, setuid or xattr attributes on the zfs filesystem (zfs get devices,setuid,xattr ${ZFS_FILESYSTEM}). they should show as off, and SOURCE should change to temporary, but they stay at default. NOTE: change ZFS_FILESYSTEM and ZFS_MOUNTPOINT in the zfstest script to the appropriate zfs filesystem and mount point. ================================================================================ Test setting/unsetting of devices ===> Current settings for Scratch/ports/distfiles NAME PROPERTY VALUE SOURCE Scratch/ports/distfiles devices on default Scratch/ports/distfiles on /usr/ports/distfiles (zfs, local, nfsv4acls) ===> mount -u -o nodevices /usr/ports/distfiles NAME PROPERTY VALUE SOURCE Scratch/ports/distfiles devices on default <- should be off and temporary Scratch/ports/distfiles on /usr/ports/distfiles (zfs, NFS exported, local, nfsv4acls) <- missing nodevices ===> mount -u -o devices /usr/ports/distfiles NAME PROPERTY VALUE SOURCE Scratch/ports/distfiles devices on default Scratch/ports/distfiles on /usr/ports/distfiles (zfs, NFS exported, local, nfsv4acls) ================================================================================ Test setting/unsetting of setuid ===> Current settings for Scratch/ports/distfiles NAME PROPERTY VALUE SOURCE Scratch/ports/distfiles setuid on default Scratch/ports/distfiles on /usr/ports/distfiles (zfs, local, nfsv4acls) ===> mount -u -o nosetuid /usr/ports/distfiles NAME PROPERTY VALUE SOURCE Scratch/ports/distfiles setuid on default <- should be off and temporary Scratch/ports/distfiles on /usr/ports/distfiles (zfs, NFS exported, local, nosuid, nfsv4acls) ===> mount -u -o setuid /usr/ports/distfiles NAME PROPERTY VALUE SOURCE Scratch/ports/distfiles setuid on default Scratch/ports/distfiles on /usr/ports/distfiles (zfs, NFS exported, local, nfsv4acls) ================================================================================ Test setting/unsetting of suid ===> Current settings for Scratch/ports/distfiles NAME PROPERTY VALUE SOURCE Scratch/ports/distfiles devices on default Scratch/ports/distfiles setuid on default Scratch/ports/distfiles on /usr/ports/distfiles (zfs, local, nfsv4acls) ===> mount -u -o nosuid /usr/ports/distfiles NAME PROPERTY VALUE SOURCE Scratch/ports/distfiles devices on default <- should be off and temporary Scratch/ports/distfiles setuid on default <- should be off and temporary Scratch/ports/distfiles on /usr/ports/distfiles (zfs, NFS exported, local, nosuid, nfsv4acls) <- missing nodevices ===> mount -u -o nonosuid /usr/ports/distfiles NAME PROPERTY VALUE SOURCE Scratch/ports/distfiles devices on default Scratch/ports/distfiles setuid on default Scratch/ports/distfiles on /usr/ports/distfiles (zfs, NFS exported, local, nfsv4acls) ===> mount -u -o suid /usr/ports/distfiles =====> nosuid already set NAME PROPERTY VALUE SOURCE Scratch/ports/distfiles devices on default Scratch/ports/distfiles setuid on default Scratch/ports/distfiles on /usr/ports/distfiles (zfs, NFS exported, local, nfsv4acls) ================================================================================ Test setting/unsetting of xattr ===> Current settings for Scratch/ports/distfiles NAME PROPERTY VALUE SOURCE Scratch/ports/distfiles xattr off temporary Scratch/ports/distfiles on /usr/ports/distfiles (zfs, local, nfsv4acls) ===> mount -u -o noxattr /usr/ports/distfiles NAME PROPERTY VALUE SOURCE Scratch/ports/distfiles xattr off temporary Scratch/ports/distfiles on /usr/ports/distfiles (zfs, NFS exported, local, nfsv4acls) <- missing noxattr ===> mount -u -o xattr /usr/ports/distfiles NAME PROPERTY VALUE SOURCE Scratch/ports/distfiles xattr off temporary <- should be on and default Scratch/ports/distfiles on /usr/ports/distfiles (zfs, NFS exported, local, nfsv4acls) ================================================================================ -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.