[Bug 265990] influxd does not work with ASLR (was: 13.1-stable jexec fatal error: runtime: address space conflict)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 23 Aug 2022 11:38:46 UTC

Stefan Eßer <se@FreeBSD.org> 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ßer <se@FreeBSD.org> ---
(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 get
the issue addressed in the port.

You are receiving this mail because:
You are the assignee for the bug.