From nobody Tue Dec 24 17:27:58 2024 X-Original-To: java@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 4YHhg33d4qz5hXnt for ; Tue, 24 Dec 2024 17:27:59 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YHhg32Z9kz4gyP for ; Tue, 24 Dec 2024 17:27:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735061279; 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: in-reply-to:in-reply-to:references:references; bh=ZwvbJbb2ciNx5oe/2o4Ariv2ASstgSUf4OeR7Ri7S+8=; b=UX4Aqls4pRBGhiDC2O6Bh7hDlDHho5m3+dWBTF41/UCveP7nrWVQV/LSOUDJ2u9RGxikMo dRg6CQeEkQH8ZvO/MzE1oUbyyuXZYH8Y7SSAPaasgpYDatnC7Np0lc2oEcjtMLu6Fr/8bI Mp3KMoyB1Ls7HMhtpQb2dCFhk8AdxnbFVL+t0BlNPcNWkHT2IWImetMmR8FVc8xLNXEOxi 3pZZFSkY3WIXPKEDwl3qUESQhswkXKF87zIRyvWVbq3D3W0gMH4t3cKG9Vt4XiC8CMIfVx zVgin0NHn9tuBWSHblbkG40dc5ffDpFlMdc4/yLIhYJmx58lt+2bo9gJLABNTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735061279; a=rsa-sha256; cv=none; b=UIY0y4IPQ/Zen0Q4TkJKRG0315CJFsphRnVd7eV/nPuZbuMjaiu4SHPWXOYGCXea/JQrj2 qFMUQnZJ6IyYuXsU5E/aRJMqi1tAhibyEjRAFKHOrD9Fp9ZaTZrH9Jj+ZW2NPYAUTBzy4P 9884w4eH49D+vOkpOkscYMxyqo4fkJFyud6aWZdICcfD1UNWQ+3aV75w0kZ75bh3dXis0p B3WBaXPjUexpY41T+EFwEKEVwBjVA3wR9E7QLUzeTKylqHv63km/qHqtNhmZAzztOeHMIu psEU6fUFYCs6xBXD9nyQDXdKdgJ/nMm4cFyBBmaWOWN5aalrb8aHCgZn6MgzlA== 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 4YHhg31c4gznhv for ; Tue, 24 Dec 2024 17:27:59 +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 4BOHRxrZ034593 for ; Tue, 24 Dec 2024 17:27:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BOHRxeD034592 for java@FreeBSD.org; Tue, 24 Dec 2024 17:27:59 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: java@FreeBSD.org Subject: [Bug 283364] java/openjdk*: Update pkg-message information about fdescfs and procfs Date: Tue, 24 Dec 2024 17:27:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: ltning-freebsd@anduin.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283364 Eirik Oeverby changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ltning-freebsd@anduin.net --- Comment #6 from Eirik Oeverby --- We've run java5, openjdk6, 7, 8, 11 and now 17 in production for a couple of decades now and rarely had procfs or fdescfs mounted. The exception was whe= n, for a while, we had to run a Linux JDK because the FreeBSD port wasn't work= ing (don't ask me why). I think the patch (or one like it) makes sense, even before any work has be= en done: Suggesting that it is *required* is simply wrong, just like stating t= hat it is never needed is wrong. Based on our experience, and after getting Xav= ier and friends' help to analyse it more, it seems that the sometimes-quoted "performance reasons" for having these are dubious at best; it either works= or does not. "There is no try." (ba-dum-tssss) The potential security impact (which I may or may not be imagining) of havi= ng these filesystems mounted in e.g. a locked-down jail running a web applicat= ion might be a good enough reason to mention that their presence may be optiona= l. (Then again, we may already have spent more time discussing this pkg-message than any benefit of modifying it might end up having :) ) Examples of not being needed: - Tomcat/jboss/whatnot (though webapps may or may not require it) - Most standalone Java applications I've tested Examples of it being needed (seems to frequently have to do with observing = the local system): - Graylog (otherwise it cannot see if its own inputs are running or not) - Elasticsearch, Opensearch (varies a bit between versions) - Logstash (com.sun.management.internal.OperatingSystemImpl.getCommittedVirtualMemoryS= ize0) /Eirik --=20 You are receiving this mail because: You are the assignee for the bug.=