From c77e23e522998f725952da34b214ccea3c1a10d5 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 17 Mar 2019 14:05:43 +0000 Subject: Fix ownership of dummy root directory (mga#24501) systemd 240 introduces a new requirement that the root directory must be owned by root. --- NEWS | 2 ++ lib/MGA/DrakISO/BuildRoot.pm | 1 + 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index 761a0ef..4b416c7 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- fix ownership of dummy root directory (mga#24501) + 1.10 - support generation of sha3-512 checksum diff --git a/lib/MGA/DrakISO/BuildRoot.pm b/lib/MGA/DrakISO/BuildRoot.pm index fe248ba..b4078d9 100644 --- a/lib/MGA/DrakISO/BuildRoot.pm +++ b/lib/MGA/DrakISO/BuildRoot.pm @@ -76,6 +76,7 @@ sub install_live_system { run_as_root('rm', '-rf', $live_root); } mkdir_p($live_root); + run_as_root('chown', 'root.root', $live_root); my $Xserver_pid; my $error_message; -- cgit v1.2.1