From 4f84db15149bae395168dfbf373b7b988e1d2cf8 Mon Sep 17 00:00:00 2001 From: eugene2021 Date: Mon, 29 Apr 2024 16:10:10 +0800 Subject: [PATCH] Fix modprobe_attachment and sysctl_attachment failed in remote mode (BugFix) --- providers/base/units/info/jobs.pxu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/providers/base/units/info/jobs.pxu b/providers/base/units/info/jobs.pxu index e1b0ca9e5..d08d0f15e 100644 --- a/providers/base/units/info/jobs.pxu +++ b/providers/base/units/info/jobs.pxu @@ -131,6 +131,7 @@ _description: Attaches info on system memory as seen in /proc/meminfo. id: modprobe_attachment plugin: attachment category_id: com.canonical.plainbox::info +user: root command: find /etc/modprobe.* -name \*.conf -exec cat {} + estimated_duration: 0.015 _description: Attaches the contents of the various modprobe conf files. @@ -161,6 +162,7 @@ _summary: Attach the contents of /etc/modules id: sysctl_attachment plugin: attachment category_id: com.canonical.plainbox::info +user: root command: find /etc/sysctl.* -name \*.conf -exec cat {} + estimated_duration: 0.014 _description: Attaches the contents of various sysctl config files.