From 603c9741162d63d12a8ac402c2832c7b93ca100b Mon Sep 17 00:00:00 2001 From: Echo Date: Wed, 20 May 2026 14:57:53 +0000 Subject: [PATCH] fix: OpenRC init script - change ownership from linux-patch-api:linux-patch-api to root:root The system user was removed from all install scripts but the OpenRC init script still referenced linux-patch-api:linux-patch-api in checkpath. This would cause the service to fail on Alpine because the user does not exist. --- configs/linux-patch-api-openrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/linux-patch-api-openrc b/configs/linux-patch-api-openrc index 2aee4cf..e6b8688 100644 --- a/configs/linux-patch-api-openrc +++ b/configs/linux-patch-api-openrc @@ -17,10 +17,10 @@ depend() { # Create required directories before starting start_pre() { - checkpath --directory --owner linux-patch-api:linux-patch-api --mode 0755 \ + checkpath --directory --owner root:root --mode 0755 \ /run/linux-patch-api \ - /var/log/linux-patch-api \ - /var/lib/linux-patch-api \ + /var/log/linux_patch_api \ + /var/lib/linux_patch_api \ /etc/linux_patch_api/certs # Ensure config files exist