From 412c4edd047a9380de9e6908437543ad744e05b3 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 19 Jun 2012 12:16:35 -0400 Subject: Check that root is r/w before starting fedora-import-state. --- systemd/system/fedora-import-state.service | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd/system/fedora-import-state.service b/systemd/system/fedora-import-state.service index 5294fe17..00d3d066 100644 --- a/systemd/system/fedora-import-state.service +++ b/systemd/system/fedora-import-state.service @@ -1,6 +1,7 @@ [Unit] Description=Import network configuration from initramfs DefaultDependencies=no +ConditionPathIsReadWrite=/ ConditionDirectoryNotEmpty=/run/initramfs/state Conflicts=shutdown.target Before=shutdown.target emergency.service emergency.target systemd-tmpfiles-setup.service -- cgit v1.2.1