[Bug 236112] net/glusterfs startup should happen before mountlate
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Feb 28 18:45:17 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236112
Bug ID: 236112
Summary: net/glusterfs startup should happen before mountlate
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: daniel at morante.net
CC: craig001 at lerwick.hopto.org
CC: craig001 at lerwick.hopto.org
Flags: maintainer-feedback?(craig001 at lerwick.hopto.org)
Created attachment 202448
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202448&action=edit
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
```
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list