[Bug 228046] [patch] Use "service ldconfig restart" for USE_LDCONFIG

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 7 17:30:02 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228046

            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 at FreeBSD.org
          Reporter: tijl at FreeBSD.org
                CC: ports-bugs at FreeBSD.org

Created attachment 193152
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193152&action=edit
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 list
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.

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


More information about the freebsd-ports-bugs mailing list