From nobody Sat Oct 22 15:17:26 2022 X-Original-To: gnome@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MvlLv1fSjz4gBCN for ; Sat, 22 Oct 2022 15:17:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MvlLt6q6Tz3n6C for ; Sat, 22 Oct 2022 15:17:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MvlLt5TVPzbgP for ; Sat, 22 Oct 2022 15:17:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29MFHQEw062714 for ; Sat, 22 Oct 2022 15:17:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29MFHQk5062713 for gnome@FreeBSD.org; Sat, 22 Oct 2022 15:17:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 267270] devel/gvfs: Make gvfsd-trash optional Date: Sat, 22 Oct 2022 15:17:26 +0000 X-Bugzilla-Reason: AssignedTo 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 Only Me X-Bugzilla-Who: lab+bsd@thinkum.space X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@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 flagtypes.name attachments.created 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 List-Id: GNOME for FreeBSD -- porting and maintaining List-Archive: https://lists.freebsd.org/archives/freebsd-gnome List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gnome@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666451847; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zG4mHxoyTGYTfS66BQ2RMnWWi+k54UY94GrDhW/vJGg=; b=lhuG6C61GUXINxUf4wcg0VF6bLb4Hj2ZS0WO74W/AVZtMa89RFNOWnBKkNhNJF4PF+fMfp WN9qnuz9EGixkO5AR78UbG/R3G9sxyQl5OiOareyz8ft0vikb8yrcbuOfJCCiXM16GT5rL 6fQGk+2c7pR1uSSoPCkkNv4coomE24Q7J/zz2+EExmiCnO8BrT2JSqhM+0Qli/eTiI+y4R T2gHgA0JS5po8KqiCMdsBz3Y4pTRwjTtQ8JVOWabp4I9bE+w7U1B3HFLAKt9M56OcDVCYF ANhE9BOBWkc/3kCntI6wLQLE2jdvDT8UMOVvvbosN8FzQBvvIgIEfCcpQLrS8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666451847; a=rsa-sha256; cv=none; b=e9j9h5o+13KZCaCHQ9ufNkHmBkTj4b8SQ+67Aj2G/HArEYg2PEWYBBPfe4vDK0kjkaneDw vjrCAyRm79I3fSBwKcxf79Tl9liFGFUcqtmmr8PHgJg3XqsFc5ValQc8ldgmukXU/KC42L qf+e85phwiAbhx4FjiGCQ5JXrkqM6CaGTeB26ZbQ3Ge0BwWez4OkDmCL0LRO8I9cSEJ1rb lDii/xN9BPoowpwazM8KdjVCh3YMFe+h3xZizixIbpQH4kHMFhmYW2byirdXWT+M3TIDOJ fn3+zzSHYxIIItpwcYDLau943s6gSoic5dmFri6RJEpK6wE2URiTOQxkBQxEsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267270 Bug ID: 267270 Summary: devel/gvfs: Make gvfsd-trash optional Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: lab+bsd@thinkum.space Assignee: gnome@FreeBSD.org Flags: maintainer-feedback?(gnome@FreeBSD.org) Created attachment 237527 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237527&action= =3Dedit Adding an option for gvfsd-trash After discovering that gvfsd-trash had more than 10,000 file descriptors op= en - visible in 'fstat -p' - I'd developed a workaround for disabling gvfsd-trash locally.=20 ~~~~ mkdir -p /usr/local/etc/gvfs/mounts for F in /usr/local/share/gvfs/mounts/*.mount; do install -l rs $F /usr/local/etc/gvfs/mounts/$(basename $F); done rm /usr/local/etc/gvfs/mounts/trash.mount ~~~~ then in /etc/profile ~~~~ if [ -e /usr/local/etc/gvfs/mounts ]; then export GVFS_MOUNTABLE_DIR=3D/usr/local/etc/gvfs/mounts fi ~~~~ This workaround would not ensure that /usr/local/etc/gvfs/mounts would stay= in sync with /usr/local/share/gvfs/mounts/ The attached patch would provide a way to disable gvfsd-trash in the port build.=20 The patch will add an option to devel/gvfs for not installing gvfsd-trash. This first patch is provided in assuming that nothing will break with libexec/gvfsd-trash not installed. In the patched port, the main idea was to make it optional to install ${DATADIR}/mounts/trash.mount. When the TRASH option is not active, both of those files will be removed during post-insta= ll. Considering the approximate number of concerns that users may have experien= ced with gvfsd-trash at the desktop - e.g in relation to zfs unmount, in regard= s to process utilization, and in regards to number of open file descriptors - the option is disabled by default, in the patched port --=20 You are receiving this mail because: You are the assignee for the bug.=