[ https://issues.apache.org/jira/browse/RANGER-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
peng.jianhua updated RANGER-1856: --------------------------------- Attachment: 0001-RANGER-1856-Installation-and-access-logic-are-incons.patch > Installation and access logic are inconsistent for the pid of kms program. > Like security admin, they should be consistent. > -------------------------------------------------------------------------------------------------------------------------- > > Key: RANGER-1856 > URL: https://issues.apache.org/jira/browse/RANGER-1856 > Project: Ranger > Issue Type: Bug > Components: kms > Reporter: peng.jianhua > Assignee: peng.jianhua > Labels: patch > Attachments: > 0001-RANGER-1856-Installation-and-access-logic-are-incons.patch > > > The directory for the kms pid is constant path in installer. > {code} > pidFolderName='/var/run/ranger_kms' > if [ ! -d "${pidFolderName}" ]; then > mkdir -p "${pidFolderName}" > fi > {code} > The directory for the kms pid is configurable in ranger-kms and > ranger-kms-initd. > {code} > if [ -z "${RANGER_KMS_PID_DIR_PATH}" ] > then > RANGER_KMS_PID_DIR_PATH=/var/run/ranger_kms > fi > if [ ! -d "${RANGER_KMS_PID_DIR_PATH}" ] > then > mkdir -p $RANGER_KMS_PID_DIR_PATH > chmod 660 $RANGER_KMS_PID_DIR_PATH > fi > pidf=${RANGER_KMS_PID_DIR_PATH}/${RANGER_KMS_PID_NAME} > {code} > The directory for the kms pid can be configured in install.properties. > {code} > #PID file path > RANGER_KMS_PID_DIR_PATH=/var/run/ranger_kms > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)