You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Velmurugan Periasamy (JIRA)" <ji...@apache.org> on 2017/02/03 22:44:51 UTC

[jira] [Updated] (RANGER-1317) There are two defects in install scripts for ranger usersync process

     [ https://issues.apache.org/jira/browse/RANGER-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Velmurugan Periasamy updated RANGER-1317:
-----------------------------------------
    Fix Version/s: 0.7.0

> There are two defects in install scripts for ranger usersync process
> --------------------------------------------------------------------
>
>                 Key: RANGER-1317
>                 URL: https://issues.apache.org/jira/browse/RANGER-1317
>             Project: Ranger
>          Issue Type: Bug
>          Components: usersync
>            Reporter: Qiang Zhang
>            Assignee: Qiang Zhang
>              Labels: patch
>             Fix For: 0.7.0
>
>         Attachments: 0001-RANGER-1317-There-are-two-defects-in-install-scripts.patch
>
>
> There are two defects in install scripts for ranger usersync process:
> 1. The rangerBaseDirName variable equals to /etc/ranger when we install the ranger usersync process. So the usersync can only be installed in /etc/ranger. As a result, the installer can't plan the installation path according to their needs.In some system environment, it is not reasonable. 
> There is a configuration attribute to resolve the issue in ranger-admin. Similarly, the install scripts for  ranger usersync process should also provide configuration attributes to solve this issue.
> 2. The usersyncBaseDirName variable equals to usersync. The install program uses following code to create directorys.
> dirList = [ rangerBaseDirName, usersyncBaseDirName, confFolderName, certFolderName ]
> In above list other variables are absolute value of the path, but usersyncBaseDirName is not. Above list should be modified as following:
> dirList = [ rangerBaseDirName, usersyncBaseDirFullName, confFolderName, certFolderName ]
> The following code should be modified also.
> fixPermList = [ ".", usersyncBaseDirName, confFolderName, certFolderName ]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)