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:   maintainer-feedback requested: [Bug 254024] devel/gvfs: gvfsd-trash latches to zfs volumes
Message-ID:  <bug-254024-6497-Dg2oNyHnl9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254024-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254024-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome (Nobody)
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 254024: devel/gvfs: gvfsd-trash latches to zfs volumes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254024



--- Description ---
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=09=20
root@freebsd.local:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

gvfs version:
gvfs-1.46.2



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