diff mbox series

package/mosquitto: add mosquitto group

Message ID 24827_1662976661_631F0295_24827_299_14_6f9b848a35cb9647b133c662924b4d82cf759b19.1662976659.git.yann.morin@orange.com
State Accepted
Headers show
Series package/mosquitto: add mosquitto group | expand

Commit Message

Yann E. MORIN Sept. 12, 2022, 9:57 a.m. UTC
From: "Yann E. MORIN" <yann.morin@orange.com>

Since version 2.0.15, and upstream commit 71a90177d7b2 (Systemd: Add
mosquitto group ownership), mosquitto uses its own group rather than
the generic nobody group.

This means that mosauitto can now no longer start ona  systemd-based
system.

Change our mosquitto user definition to specify a mosquitto group.

Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Titouan Christophe <titouanchristophe@gmail.com>
Cc: Francois Perrad <fperrad@gmail.com>
---
 package/mosquitto/mosquitto.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Petazzoni Sept. 17, 2022, 8:38 a.m. UTC | #1
On Mon, 12 Sep 2022 11:57:39 +0200
<yann.morin@orange.com> wrote:

> From: "Yann E. MORIN" <yann.morin@orange.com>
> 
> Since version 2.0.15, and upstream commit 71a90177d7b2 (Systemd: Add
> mosquitto group ownership), mosquitto uses its own group rather than
> the generic nobody group.
> 
> This means that mosauitto can now no longer start ona  systemd-based
> system.
> 
> Change our mosquitto user definition to specify a mosquitto group.
> 
> Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
> Cc: Peter Korsgaard <peter@korsgaard.com>
> Cc: Titouan Christophe <titouanchristophe@gmail.com>
> Cc: Francois Perrad <fperrad@gmail.com>
> ---
>  package/mosquitto/mosquitto.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
Peter Korsgaard Sept. 21, 2022, 7:55 p.m. UTC | #2
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > On Mon, 12 Sep 2022 11:57:39 +0200
 > <yann.morin@orange.com> wrote:

 >> From: "Yann E. MORIN" <yann.morin@orange.com>
 >> 
 >> Since version 2.0.15, and upstream commit 71a90177d7b2 (Systemd: Add
 >> mosquitto group ownership), mosquitto uses its own group rather than
 >> the generic nobody group.
 >> 
 >> This means that mosauitto can now no longer start ona  systemd-based
 >> system.
 >> 
 >> Change our mosquitto user definition to specify a mosquitto group.
 >> 
 >> Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
 >> Cc: Peter Korsgaard <peter@korsgaard.com>
 >> Cc: Titouan Christophe <titouanchristophe@gmail.com>
 >> Cc: Francois Perrad <fperrad@gmail.com>
 >> ---
 >> package/mosquitto/mosquitto.mk | 2 +-
 >> 1 file changed, 1 insertion(+), 1 deletion(-)

 > Applied to master, thanks.

Committed to 2022.02.x, 2022.05.x and 2022.08.x, thanks.
diff mbox series

Patch

diff --git a/package/mosquitto/mosquitto.mk b/package/mosquitto/mosquitto.mk
index c47e61850b..12de2946b7 100644
--- a/package/mosquitto/mosquitto.mk
+++ b/package/mosquitto/mosquitto.mk
@@ -124,7 +124,7 @@  define MOSQUITTO_INSTALL_INIT_SYSTEMD
 endef
 
 define MOSQUITTO_USERS
-	mosquitto -1 nobody -1 * - - - Mosquitto user
+	mosquitto -1 mosquitto -1 * - - - Mosquitto user
 endef
 endif