[lfs-dev] LFS Kmod issue

Bruce Dubbs bruce.dubbs at gmail.com
Sun Jan 18 17:02:13 PST 2015


Олег Титов wrote:
> Dear LFS developers!
>
> Recently I've built my LFS/BLFS system in VMware Player environment up
> to running KDE desktop. And I got a problem when I decided to instal
> VMware tools to have convenient integration with host system: some
> modules of VMware tools failed to start.
>
> After some time spent on reading the internet, turning on logging,
> reading tools bootscript file, I finally found the problem: the
> bootscript was checking if a kernel module is loaded with /sbin/lsmod
> which was not installed. Latest LFS book recommends creating all Kmod
> Module-Init-Tools compatibility symlinks in /sbin , exept /bin/lsmod
> (I guess so regular users can check for loaded kernel modules without
> /sbin in their $PATH). May be one more symlink should be added to
> avoid such problems as was mine?

A symlink is possible, but it seems pretty sloppy that vmware tools hard 
codes the path instead of just using $PATH.

I do note that Linux Mint has both /bin/lsmod and /sbin/lsmod and they 
are both symlinks to /bin/kmod.

   -- Bruce




More information about the lfs-dev mailing list