From 701c40091669f2941b4d6bcb83e0dc645e400ac2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 9 Apr 2026 10:49:18 +0000 Subject: [PATCH 1/2] Initial plan From 8ea133a2a1d62b340cf9a3564be93e2191156439 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 9 Apr 2026 11:00:18 +0000 Subject: [PATCH 2/2] Remove sudo from timedatectl and localectl subprocess calls Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/925a72d0-2cdd-4940-b338-07772f3f8a68 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> --- app/sovran_systemsos_web/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/sovran_systemsos_web/server.py b/app/sovran_systemsos_web/server.py index 0d9442f..db0af73 100644 --- a/app/sovran_systemsos_web/server.py +++ b/app/sovran_systemsos_web/server.py @@ -3293,7 +3293,7 @@ async def api_system_set_timezone(req: TimezoneRequest): result = await loop.run_in_executor( None, lambda: subprocess.run( - ["sudo", "timedatectl", "set-timezone", tz], + ["timedatectl", "set-timezone", tz], capture_output=True, text=True, timeout=15, @@ -3336,7 +3336,7 @@ async def api_system_set_locale(req: LocaleRequest): result = await loop.run_in_executor( None, lambda: subprocess.run( - ["sudo", "localectl", "set-locale", f"LANG={locale}"], + ["localectl", "set-locale", f"LANG={locale}"], capture_output=True, text=True, timeout=15,