Created attachment 202448 [details] Before changing rc script To support the ability to have replicated volumes auto mount on boot, glusterd should start up before the system starts mounting late filessystems. In `/usr/local/etc/rc.d/glusterd` Change: ``` # PROVIDE: glusterd # REQUIRE: LOGIN # KEYWORD: shutdown ``` To: ``` # PROVIDE: glusterd # BEFORE: mountlate # REQUIRE: NETWORKING # KEYWORD: shutdown ``` For context, `/etc/fstab` has (example): ``` localhost:replicated /path/to/replicated fusefs rw,_netdev,backupvolfile-server=host1:host2:host3,mountprog=/usr/local/sbin/mount_glusterfs,late 0 0 ```
Created attachment 202449 [details] After changing rc script
Folks, please change maintainership of the port.
Created attachment 206744 [details] Unified diff to fix the mentioned issue Created patch to fix the problem.
Thank you for the report and patch Daniel ^Triage: Assign myself to take care of the maintainership reset (comment 2) and open issues (for glusterfs) re-triage
A commit references this bug: Author: flo Date: Wed Jul 29 20:34:01 UTC 2020 New revision: 543674 URL: https://svnweb.freebsd.org/changeset/ports/543674 Log: Update to 8.0, this is a collaborative effort between Daniel Morante and myself. - update to 8.0 - make it possible to mount gluster volumes on boot [1] - reset maintainer [1], I would have set it to ports@ but Daniel volunteered to maintain the port - add pkg-message to point out that procfs is required for some operations like "gluster volume status" which is also required for self healing. [2] This version works although I still see the same memory leak as with the 3.X series. PR: 236112 [1], 223671 [2] Submitted by: Daniel Morante <daniel@morante.net>, flo Obtained from: https://github.com/tuaris/freebsd-glusterfs7 Differential Revision: D25037 Changes: head/net/glusterfs/Makefile head/net/glusterfs/distinfo head/net/glusterfs/files/glusterd.in head/net/glusterfs/files/patch-configure head/net/glusterfs/files/patch-configure.ac head/net/glusterfs/files/patch-contrib_fuse-lib_mount.c head/net/glusterfs/files/patch-extras_Makefile.in head/net/glusterfs/files/patch-libglusterfs_src_common-utils.c head/net/glusterfs/files/patch-libglusterfs_src_syscall.c head/net/glusterfs/files/patch-xlators_mgmt_glusterd_src_Makefile.am head/net/glusterfs/pkg-message head/net/glusterfs/pkg-plist
Committed. Thanks.
^Triage: Assign to committer that resolved