]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
dbus: Fixes Bug#13094 - dbus daemon continues running after uninstall
authorAdolf Belka <adolf.belka@ipfire.org>
Wed, 26 Apr 2023 12:32:29 +0000 (14:32 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 3 May 2023 07:42:21 +0000 (07:42 +0000)
- The uninstall.sh script had stop_service ${NAME} but the package name is dbus 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 <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/dbus
src/paks/dbus/uninstall.sh

index 7d123e4ef9ab68f8fcf6a7774afee6db8b76f36f..f6f9c90a581fac8fa1920f0f95b91006ca0ef240 100644 (file)
--- a/lfs/dbus
+++ b/lfs/dbus
@@ -34,7 +34,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = dbus
-PAK_VER    = 9
+PAK_VER    = 10
 
 DEPS       =
 
index 49fc30e300fa9cdd87e476f148de80a6c06e4024..1c0573735c2915a0208580b79dfc2f293d134651 100644 (file)
@@ -22,7 +22,7 @@
 ############################################################################
 #
 . /opt/pakfire/lib/functions.sh
-stop_service ${NAME}
+stop_service messagebus
 
 # Remove start files
 rm -rf /etc/rc.d/rc*.d/*messagebus