ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19132) When disabling Kerberos, rm should be used when deleting the Ambari Server keytab file(s)
Date Mon, 19 Dec 2016 19:09:58 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-19132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15762026#comment-15762026
] 

Hudson commented on AMBARI-19132:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #554 (See [https://builds.apache.org/job/Ambari-branch-2.5/554/])
AMBARI-19132. Use "rm" to delete Ambari Server keytab files when (rlevas: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=435006d4b763b626336a92e2dd43adc72c6a7c10])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/utils/ShellCommandUtil.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/utils/TestShellCommandUtil.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/DestroyPrincipalsServerAction.java


> When disabling Kerberos, rm should be used when deleting the Ambari Server keytab file(s)
> -----------------------------------------------------------------------------------------
>
>                 Key: AMBARI-19132
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19132
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Robert Levas
>            Assignee: Doroszlai, Attila
>              Labels: kerberos, sudo
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: AMBARI-19132_branch-2.5.patch, AMBARI-19132_trunk.patch
>
>
> When disabling Kerberos, {{rm}} should be used when deleting the Ambari Server keytab
file(s) rather than the Java {{java.io.File#delete}} method. This is to allow for the file
to be removed properly when Ambari is not executed as _root_.  
> Currently the Ambari server keytab files may not be removed due to permission issues.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message