ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sumit Mohanty (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-5977) startRrdcached.sh su command broken for users with no shell
Date Tue, 08 Jul 2014 05:22:35 GMT

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

Sumit Mohanty commented on AMBARI-5977:
---------------------------------------

[~swagle], can you take a look at the patch?

> startRrdcached.sh su command broken for users with no shell
> -----------------------------------------------------------
>
>                 Key: AMBARI-5977
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5977
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>         Environment: RedHat Linux 6.4
>            Reporter: Shawn Kern
>            Assignee: Siddharth Wagle
>            Priority: Minor
>              Labels: easyfix, patch
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-5977.patch, startRrdcached.sh.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Line 39 of startRrdcached.sh will not work properly if the GMETAD_USER has its shell
set to /sbin/nologin. This can be resolved in one of two ways:
> 1) remove the - after the su command on line 39
> 2) add "-s /bin/bash" after the GMETAD_USER variable on line 39



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message