aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2011-04-27 13:05:37 -0400
committerBill Nottingham <notting@redhat.com>2011-04-27 13:05:37 -0400
commitb15a418b0ab137507d8e96d4b35d6ff7db76ee8f (patch)
tree1ebdabb4e8c7f194e730a1936ce2a55c5ad9ef79
parentef25e0519aa39cb7a860185e55607ceefa299749 (diff)
downloadinitscripts-b15a418b0ab137507d8e96d4b35d6ff7db76ee8f.tar
initscripts-b15a418b0ab137507d8e96d4b35d6ff7db76ee8f.tar.gz
initscripts-b15a418b0ab137507d8e96d4b35d6ff7db76ee8f.tar.bz2
initscripts-b15a418b0ab137507d8e96d4b35d6ff7db76ee8f.tar.xz
initscripts-b15a418b0ab137507d8e96d4b35d6ff7db76ee8f.zip
Make sure to enable fedora-storage-init-late.service, and have it after the non-late version. (#699918)
-rw-r--r--Makefile1
-rw-r--r--systemd/system/fedora-storage-init-late.service2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 39dd84e2..718b451e 100644
--- a/Makefile
+++ b/Makefile
@@ -130,6 +130,7 @@ install:
ln -s ../fedora-sysinit-hack.service $(ROOT)/lib/systemd/system/basic.target.wants
ln -s ../fedora-readonly.service $(ROOT)/lib/systemd/system/local-fs.target.wants
ln -s ../fedora-storage-init.service $(ROOT)/lib/systemd/system/local-fs.target.wants
+ ln -s ../fedora-storage-init-late.service $(ROOT)/lib/systemd/system/local-fs.target.wants
ln -s ../fedora-sysinit-unhack.service $(ROOT)/lib/systemd/system/multi-user.target.wants
mkdir -p $(ROOT)/etc/tmpfiles.d
diff --git a/systemd/system/fedora-storage-init-late.service b/systemd/system/fedora-storage-init-late.service
index 80bba21f..bfd4b73b 100644
--- a/systemd/system/fedora-storage-init-late.service
+++ b/systemd/system/fedora-storage-init-late.service
@@ -2,7 +2,7 @@
Description=Initialize storage subsystems (RAID, LVM, etc.)
DefaultDependencies=no
Conflicts=shutdown.target
-After=cryptsetup.target
+After=cryptsetup.target fedora-storage-init.service
Before=local-fs.target shutdown.target
Wants=fedora-wait-storage.service