Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 May 2018 17:29:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 228046] [patch] Use "service ldconfig restart" for USE_LDCONFIG
Message-ID:  <bug-228046-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228046

            Bug ID: 228046
           Summary: [patch] Use "service ldconfig restart" for
                    USE_LDCONFIG
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: tijl@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

Created attachment 193152
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193152&action=
=3Dedit
patch

Currently USE_LDCONFIG adds "@postexec ${LDCONFIG} -m ${USE_LDCONFIG}" to
pkg-plist.  This command appends the path in USE_LDCONFIG to the list of
ldconfig directories.  On reboot /etc/rc.d/ldconfig uses "sort -u" on the l=
ist
of paths which may give a different order.  The patch replaces the postexec
with "@postexec /usr/sbin/service ldconfig restart" which reruns the rc.d
script so the order after a package install is the same as after a reboot.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228046-7788>