From patchwork Wed Apr 26 12:32:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 6816 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Q5yv02HmKz3x1n for ; Wed, 26 Apr 2023 12:32:44 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Q5ytw056lz9S1; Wed, 26 Apr 2023 12:32:39 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Q5ytv5ZQfz2ytl; Wed, 26 Apr 2023 12:32:39 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Q5ytt6KQ2z2xGX for ; Wed, 26 Apr 2023 12:32:38 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Q5ytt2gknz2vs; Wed, 26 Apr 2023 12:32:38 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1682512358; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JHwGKKE1BWg/mHxzy+RyYpmGeE8cL3tk6mfzG5s+zDI=; b=wscBiUKlTjRaSBkVTLms/0XgedFk01Lp2c1QMr7HHEOfUEl5TnGDzeOKB48YI2AedZJgcS Zs25NdjLClu0hPDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1682512358; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JHwGKKE1BWg/mHxzy+RyYpmGeE8cL3tk6mfzG5s+zDI=; b=OzlVN3eFUB05bJ4AJGhMpJrffnsp5bR4cUQxplXFdr1tcRlgxH6ERZYp9wNS8sxkpWyTkM Y5DUlHRPMn+pY/RRHzkQxmFL2WS9zobgump0MdFH4k/1d7w+zVnCeDEEtJiy0jl8EYCWpA 3/UyjHpGFXRQ9paC5NaHkavIBMW0TrvTK260/znKZFxPqnaYkllftQZYVe4utvyq84S7Uk WEhXITN3EF1gzajrAoGAcQ+BbGMopScM/ZuIuh+gAcYxVLd9ihsIO8aRtOQzgxRoRuTs2x S/KEaSY1SCpKlPOiFPeiGgyaMWHzUWKzFOAuqnhiFI2y+u/E9gv6OMfHsOZKKQ== 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> References: <20230426123229.4385-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - 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 --- 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