I am trying to get glusterfs-3.11.1_2 working on 11.1-RELEASE and noticed some errors in the logs. The scripts in /var/db/glusterd/hooks/1/ all use #!/bin/bash when the default installation for FreeBSD is /usr/local/bin/bash. The package also does not list bash as a dependency. I have created a symlink for /bin/bash as a work-around.
Thanks for capturing and reporting this... I believe the correct way to handle it is to capture the scripts in the SHEBANG_FILES section in the Makefile before they are installed into the filesystem. I will add this to the to do list with the next version bump, and update this PR accordingly.
Hello Markham Feel free to review, test, and comment on; https://reviews.freebsd.org/D13010 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223548 Kind Regards Craig Butler
The latest version of the port (8.0) fixes some of this, but I noticed some files missing from the SHEBANG_FILES list. extras/hook-scripts/start/post/S29CTDBsetup.sh extras/hook-scripts/start/post/S30samba-start.sh
This can probably be closed now.