Whamcloud - gitweb
LU-17465 nodemap: change squash default value to 65534
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 23 Jan 2024 09:07:25 +0000 (10:07 +0100)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 3 Mar 2024 10:25:24 +0000 (10:25 +0000)
commitb0873202f6ad61b7a62547a13edc49cfea7be742
treee67866119f48d8e14a83bf6b6647d17435c1d3cc
parenta0365f275fb966b516bd62fa5ea5688e1a5fdf91
LU-17465 nodemap: change squash default value to 65534

Initially, default values for nodemap.squash_uid/gid/projid were set
to 99, to match user 'nobody'. But on newer systems, nobody has
changed to 65534 and 99 no longer exists.
It is safe to use 65534 in all cases, as even on older systems it
exists and corresponds to 'nfsnobody'.

Lustre-change: https://review.whamcloud.com/53802
Lustre-commit: d4927da410525db5f0524d618da47a17fe9c7835

Test-Parameters: testlist=sanity env=ONLY=432 serverversion=EXA5
Test-Parameters: testlist=sanity env=ONLY=432 clientversion=EXA5
Test-Parameters: testlist=sanity-quota env=ONLY=75 serverversion=EXA5
Test-Parameters: testlist=sanity-quota env=ONLY=75 clientversion=EXA5
Test-Parameters: testlist=sanity-selinux env=ONLY=21 serverversion=EXA5
Test-Parameters: testlist=sanity-selinux env=ONLY=21 clientversion=EXA5
Test-Parameters: testlist=sanity-sec env=ONLY="7 8 9 10 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 32 33 34 35 36 55 61 64" serverversion=EXA5
Test-Parameters: testlist=sanity-sec env=ONLY="7 8 9 10 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 32 33 34 35 36 55 61 64" clientversion=EXA5
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I2e20fda0fdc0d5bfdf964a890bfbd0b54b943cf4
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53777
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/ptlrpc/nodemap_internal.h
lustre/tests/cfg/local.sh
lustre/tests/sanity-sec.sh