[Bug 296409] Keywords: Avoid execution when INSTALL_AS_USER

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Jun 2026 16:15:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296409

--- Comment #1 from Jose Luis Duran <jlduran@FreeBSD.org> ---
While rearranging the conditional silences the immediate "Permission denied"
noise under INSTALL_AS_USER; the ideal, long-term solution for unprivileged
(generally --rootdir?) would be to actually have ldconfig succeed.

To achieve that ideally:

1. We would need to pass a custom flag to instruct ldconfig to use a base
directory in ${PKG_ROOTDIR}/var/run/ rather than /var/run/.

2. We would need to pass the -i flag to ldconfig's service arguments, to allow
it to run in insecure mode.

-- 
You are receiving this mail because:
You are on the CC list for the bug.