Package: rabbitmq-server
Version: 4.0.5-6+deb13u2
Severity: important
X-Debbugs-Cc: [email protected]
Dear Maintainer,
After installing rabbitmq-server I ran to following problem:
rabbitmqctl
nologin: invalid option -- 's'
Try 'nologin --help' for more information.
I could not run rabbitmqctl at all.
I execute the command as user root (uid 0).
I noticed that the /usr/sbin/rabbitmqctl script is actually calling
/usr/lib/rabbitmq/bin/rabbitmqctl script.
When executing the target script, the command executes succesfully.
Only the wrapper fails.
Something seems to have changed in the beheviour of "su", since after
changing the commandline
elif [ `id -u` = 0 ] ; then
su rabbitmq -s /bin/sh -c "/usr/lib/rabbitmq/bin/${SCRIPT} ${CMDLINE}"
to
sudo -u rabbitmq -s /bin/sh -c "/usr/lib/rabbitmq/bin/${SCRIPT} ${CMDLINE}"
the wrapper works.
-- System Information:
Debian Release: forky/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.69+deb13progress8u1-amd64 (SMP w/128 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to
C.UTF-8), LANGUAGE=C.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages rabbitmq-server depends on:
ii adduser 3.152
ii erlang-base 1:27.3.4.1+dfsg-1+deb13u1
ii erlang-crypto 1:27.3.4.1+dfsg-1+deb13u1
ii erlang-eldap 1:27.3.4.1+dfsg-1+deb13u1
ii erlang-inets 1:27.3.4.1+dfsg-1+deb13u1
ii erlang-mnesia 1:27.3.4.1+dfsg-1+deb13u1
ii erlang-os-mon 1:27.3.4.1+dfsg-1+deb13u1
ii erlang-parsetools 1:27.3.4.1+dfsg-1+deb13u1
ii erlang-public-key 1:27.3.4.1+dfsg-1+deb13u1
ii erlang-runtime-tools 1:27.3.4.1+dfsg-1+deb13u1
ii erlang-ssl 1:27.3.4.1+dfsg-1+deb13u1
ii erlang-syntax-tools 1:27.3.4.1+dfsg-1+deb13u1
ii erlang-tools 1:27.3.4.1+dfsg-1+deb13u1
ii erlang-xmerl 1:27.3.4.1+dfsg-1+deb13u1
ii openssl 3.5.5-1~deb13u2
ii python3 3.13.5-1
ii socat 1.8.0.3-1
Versions of packages rabbitmq-server recommends:
ii logrotate 3.22.0-1
rabbitmq-server suggests no packages.
-- no debconf information