Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Commit 7edc0ee

Browse files
committed
allow idmapd to be used with NFS_VERSION=3
1 parent b9c775e commit 7edc0ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77
## [2.1.1] - unreleased
8-
9-
### Fixed
8+
## Fixed
9+
* `idmapd` was not able to be started when `NFS_VERSION=3`
1010
* `idmapd` isn't required for Kerberos, so don't force the user to provide `idmapd.conf`
1111

1212
## [2.1.0] - 2019-10-31
@@ -53,4 +53,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
5353
* Fixed detection of built-in kernel modules ([#4](https://github.com/ehough/docker-nfs-server/pull/4))
5454

5555
## [1.0.0] - 2018-02-05
56-
Initial release.
56+
Initial release.

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ is_nfs3_enabled() {
256256

257257
is_idmapd_enabled() {
258258

259-
if [[ "$(get_requested_nfs_version)" != '3' && -f "$PATH_FILE_ETC_IDMAPD_CONF" ]]; then
259+
if [[ -f "$PATH_FILE_ETC_IDMAPD_CONF" ]]; then
260260
return 0
261261
fi
262262

0 commit comments

Comments
 (0)