From 47f983a8d5eedaf99c3a05da7eed7e2beca64108 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 5 Jul 2023 10:47:30 +0200 Subject: [PATCH] pdist-bootcheck: Run async update as transient service Run the update as a separate service instead of as a forked process to avoid the error message pdist-bootcheck.service: Failed to destroy cgroup /system.slice/pdist-bootcheck.service, ignoring: Device or resource busy and to capture the exist status in systemd and the output in the journal. --- pdist/pdist-bootcheck | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pdist/pdist-bootcheck b/pdist/pdist-bootcheck index b281554..a2e7a49 100755 --- a/pdist/pdist-bootcheck +++ b/pdist/pdist-bootcheck @@ -26,7 +26,8 @@ else fi if [ "$need_async_pdist" ]; then - netcat $(distmaster) 237 >/dev/null 2>&1