One day I'll attach a patch when I say I am.
From 67c3d7fb00b2e538d19eaa354afa51efe44dd7bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= <nabijaczlew...@nabijaczleweli.xyz> Date: Wed, 1 Mar 2023 14:51:03 +0100 Subject: [PATCH] Remove mosquitto UID and GID on purge X-Mutt-PGP: OS
--- debian/mosquitto.postrm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/mosquitto.postrm b/debian/mosquitto.postrm index 17052329..ac5a13c4 100644 --- a/debian/mosquitto.postrm +++ b/debian/mosquitto.postrm @@ -19,6 +19,8 @@ case "$1" in if [ -d /run/mosquitto ]; then rmdir --ignore-fail-on-non-empty /run/mosquitto fi + deluser --quiet --system mosquitto || : + delgroup --quiet --system mosquitto || : APP_PROFILE="usr.sbin.mosquitto" rm -f /etc/apparmor.d/disable/$APP_PROFILE >/dev/null 2>&1 || true ;; -- 2.30.2
signature.asc
Description: PGP signature