hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject hadoop git commit: HADOOP-15802. start-build-env.sh creates an invalid /etc/sudoers.d/hadoop-build-${USER_ID} file entry. Contributed by Jon Boone.
Date Wed, 17 Oct 2018 01:14:53 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-3.1 7c40f9b37 -> ddd7da52c


HADOOP-15802. start-build-env.sh creates an invalid /etc/sudoers.d/hadoop-build-${USER_ID}
file entry. Contributed by Jon Boone.

(cherry picked from commit e3342a1abaff71823ebd952baf24a6143e711b99)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ddd7da52
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ddd7da52
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ddd7da52

Branch: refs/heads/branch-3.1
Commit: ddd7da52c982cb61a3d25c6c51d2635ddb80bde8
Parents: 7c40f9b
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Wed Oct 17 10:11:44 2018 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Wed Oct 17 10:14:49 2018 +0900

----------------------------------------------------------------------
 start-build-env.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/ddd7da52/start-build-env.sh
----------------------------------------------------------------------
diff --git a/start-build-env.sh b/start-build-env.sh
index 4da55af..6c8ddb33 100755
--- a/start-build-env.sh
+++ b/start-build-env.sh
@@ -61,7 +61,7 @@ docker build -t "hadoop-build-${USER_ID}" - <<UserSpecificDocker
 FROM hadoop-build
 RUN groupadd --non-unique -g ${GROUP_ID} ${USER_NAME}
 RUN useradd -g ${GROUP_ID} -u ${USER_ID} -k /root -m ${USER_NAME}
-RUN echo "${USER_NAME}\tALL=NOPASSWD: ALL" > "/etc/sudoers.d/hadoop-build-${USER_ID}"
+RUN echo -e "${USER_NAME}\tALL=NOPASSWD: ALL" > "/etc/sudoers.d/hadoop-build-${USER_ID}"
 ENV HOME /home/${USER_NAME}
 
 UserSpecificDocker


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message