Quanlong Huang has posted comments on this change. ( http://gerrit.cloudera.org:8080/21994 )
Change subject: IMPALA-13064: Install service for linux packaging ...................................................................... Patch Set 4: (1 comment) http://gerrit.cloudera.org:8080/#/c/21994/4/package/postinst File package/postinst: http://gerrit.cloudera.org:8080/#/c/21994/4/package/postinst@25 PS4, Line 25: id -u ${IMPALA_USER} &> /dev/null || useradd -G ${IMPALA_GROUP} ${IMPALA_USER} Tried install the RPM on CentOS7 and saw this failure: useradd: group impala exists - if you want to add this user to that group, use -g. warning: %post(impala-4.5.0_SNAPSHOT-1.x86_64) scriptlet failed, exit status 9 Non-fatal POSTIN scriptlet failure in rpm package impala-4.5.0_SNAPSHOT-1.x86_64 We need an additional -N option to avoid useradd creating the group. -- To view, visit http://gerrit.cloudera.org:8080/21994 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: If202e91e4b05adbc96cd5c556654901d2f7ca9fe Gerrit-Change-Number: 21994 Gerrit-PatchSet: 4 Gerrit-Owner: Xiang Yang <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Xiang Yang <[email protected]> Gerrit-Reviewer: Zihao Ye <[email protected]> Gerrit-Comment-Date: Mon, 16 Dec 2024 08:54:12 +0000 Gerrit-HasComments: Yes
