From nobody Tue Aug 23 11:38:46 2022 X-Original-To: bugs@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 4MBnLH6SWZz4ZS4Z for ; Tue, 23 Aug 2022 11:38:47 +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 4MBnLH5SLWz3wKq for ; Tue, 23 Aug 2022 11:38:47 +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 4MBnLH4TQ1zSDF for ; Tue, 23 Aug 2022 11:38:47 +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 27NBcluD037699 for ; Tue, 23 Aug 2022 11:38:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27NBclPb037698 for bugs@FreeBSD.org; Tue, 23 Aug 2022 11:38:47 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: bugs@FreeBSD.org Subject: [Bug 265990] influxd does not work with ASLR (was: 13.1-stable jexec fatal error: runtime: address space conflict) Date: Tue, 23 Aug 2022 11:38:46 +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: se@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status short_desc bug_severity product component version assigned_to cc resolution 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661254727; 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=Gz/v6QRQpw0esLFne/ZLXICQHu010m9ICcAptkIjY4c=; b=o1YidWopsYf09bOyT4Xh+ugamXsBOMYEz+LIrirxZfNdjs9zDCvlvPoMEG+SsvwYlyviBc sURUuAjqoQRlVtUedtwYZGuKoh5GPSuBRhJqYW3qnLHxJ3wPQ9TE8rhLebhnibIltwFJqJ d6DcvMJZFY48Jq0NBOttxo8QpBQdktm4j2OG72nYDbEVr736KXVicHgRcuHON/mfNyjM/y WyG7kCAOb0yU3Yu6jcP57KvMfnys7mpj4KZkhIecUAxbwBbEv/q3nwYhHoGcYtLeJ/qHPm Guw8lSobUt/0TQSscJA9JJFihjYpzo8PnxNH2o7SirndULqSD4OS62CLIXr9fw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661254727; a=rsa-sha256; cv=none; b=KzMLvSHaAcwQBprDqUnDYL6y8BNu/kO09nq0THGk70WUjvDrvQxbxvOPHN5LNNPScopOFu JTfxuf2j283WLEEi8HNyTYXMbC67MbVmPqqc8rsYcFbrxLUOvC+mKjSSyM7PBvp0RLHlPH fWlrpIscWK207NZGxt0iedIeG/bFOmv2wg/Buh0uJergyLA4tW9FlueyydHKfQIQGF2XYh 1oQXS/102v82teE9bPkQRFxoQeyLe+m4BaXZ3G/2F39OUFZlA3CnfJJmdUZfNjbr/Bzf+N wbWy12TOeV6zJq3EGSYPny701W9RXE6daLcDKmZ5iW1Pb759ybsV7bvwUV4XlQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265990 Stefan E=C3=9Fer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Closed |Open Summary|13.1-stable jexec fatal |influxd does not work with |error: runtime: address |ASLR (was: 13.1-stable |space conflict |jexec fatal error: runtime: | |address space conflict) Severity|Affects Only Me |Affects Some People Product|Base System |Ports & Packages Component|kern |Individual Port(s) Version|13.1-STABLE |Latest Assignee|bugs@FreeBSD.org |ports-bugs@FreeBSD.org CC| |se@FreeBSD.org Resolution|Works As Intended |--- --- Comment #3 from Stefan E=C3=9Fer --- (In reply to Evaldas Auryla from comment #2) Instead of disabling ASLR for the whole system, you can use the following command to disable ASLR for individual binaries: # elfctl -e +noaslr /usr/local/bin/influxd Seems that the current version of influxdb is incompatible with ASLR due to fixed mapping addresses that can collide with shared library mappings, the databases/influxdb port should be fixed to perform the elfctl command in the (existing) post-install target. I'm re-opening this PR assigned to the maintainer of the influxdb port to g= et the issue addressed in the port. --=20 You are receiving this mail because: You are the assignee for the bug.=