Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2014 17:40:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 195947] New: emulators/open-vm-tools vmware-kmod does not start on boot
Message-ID:  <bug-195947-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 195947
           Summary: emulators/open-vm-tools vmware-kmod does not start on
                    boot
           Product: Ports Tree
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: swills@FreeBSD.org
          Reporter: delycid@gmail.com
          Assignee: swills@FreeBSD.org
             Flags: maintainer-feedback?(swills@FreeBSD.org)

My first bug report, please let me know if something is wrong)

*Component: emulators/open-vm-tools and emulators/open-vm-tools-nox11 (vers=
ion
1280544_9,1)

*OS: FreeBSD 10.1-RELEASE

*Summary: /usr/local/etc/rc.d/vmware-kmod script fails to start on boot.

*Description:=20

/usr/local/etc/rc.d/vmware-kmod script fails to start on boot with the
following messages
...
Mounting local file systems:.
>Shared object "libiconv.so.2" not found, required by "libglib-2.0.so.0"
>Shared object "libiconv.so.2" not found, required by "libglib-2.0.so.0"
>Shared object "libiconv.so.2" not found, required by "libglib-2.0.so.0"
>Shared object "libiconv.so.2" not found, required by "libglib-2.0.so.0"
Writing entropy file:
...

but can be started by hand after from the root shell


*Overview:=20

Seems it=E2=80=99s happening because it tries to start too early
rcorder /etc/rc.d/* /usr/local/etc/rc.d/*
=E2=80=A6
/etc/rc.d/cleanvar
/etc/rc.d/FILESYSTEMS
/usr/local/etc/rc.d/vmware-kmod <<<< this one
/etc/rc.d/kldxref
/etc/rc.d/kld
/etc/rc.d/addswap
/etc/rc.d/random
/etc/rc.d/postrandom
=E2=80=A6

/usr/local/etc/rc.d/vmware-kmod script calls=20=20
checkvm_cmd=3D"/usr/local/bin/vmware-checkvm
which is depends on libglib-2.0.so.0
ldd /usr/local/bin/vmware-checkvm
/usr/local/bin/vmware-checkvm:
    libvmtools.so.0 =3D> /usr/local/lib/libvmtools.so.0 (0x80081e000)
    libkvm.so.6 =3D> /lib/libkvm.so.6 (0x800a96000)
    libcrypt.so.5 =3D> /lib/libcrypt.so.5 (0x800c9e000)
    libthr.so.3 =3D> /lib/libthr.so.3 (0x800ebe000)
    libglib-2.0.so.0 =3D> /usr/local/lib/libglib-2.0.so.0 (0x8010e3000) <<<
=E2=80=A6


and it=E2=80=99s called before /etc/rc.d/ldconfig

thus /usr/local/etc/rc.d/vmware-kmod fails to start
because vmware-checkvm does not know about $LOCALBASE libs yet

The solution is to modify /usr/local/etc/rc.d/vmware-kmod by adding
# REQUIRE: FILESYSTEMS ldconfig

*Steps to Reproduce:

1) Install open-vm-tools or open-vm-tools-nox11

2) Reboot the system


*Expected Results: rc script starts and loads vmware modules


*Build Date & Hardware:=20
13 December 2014
Vmware Fusion 7.1.0  (Vmware software version 6)

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer swills@FreeBSD.org

--=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-195947-13>