activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APLO-8) apollo-broker-service should avoid sudo if already the right user.
Date Thu, 19 May 2011 13:10:47 GMT

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

Hiram Chirino commented on APLO-8:
----------------------------------

Hi Lionel,

I've applied the patch you submitted on the mailing list so that should be take care of in
the next release.

> apollo-broker-service should avoid sudo if already the right user.
> ------------------------------------------------------------------
>
>                 Key: APLO-8
>                 URL: https://issues.apache.org/jira/browse/APLO-8
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>          Components: apollo-cli, apollo-distro
>    Affects Versions: 1.0-beta2
>            Reporter: Hiram Chirino
>            Assignee: Hiram Chirino
>             Fix For: 1.0-beta3
>
>
> Lionel Cons posted to the dev list:
> {quote}
> If the $APOLLO_USER runs apollo-service-broker, the script will
> attempt to use sudo anyway.
> I would suggest to replace:
>  if [ -z "$APOLLO_USER" ] ; then
> by something like:
>  if [ -z "$APOLLO_USER" -a `id -un` != "$APOLLO_USER" ] ; then
> {quote}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message