public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
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	[thread overview]
Message-ID: <20230426123229.4385-2-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20230426123229.4385-1-adolf.belka@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1267 bytes --]

- 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(a)ipfire.org>
---
 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    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = dbus
-PAK_VER    = 9
+PAK_VER    = 10
 
 DEPS       =
 
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
 
 # Remove start files
 rm -rf /etc/rc.d/rc*.d/*messagebus
-- 
2.40.0


      reply	other threads:[~2023-04-26 12:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-26 12:32 [PATCH] cups: Fixes Bug#12924 - Can't access https pages in cups Adolf Belka
2023-04-26 12:32 ` Adolf Belka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230426123229.4385-2-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox