non port: net/rabbitmq/files/rabbitmq.in |
Number of commits found: 26 |
Monday, 31 Jul 2023
|
09:27 Jean-Sébastien Pédron (dumbbell)
net/rabbitmq: Fix `rabbitmq` rc.d script to use `%%_ERLANG_LIB%%`
[Why]
In commit c9033971719dc098b34276f11b8e5a5e22b966fd, the variable was
renamed from `ERLANG_LIB` to `_ERLANG_LIB`. However the rc.d script was
not updated to reflect that change.
Therefore the script didn't use the expected version of Erlang. This
meant that it could use `lang/erlang` if it was installed (which could
be incompatible) or not start at all.
[How]
The rc.d script is simply updated to use the new variable name. The port
revision is bumped to note the change.
PR: 271269
Reported by: Miroslav Lachman <000.fbsd@quip.cz>
eaf122a |
Saturday, 18 Feb 2023
|
08:10 Jimmy Olgeni (olgeni)
net/rabbitmq: rc.d improvements
This commit creates a separate directory at /var/run/rabbitmq to
host the RabbitMQ pid file. Previously, the pid file was not being
created properly (it was empty) and this was causing issues with
the process of waiting for pids (as the pid file existed, but had
no value and was considered "garbage"). With this change the pid
file is created with the correct value, enabling the process of
waiting for pids to complete successfully; now the startup script
returns exit code 0.
Additionally, this commit exports the variables RABBITMQ_HOME,
RABBITMQ_LOG_BASE, and RABBITMQ_PID_FILE so that the RabbitMQ process
can properly locate the pid file.
These changes resolve PR 264062.
PR: 264062
Reported by: FiLiS <freebsdbugs@filis.org>
f39b219 |
Monday, 2 Aug 2021
|
09:52 Dave Cottlehuber (dch)
net/rabbitmq: update to 3.9.1
Security: CVE-2021-22116
Sponsored by: SkunkWerks, GmbH
MFH: 2021Q3
7082af4 |
Tuesday, 6 Apr 2021
|
14:31 Mathieu Arnold (mat)
all: Remove all other $FreeBSD keywords.
135fdee |
Friday, 23 Mar 2018
|
13:51 olgeni
Update net/rabbitmq to version 3.7.4.
PR: 226603
Submitted by: David King
|
Wednesday, 7 Mar 2018
|
11:10 olgeni
net/rabbitmq: recursively fix ownership of RABBITMQ_LOG_BASE on startup.
Submitted by: Jeff Walter
MFH: 2018Q1
|
Thursday, 25 May 2017
|
13:34 olgeni
Update net/rabbitmq to version 3.6.10.
- Add support for creating RABBITMQ_LOG_BASE.
PR: 219452 (+ version bump)
Submitted by: Reshad Patuck
|
Thursday, 26 Jan 2017
|
09:41 olgeni
net/rabbitmq: add full path to the daemon(8) call in rc script.
This allows the script to work in crontab, where /usr/sbin is not
in PATH.
Submitted by: Dmitriy Simakov
MFH: 2017Q1
|
Monday, 21 Nov 2016
|
23:14 olgeni
Respect RABBITMQ_LOG_BASE setting in rabbitmq-env.conf, if present.
|
Saturday, 23 Apr 2016
|
15:12 olgeni
Make sure that the Erlang cookie file has mode 600 before
starting, else RabbitMQ will not run.
MFH: 2016Q2
|
Friday, 12 Feb 2016
|
10:48 olgeni
Make sure that /var/log/rabbitmq has the correct owner.
|
Wednesday, 30 Dec 2015
|
22:44 olgeni
Avoid calling "rabbitmqctl status" in a loop to make sure that RabbitMQ is
started.
"rabbitmqctl wait" alone should suffice, and the loop seems to cause some
kind of race condition that causes a segfault in the Erlang VM.
RabbitMQ would start anyway, but users would get a segmentation fault
message on the console.
We also wait on daemon(8)'s pid to make sure that restarts are synchronized
(i.e. daemon(8) is stopped before starting it again with the same pidfile).
PR: 204147
Submitted by: elofu17@hotmail.com
|
Monday, 27 Jul 2015
|
13:04 olgeni
Upgrade to version 3.5.4.
- Make sure that all content of /var/db/rabbitmq is owned by rabbitmq
at startup.
- Only set HOME when actually starting the rabbitmq process.
|
Saturday, 31 Jan 2015
|
16:19 olgeni
Startup script fixes:
- Avoid race condition in startup. Use daemon(8) rather than "rabbitmqctl
status" to safely retrieve the pid.
- Make sure that the Erlang cookie permissions are correct before starting
the RabbitMQ node (using rabbitmqctl as root could create a read-only
cookie).
- Make sure that the RabbitMQ application is actually running when
rabbitmq_start is done. Remove the now useless "wait" command from
extra_commands.
|
Thursday, 6 Feb 2014
|
15:00 olgeni
Add a separate "wait" command to the startup script, to be used
with automated deployment systems to ensure that RabbitMQ is actually
available.
The pid file may exist, but it can still be empty when $rabbitmq_ctl
is executed. In this case the script would not wait for anything
and produce some weird output on the console.
PR: ports/185962 (follow up)
|
Tuesday, 21 Jan 2014
|
15:40 olgeni
- Export HOME before starting RabbitMQ node.
- After starting, wait for RabbitMQ to be available.
PR: ports/185962
Submitted by: Anes Mukhametov <anes@anes.su>
|
Friday, 10 Jan 2014
|
09:29 olgeni
Reset ERL_LIBS before running RabbitMQ.
ERL_LIBS was inherited from the current environment, and it may
contain paths to older versions of amqp_client, which may not be
compatible with the current RabbitMQ management plugin.
As a result, RabbitMQ would not start when the management plugin was
enabled, with this error:
{could_not_start,amqp_client,
{{supervisor_data,{invalid_strategy,simple_one_for_one_terminate}},
{amqp_client,start,[normal,[]]}}}
|
Saturday, 14 Jan 2012
|
08:57 dougb
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
|
Wednesday, 31 Aug 2011
|
12:36 crees
Make rabbitmq wait for pid after stopping; stops restarting problems.
PR: ports/160027
Submitted by: Nicolas Szalay <nico@rottenbytes.info>
Approved by: Phillip Neumann <pneumann@gmail.com> (maintainer)
|
Wednesday, 10 Aug 2011
|
19:00 swills
- Update to 2.5.1
PR: ports/159364
Submitted by: Andrew <andrew@flarn.com>
Approved by: Phillip Neumann <pneumann@gmail.com> (maintainer) (with changes)
|
Saturday, 27 Mar 2010
|
00:15 dougb
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
|
Saturday, 4 Jul 2009
|
12:00 bms
fix rotate_logs and status sub-commands in rc.d script;
the shell functions use the wrong quoting.
|
Tuesday, 30 Dec 2008
|
10:57 miwi
- Update to 1.5.0
PR: 129751
Submitted by: "Phillip N." <pneumann@gmail.com> (maintainer)
|
Wednesday, 29 Oct 2008
|
01:01 wxs
- Add UID and GID entries for net/rabbitmq.
- Convince RC script to use rabbitmq user.
PR: ports/128108
Submitted by: Nick Barkas <snb@threerings.net>
Approved by: Phillip N. <pneumann@gmail.com> (maintainer)
|
Wednesday, 3 Sep 2008
|
15:51 amdmi3
- Change rabbitmq to rabbitmq_server in TARGET_DIR to match rabbitmq install
docs recommendation
- Fix rcscript
- Create var/etc dirs on package installation and correctly dirrmtry them on
deinstallation
PR: 127033
Submitted by: Barry Pederson <bp at barryp dot org>
Approved by: "Phillip N." <pneumann at gmail dot com> (maintainer)
|
Monday, 14 Jul 2008
|
01:51 vanilla
Add rabbitmq 1.3.0, rabbitMQ is an implementation of AMQP.
PR: ports/125553
Submitted by: Phillip Neumann <pneumann at gmail.com>
|
Number of commits found: 26 |