Fix a bug that task would fail when cgroup is not enabled
This commit is contained in:
Родитель
77567a7b0d
Коммит
d7023ec4d2
|
@ -587,6 +587,11 @@ namespace hpc
|
|||
"Modified user mapping logic",
|
||||
}
|
||||
},
|
||||
{ "2.3.4.0",
|
||||
{
|
||||
"Fixed a bug that task would fail when cgroup is not enabled",
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
return versionHistory;
|
||||
|
|
|
@ -29,5 +29,5 @@ if $CGInstalled; then
|
|||
cgexec -g "$group" sudo -H -E -u $userName env "PATH=$PATH" /bin/bash $runPath
|
||||
else
|
||||
/bin/bash $taskFolder/TestMutualTrust.sh "$taskId" "$taskFolder" "$userName" &&\
|
||||
/bin/bash sudo -H -E -u $userName env "PATH=$PATH" /bin/bash $runPath
|
||||
sudo -H -E -u $userName env "PATH=$PATH" /bin/bash $runPath
|
||||
fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче