Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Lustre 2.4.0
-
None
-
3
-
7471
Description
sanity-sec should not depend on UID
ID0=${ID0:-500}
ID1=${ID1:-501}
USER0=`cat /etc/passwd|grep :$ID0:$ID0:|cut -d: -f1`
USER1=`cat /etc/passwd|grep :$ID1:$ID1:|cut -d: -f1`
[ -z "$USER0" ] && \
echo "Please add user0 (uid=$ID0 gid=$ID0)! Skip sanity-sec" && exit 0
[ -z "$USER1" ] && \
echo "Please add user1 (uid=$ID1 gid=$ID1)! Skip sanity-sec" && exit 0
check_and_setup_lustre
sec_cleanup() {
if [ "$I_MOUNTED" = "yes" ]; then
cleanupall -f || error "sec_cleanup"
fi
}
This test will not run on system with the same username but different uid such as Rosso
https://maloo.whamcloud.com/test_sets/7e7d3d52-9212-11e2-b7d5-52540035b04c