From 0668722b8825f9baebf896559997c1591e7d5b72 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