Rod Allen created AMQ-9690:
------------------------------
Summary: activemq always creates the data directory as root when
run as an init.d service
Key: AMQ-9690
URL: https://issues.apache.org/jira/browse/AMQ-9690
Project: ActiveMQ Classic
Issue Type: Bug
Components: Distribution
Affects Versions: 5.18.7, 6.1.6
Reporter: Rod Allen
when following instructions from
[https://activemq.apache.org/components/classic/documentation/unix-shell-script]
to create an init.d or systemd script, the function in the main activemq will
create the data directory as the root user even if user is specified in the
env/setenv and copied to /etc/default/activemq. This can be seen on any RHEL 8
like Linux such as Rocky Linux 8. Follow the steps in the linked article,
delete the $ACTIVEMQ_DATA directory and the service script will create the
directory as root but cannot be written to as the non-root user so the service
cannot be stopped. Workaround of course is to just manually create the data
directory.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact