| Summary: | typo in /etc/init.d/nfs for the freebsd-usbin 9.0 package | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Adeel <adeel_n> |
| Component: | FreeBSD | Assignee: | Gentoo/BSD Team <bsd+disabled> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | FreeBSD | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
(In reply to comment #0) > their is typo in the variable named ${exportsfile} in /etc/init.d/nfs which > starts mountd but doesn't actually allow anyone to mount the shares Fixed. > Additionally, there should be a comment in /etc/conf.d/nfs that to use the > ZFS sharenfs property field, the user should add /etc/zfs/exports to the > exportsfile variable list, e.g. exportsfile="/etc/zfs/exports /etc/exports" We really need it? "zfs share" should handle it. > I also recall noticing that /etc/exports wasn't created by default, and nfs > would error out. It wasn't the most obvious error, so having a quick test in > the init script would be useful. $exportsfile can have multiple files and you can even change the variable to other values than "/etc/exports" so the check can cause unexpected failure. |
their is typo in the variable named ${exportsfile} in /etc/init.d/nfs which starts mountd but doesn't actually allow anyone to mount the shares Additionally, there should be a comment in /etc/conf.d/nfs that to use the ZFS sharenfs property field, the user should add /etc/zfs/exports to the exportsfile variable list, e.g. exportsfile="/etc/zfs/exports /etc/exports" I also recall noticing that /etc/exports wasn't created by default, and nfs would error out. It wasn't the most obvious error, so having a quick test in the init script would be useful.