FreeBSD Bugzilla – Attachment 246263 Details for
Bug 275031
rc.d/ldconfig missing hard-coded /lib/casper from rtld-elf STANDARD_LIBRARY_PATH
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
stable/12: Initialize ldconfig baseline paths from rtld standard library paths
patch-stable_12-libexec_rc_rc.d_ldconfig.txt (text/plain), 770 bytes, created by
John W. O'Brien
on 2023-11-12 22:04:30 UTC
(
hide
)
Description:
stable/12: Initialize ldconfig baseline paths from rtld standard library paths
Filename:
MIME Type:
Creator:
John W. O'Brien
Created:
2023-11-12 22:04:30 UTC
Size:
770 bytes
patch
obsolete
>diff --git a/libexec/rc/rc.d/ldconfig b/libexec/rc/rc.d/ldconfig >index 9e5e02ab2..7d237a316 100755 >--- a/libexec/rc/rc.d/ldconfig >+++ b/libexec/rc/rc.d/ldconfig >@@ -23,7 +23,7 @@ ldconfig_start() > ldconfig=${ldconfig_command} > checkyesno ldconfig_insecure && _ins="-i" > if [ -x "${ldconfig_command}" ]; then >- _LDC="/lib /usr/lib" >+ _LDC=`/libexec/ld-elf.so.1 -v | sed -n -e '/^Default lib path /s///p' | tr : ' '` > for i in ${ldconfig_local_dirs}; do > if [ -d "${i}" ]; then > _files=`find ${i} -type f` >@@ -50,7 +50,7 @@ ldconfig_start() > fi > fi > done >- _LDC="" >+ _LDC=`/libexec/ld-elf32.so.1 -v | sed -n -e '/^Default lib path /s///p' | tr : ' '` > for i in ${ldconfig32_paths}; do > if [ -r "${i}" ]; then > _LDC="${_LDC} ${i}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 275031
:
246246
|
246247
|
246263
|
246264
|
246272