From nobody Tue Aug 23 11:38:46 2022 X-Original-To: ports-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 4MBnLH6tbJz4ZRnd 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 4MBnLH5tT4z3wfZ 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 4MBnLH4xzNzSlP 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 27NBclbD037703 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 27NBcl7e037702 for ports-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: ports-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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-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=utG5HYolheokw9OJ9ji4iILaAaPCdfwewwIm9pcPWRmaI9ZlGSUkfs09f1siASIoOFp8tP ymuF+Ji/l8wy/tYs0/tVEfWVx3urNswPU1RYwmxJ7Xu9UOwCkFrzfYJV8j6eaDJqyg1O3+ 0RW43hkEUML+zk0Iu10cme+29pXDY3VK0fPw8eVXJxMmZuIFCp3MC1St5QUJ4U1AXQuY5Z i57JXHUbZGSH9lENOC7ki3NhDY9RCFN1eNnW2trwVqFLa4w7U8jC0VOAxBuwpxGx0Eoa25 qxRkZSS0LPipX8vgayA+fyr1ksM4NdJiG78W3vqW1ujykygxjBd6/sSbxIpkVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661254727; a=rsa-sha256; cv=none; b=Gv4va0KQSrkjq/38wnDg0W8IL9YRWu1/30QeHzZdP23SOAyAGCovdbxfMcGPR/co9bhnll pfJccKBuTdmcnidTMTMy73Y5nSDv+dlgWrVu85RZFDWgVX2bo26bus69KjDYi6PThyj5Qo d70FQCGRIZgD9ns58jcE57AXQ+9kzWCJI0x7poEHUSefynVxmbi00QDtvCr+17i2nXwQaZ BbBek59StNLasU2UDuFBR+U1nDq+pMB9cY1SYIFmT/F9K1XkWGN9RmnvDJCZR6tX7OnsQt +NvuIvPhUMkRYVAKeSNYZQQ7x51grNte5ySq2HS2PzazqJIYld0UL2gDFWZdDA== 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.=