From owner-freebsd-fs@freebsd.org Thu Sep 1 21:37:36 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80342BCBE28 for ; Thu, 1 Sep 2016 21:37:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5756B1DC for ; Thu, 1 Sep 2016 21:37:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u81LbZJ7091220 for ; Thu, 1 Sep 2016 21:37:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 212318] sysutils/fusefs-libs: fails to unmount due to a uniq dev node Date: Thu, 01 Sep 2016 21:37:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ben.rubson@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2016 21:37:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212318 Bug ID: 212318 Summary: sysutils/fusefs-libs: fails to unmount due to a uniq dev node Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: ben.rubson@gmail.com CC: brendan+freebsd@bbqsrc.net, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org Flags: maintainer-feedback?(brendan+freebsd@bbqsrc.net) Hello, I found a bug with fusefs. In function fuse_unmount_compat22, the following command is used to find out the device to unmount : /usr/bin/fstat /dev/fuse* Here is its output with FreeBSD 11.0-RC2 : # fstat /dev/fuse* USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME user1 encfs 15513 4 /dev 60 crw-rw---- fuse rw /dev/= fuse user2 encfs 15504 4 /dev 60 crw-rw---- fuse rw /dev/= fuse user3 encfs 15456 4 /dev 60 crw-rw---- fuse rw /dev/= fuse user4 encfs 15431 4 /dev 60 crw-rw---- fuse rw /dev/= fuse As you can see all users use the same dev node /dev/fuse. So when unmounting, user3 will get for example the following message : umount: unmount of /home/user2/encfs failed: Operation not permitted I'm not sure where is the issue, if we should expect a uniq dev node per mounted FS, or if the unmount command is to correct. Many thanks for your help ! Ben --=20 You are receiving this mail because: You are on the CC list for the bug.=