qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7132) qpid-server does not properly quote dirname $0 argument
Date Wed, 09 Mar 2016 09:13:41 GMT

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

ASF subversion and git services commented on QPID-7132:
-------------------------------------------------------

Commit 1734200 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1734200 ]

QPID-7132: [Java Broker] Fix quoting of argument to dirname in qpid-server

* Also consistently brace variable references throughout the script.

> qpid-server does not properly quote dirname $0 argument
> -------------------------------------------------------
>
>                 Key: QPID-7132
>                 URL: https://issues.apache.org/jira/browse/QPID-7132
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Keith Wall
>            Priority: Minor
>             Fix For: qpid-java-6.1
>
>
> The qpid-server script uses {{dirname}} to determine the default value of QPID_HOME.
 If the qpid-server script is invoked with a path, and that path includes a space a warning
is seen and dirname will fail.  If the user has not set QPID_HOME externally, Qpid will fail
to start.
> {noformat}
> 2016-03-08 15:12:44,008         DEBUG [UNKNOWN node2(-1)] o.a.q.t.u.SpawnedBrokerHolder
Spawning broker with options: BrokerOptions{_configurationStoreLocation='/tmp/qpid-work-org.apache.qpid.server.store.berkeleydb.replication.MultiNodeTest.testClusterCannotStartWithIntruder-45-6310786915919813620/config.json',
_configurationStoreType='JSON', _initialConfigurationLocation='null', _managementMode=false,
_managementModeQuiesceVhosts=false, _managementModeHttpPortOverride=0, _overwriteConfigurationStore=false,
_configProperties={qpid.work_dir=/tmp/qpid-work-org.apache.qpid.server.store.berkeleydb.replication.MultiNodeTest.testClusterCannotStartWithIntruder-45-6310786915919813620,
test.port=10000, test.hport=0}, _startupLoggedToSystemOut=false, _initialSystemProperties='null'}
jvmOptions: {test.port=0, qpid.globalAddressDomains=[], test.amqp_port_protocols=["AMQP_0_8","AMQP_0_9","AMQP_0_9_1","AMQP_0_10"],
test.port.ssl=0, virtualhostnode.type=BDB, virtualhostnode.context.blueprint={"type":"ProvidedStore","globalAddressDomains":"${qpid.globalAddressDomains}"},
test.hport=0, test.port.alt.ssl=0, test.port.alt=0} environmentSettings: {}
> 2016-03-08 15:12:44,687         INFO  [UNKNOWN node2(-1)] o.a.q.t.u.SpawnedBrokerHolder
PID 26958
> 2016-03-08 15:12:44,687         INFO  [BROKER-45] o.a.q.t.u.SpawnedBrokerHolder dirname:
extra operand `1.7'
> 2016-03-08 15:12:44,688         INFO  [BROKER-45] o.a.q.t.u.SpawnedBrokerHolder Try `dirname
--help' for more information.
> 2016-03-08 15:12:44,688         INFO  [BROKER-45] o.a.q.t.u.SpawnedBrokerHolder Setting
QPID_WORK to /home/jenkins as default
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message