Bug#983429: mosquitto: /run/mosquitto is on a tmpfs and should be created dynamically

2021-04-26 Thread Andreas Beckmann
Followup-For: Bug #983429 Hi, some recent changes made the mosquitto installation fail under piuparts (or any system where the service is not being started automatically) because /run/mosquitto is missing when the postinst wants to change the ownership there. Setting up mosquitto (2.0.10-5) ..

Bug#983429: mosquitto: /run/mosquitto is on a tmpfs and should be created dynamically

2021-02-28 Thread Alexandre Detiste
Hi, I tried to find old discussion about this to plead my case, but it has been since integrated in the policy: > 9.1.4 Packages must not include files or directories under /run, or under the > older /var/run and /var/lock paths. Creating only a runtime is the way to go. Greetings,

Bug#983429: mosquitto: /run/mosquitto is on a tmpfs and should be created dynamically

2021-02-25 Thread Roger Light
The systemd unit file should recreate the folder each time the service is started. It uses /var/run/mosquitto instead of /run/mosquitto, but that should work through the /var/run symlink. Does this definitely not work for you? On Wed, 24 Feb 2021 at 01:15, Alexandre Detiste wrote: > > Package: m

Bug#983429: mosquitto: /run/mosquitto is on a tmpfs and should be created dynamically

2021-02-23 Thread Alexandre Detiste
Package: mosquitto Version: 2.0.7-3 Severity: minor /run/mosquitto shows up in cruft-ng report as existing in dpkg database but missing from the filesystem, if service has been disabled before boot. please create /run/mosquitto dynamically on boot fix_permissions() in postinst seams not enough.