- nfs.init: run ldconfig directly rather than calling

boot.ldconfig.
  boot.ldconfig had some "optimisations" which are
  unimportant and inconvenient for NFS, and doesn't
  exist any more anyway.
  (bnc#834164).

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=96
This commit is contained in:
Neil Brown 2013-10-15 01:17:57 +00:00 committed by Git OBS Bridge
parent f716d5b05d
commit cacec62691
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Oct 15 01:13:01 UTC 2013 - nfbrown@suse.com
- nfs.init: run ldconfig directly rather than calling
boot.ldconfig.
boot.ldconfig had some "optimisations" which are
unimportant and inconvenient for NFS, and doesn't
exist any more anyway.
(bnc#834164).
-------------------------------------------------------------------
Thu Sep 5 05:05:13 UTC 2013 - nfbrown@suse.com

View File

@ -261,8 +261,9 @@ case "$1-$nfs" in
# generate new list of available shared libraries
#
if test "$NEED_LDCONFIG" = yes; then
# check if ld.so.cache needs to be refreshed
/etc/init.d/boot.ldconfig start
if test -x /sbin/ldconfig; then
/sbin/ldconfig -X > /dev/null 2>&1 || :
fi
fi
#
;;