From 649cfc1260eb112190c9d4c31bb7edd2d895dca4 Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Mon, 11 Nov 2024 16:12:35 +0900 Subject: [PATCH] ci deb: tweak downgrade test case Now, no need to unmask td-agent because transitional td-agent package was installed before. As unmask fluentd is not enough to cleanup td-agent inactive(dead) link so explicitly disable it to purge them. Signed-off-by: Kentaro Hayashi --- fluent-package/apt/systemd-test/downgrade-to-v4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluent-package/apt/systemd-test/downgrade-to-v4.sh b/fluent-package/apt/systemd-test/downgrade-to-v4.sh index 915675771..b950ba9df 100755 --- a/fluent-package/apt/systemd-test/downgrade-to-v4.sh +++ b/fluent-package/apt/systemd-test/downgrade-to-v4.sh @@ -24,7 +24,7 @@ sudo apt install -V -y \ sudo systemctl unmask td-agent # Even though removing fluent-package, log and .conf are kept. dpkg reports "rc fluent-package" and "rc td-agent" status. -sudo apt remove -y fluent-package +sudo apt remove -y fluent-package td-agent # fluentd.service is already masked (link to /dev/null), then remove it. sudo systemctl unmask fluentd