From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] dbus: Fixes Bug#13094 - dbus daemon continues running after uninstall Date: Wed, 26 Apr 2023 14:32:29 +0200 Message-ID: <20230426123229.4385-2-adolf.belka@ipfire.org> In-Reply-To: <20230426123229.4385-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7042306544582881383==" List-Id: --===============7042306544582881383== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - The uninstall.sh script had stop_service ${NAME} but the package name is db= us while the initscript is named messagebus. Therefore the stop_service never stops the= dbus daemon. - This patch changes the line to stop_service messagebus - The install.sh script already has start_service messagebus - Bump PAK_VER for dbus Fixes: Bug#13094 Signed-off-by: Adolf Belka --- lfs/dbus | 2 +- src/paks/dbus/uninstall.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/dbus b/lfs/dbus index 7d123e4ef..f6f9c90a5 100644 --- a/lfs/dbus +++ b/lfs/dbus @@ -34,7 +34,7 @@ DL_FROM =3D $(URL_IPFIRE) DIR_APP =3D $(DIR_SRC)/$(THISAPP) TARGET =3D $(DIR_INFO)/$(THISAPP) PROG =3D dbus -PAK_VER =3D 9 +PAK_VER =3D 10 =20 DEPS =3D =20 diff --git a/src/paks/dbus/uninstall.sh b/src/paks/dbus/uninstall.sh index 49fc30e30..1c0573735 100644 --- a/src/paks/dbus/uninstall.sh +++ b/src/paks/dbus/uninstall.sh @@ -22,7 +22,7 @@ ############################################################################ # . /opt/pakfire/lib/functions.sh -stop_service ${NAME} +stop_service messagebus =20 # Remove start files rm -rf /etc/rc.d/rc*.d/*messagebus --=20 2.40.0 --===============7042306544582881383==--