:: [devuan-dev] bug#628: marked as don…
Pàgina inicial
Delete this message
Reply to this message
Autor: Devuan bug Tracking System
Data:  
A: Mark Hindley
Assumpte: [devuan-dev] bug#628: marked as done (mosquitto: unable to open pidfile for writing - missing directory /run/mosquitto)
Your message dated Wed, 13 Sep 2023 14:42:02 +0100
with message-id <ZQG8Kudia2bJ+Hia@???>
and subject line Fixed in Debian #993048
has caused the Devuan bug report #628,
regarding mosquitto: unable to open pidfile for writing - missing directory /run/mosquitto
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@???
immediately.)


--
628: https://bugs.devuan.org/cgi/bugreport.cgi?bug=628
Devuan Bug Tracking System
Contact owner@??? with problems
Package: mosquitto
Version: 2.0.11-1
Severity: normal

The init script fails with:

Starting network daemon:: mosquitto
start-stop-daemon: unable to open pidfile '/run/mosquitto/mosquitto.pid' for writing (No such file or directory)
start-stop-daemon: child returned error exit status 2

Apparently, nobody creates directory /run/mosquitto.

Adding the following lines in /etc/init.d/mosquitto solves the problem:
mkdir -m 740 -p /run/mosquitto
chown mosquitto /run/mosquitto

-- System Information:
Distributor ID:    Devuan
Description:    Devuan GNU/Linux 4 (chimaera)
Release:    4
Codename:    chimaera
Architecture: x86_64


Kernel: Linux 5.10.0-9-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages mosquitto depends on:
ii  adduser                    3.118
ii  libc6                      2.31-13+deb11u2
ii  libcjson1                  1.7.14-1
ii  libdlt2                    2.18.6-1
ii  libelogind0 [libsystemd0]  246.10-2
ii  libmosquitto1              2.0.11-1
ii  libssl1.1                  1.1.1k-1+deb11u1
ii  libwebsockets16            4.0.20-2
ii  libwrap0                   7.6.q-31
ii  lsb-base                   11.1.0


mosquitto recommends no packages.

Versions of packages mosquitto suggests:
ii apparmor 2.13.6-10

-- no debconf information
Version: 2.0.17-1