Dear maintainers,
can you please apply the following patch to the mosquitto init script?
I fixed the problem with the PID file and made the code formatting more
consistent.
The PID file cannot be created directly in /run as sergio suggested
because mosquitto has no root privileges.
Thank
I believe the pidfile should be moved to the /run directly as this done
for others.
--- mosquitto.orig 2021-10-16 20:12:03.825565077 +0300
+++ mosquitto 2021-10-16 20:11:06.149857678 +0300
@@ -20,7 +20,7 @@
set -e
-PIDFILE=/run/mosquitto/mosquitto.pid
+PIDFILE=/run/mosquitto.pid
Package: mosquitto
Version: 2.0.11-1
Severity: important
Tags: patch
Dear Maintainer,
With the 2.0 upgrade, mosquitto now writes a pid file on it's own as the
mosquitto user. This breaks the init script as the run directory is root
writable, and on top of that the init script uses s-s-d to also
3 matches
Mail list logo