Skip to content

daemon: Greyhole VFS module warning #314

Description

@tamorgen

Good morning,
I saw on my server that I'm getting the following error:

Jul 05 01:41:47 daemon: Greyhole VFS module (/usr/lib64/samba/vfs/greyhole.so) seems to be missing some required libraries. If you have issues connecting to your Greyhole-enabled shares, try to compile a new VFS module for Samba by running this command: sudo /usr/share/greyhole/build_vfs.sh current

I tried compiling as directed, but it fails:

Installing build dependencies...
Last metadata expiration check: 2:20:30 ago on Wed 05 Jul 2023 06:05:04 AM EDT.
Package patch-2.7.6-17.fc37.x86_64 is already installed.
Package gcc-12.3.1-1.fc37.x86_64 is already installed.
Package python3-devel-3.11.4-1.fc37.x86_64 is already installed.
Package gnutls-devel-3.8.0-2.fc37.x86_64 is already installed.
Package make-1:4.3-11.fc37.x86_64 is already installed.
Package rpcgen-1.4-10.fc37.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 2:20:36 ago on Wed 05 Jul 2023 06:05:04 AM EDT.
Package perl-CPAN-2.34-4.fc37.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
- Installing Parse::Yapp::Driver perl module
- Installing zlib-devel
Last metadata expiration check: 2:20:49 ago on Wed 05 Jul 2023 06:05:04 AM EDT.
Package zlib-devel-1.2.12-5.fc37.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
- Installing e2fsprogs-devel & heimdal-devel
Last metadata expiration check: 2:20:50 ago on Wed 05 Jul 2023 06:05:04 AM EDT.
Package e2fsprogs-devel-1.46.5-3.fc37.x86_64 is already installed.
Package heimdal-devel-7.8.0-5.fc37.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Compiling Greyhole VFS module for samba-4.17.8... 
  Downloading Greyhole source code
  Running 'configure'

Configuring Samba failed.
Hint : install the required dependencies. See step 3 in https://raw.githubusercontent.com/gboudreau/Greyhole/master/INSTALL

cat /usr/share/greyhole/vfs-build/samba-4.17.8/gh_vfs_build.log :
./configure --enable-debug --disable-symbol-versions --without-acl-support --without-ldap --without-ads --without-pam --without-ad-dc --disable-python --with-shared-modules=!vfs_snapper --without-json --without-libarchive --with-system-heimdalkrb5'

I ran the command in step 3, and I get the same results afterwards.

sudo yum -y install patch gcc python-devel gnutls-devel make rpcgen zlib-devel e2fsprogs-devel heimdal-devel
Last metadata expiration check: 2:31:28 ago on Wed 05 Jul 2023 06:05:04 AM EDT.
Package patch-2.7.6-17.fc37.x86_64 is already installed.
Package gcc-12.3.1-1.fc37.x86_64 is already installed.
Package python3-devel-3.11.4-1.fc37.x86_64 is already installed.
Package gnutls-devel-3.8.0-2.fc37.x86_64 is already installed.
Package make-1:4.3-11.fc37.x86_64 is already installed.
Package rpcgen-1.4-10.fc37.x86_64 is already installed.
Package zlib-devel-1.2.12-5.fc37.x86_64 is already installed.
Package e2fsprogs-devel-1.46.5-3.fc37.x86_64 is already installed.
Package heimdal-devel-7.8.0-5.fc37.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

The shares appear to work, however, I would like to determine 1) why I a getting the error and b) why the configure command is failing.

[tmorgenthaler@galactica docs]$ cat /etc/fedora-release 
Fedora release 37 (Thirty Seven)
[tmorgenthaler@galactica docs]$ sudo smbstatus

Samba version 4.17.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions