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

Commit 8319514

Browse files
committed
don't start rpc.idmapd unless NFS version 4 is in use
1 parent 2c08870 commit 8319514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ boot_main_rpcbind() {
456456

457457
boot_main_idmapd() {
458458

459-
if [[ -f "$PATH_FILE_ETC_IDMAPD_CONF" ]]; then
459+
if [[ "$(get_reqd_nfs_version)" != '3' && -f "$PATH_FILE_ETC_IDMAPD_CONF" ]]; then
460460
log 'starting idmapd'
461461
$PATH_BIN_IDMAPD -v -S
462462
stop_on_failure 'idmapd failed'

0 commit comments

Comments
 (0)