Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Mar 2021 08:14:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 254024] devel/gvfs: gvfsd-trash latches to zfs volumes
Message-ID:  <bug-254024-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254024

            Bug ID: 254024
           Summary: devel/gvfs: gvfsd-trash latches to zfs volumes
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: ehaupt@FreeBSD.org
          Assignee: gnome@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)

I tried to destry a zfs volume:

# zfs destroy -r zroot/foo/bar
cannot unmount '/foo/bar': unmount failed

fstat sure enough reveals the culprit:

# fstat | grep "foo/bar"
ehaupt   gvfsd-trash  1814   25 /foo/bar     34 drwxr-xr-x      23  r
ehaupt   gvfsd-trash  1814   26 /foo/bar     34 drwxr-xr-x      23  r

Attaching truss to the pid I see:

# truss -f -p 1814
 1814: poll({ 4/POLLIN },1,2504)                 =3D 0 (0x0)
 1814: getfsstat(0x0,0,MNT_NOWAIT)               =3D 41 (0x29)
 1814: getfsstat(0x80153e140,96104,MNT_NOWAIT)   =3D 41 (0x29)
 1814: poll({ 4/POLLIN },1,2992)                 =3D 0 (0x0)
 1814: getfsstat(0x0,0,MNT_NOWAIT)               =3D 41 (0x29)
 1814: getfsstat(0x80153ee00,96104,MNT_NOWAIT)   =3D 41 (0x29)
 1814: poll({ 4/POLLIN },1,2924)                 =3D 0 (0x0)
 1814: getfsstat(0x0,0,MNT_NOWAIT)               =3D 41 (0x29)
 1814: getfsstat(0x80153e340,96104,MNT_NOWAIT)   =3D 41 (0x29)
 1814: poll({ 4/POLLIN },1,2965)                 =3D 0 (0x0)
 1814: getfsstat(0x0,0,MNT_NOWAIT)               =3D 41 (0x29)
 1814: getfsstat(0x80153e340,96104,MNT_NOWAIT)   =3D 41 (0x29)
^C

I am on:
FreeBSD freebsd.local 13.0-BETA4 FreeBSD 13.0-BETA4 #5
releng/13.0-n244620-3664067ea91: Wed Mar  3 21:05:06 CET 2021=20=20=20=20
root@freebsd.local:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

gvfs version:
gvfs-1.46.2

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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