From 4c466d4620eba40fa30d01b727825a49ff651e8a Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Mon, 25 Jun 2018 14:01:36 -0700 Subject: [PATCH] Make sure /run/weldr has correct ownership and permissions Normally tmpfiles.d will handle this at boot time, but if you install lorax-composer without rebooting it was ending up with root:root ownership instead of root:weldr --- systemd/lorax-composer.service | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd/lorax-composer.service b/systemd/lorax-composer.service index 83365005..3ef53cdd 100644 --- a/systemd/lorax-composer.service +++ b/systemd/lorax-composer.service @@ -6,6 +6,7 @@ Wants=network-online.target [Service] User=root Type=simple +ExecStartPre=/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/lorax-composer.conf ExecStart=/usr/sbin/lorax-composer /var/lib/lorax/composer/recipes/ [Install]