Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2020 21:23:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250407] emulators/open-vm-tools: prevent running vmware-guestd rc script before ldconfig
Message-ID:  <bug-250407-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 250407
           Summary: emulators/open-vm-tools: prevent running vmware-guestd
                    rc script before ldconfig
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jpaetzel@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: jpaetzel@FreeBSD.org
             Flags: maintainer-feedback?(jpaetzel@FreeBSD.org)

Created attachment 218813
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218813&action=
=3Dedit
Add ldconfig to vmware-guestd REQUIRES: line

Recently at startup of a VM with open-vm-tools-nox11-11.1.5,2 installed I s=
aw
the following at bootup:

Oct 16 21:19:19 foobar kernel: Setting hostname: foobar.
Oct 16 21:19:19 foobar kernel: ld-elf.so.1: Shared object "libpcre.so.1" not
found, required by "libglib-2.0.so.0"
Oct 16 21:19:19 foobar syslogd: last message repeated 1 times
Oct 16 21:19:19 foobar kernel: /etc/rc: WARNING: failed precmd routine for
vmware_guestd
Oct 16 21:19:19 foobar kernel: ELF ldconfig path: /lib /usr/lib /usr/lib/co=
mpat
/usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat /usr/
local/lib/compat/pkg /usr/local/lib/dovecot /usr/local/lib/expect5.45.4
/usr/local/lib/gcc10 /usr/local/lib/gcc11 /usr/local/lib/gcc48
/usr/local/lib/gcc7 /usr/
local/lib/gcc8 /usr/local/lib/gcc9 /usr/local/lib/graphviz
/usr/local/lib/perl5/5.32/mach/CORE /usr/local/lib/samba4 /usr/local/llvm10=
/lib
/usr/local/llvm80/lib
 /usr/local/llvm90/lib

What happens here is that /usr/local/etc/rc.d/vmware-guestd only has "REQUI=
RE:
FILESYSTEMS" in it, and sometimes it can then be started before
/etc/rc.d/ldconfig has run. In that case, /usr/local/lib will not yet have =
been
added to the dynamic linker path, and the above messages will show up.

I propose to add "ldconfig" to the "REQUIRE:" line of the rc.d script templ=
ate.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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