aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2011-04-06 15:47:46 -0400
committerBill Nottingham <notting@redhat.com>2011-04-06 15:47:46 -0400
commit8df4ee072641b1153852c8b8b778ef4a02edb8bd (patch)
tree25623dac47c779e56e1c767c0ce668194a56d70c /systemd
parent3ffdab1c50ba631e0e706fb44e8b3708574aa11d (diff)
downloadinitscripts-8df4ee072641b1153852c8b8b778ef4a02edb8bd.tar
initscripts-8df4ee072641b1153852c8b8b778ef4a02edb8bd.tar.gz
initscripts-8df4ee072641b1153852c8b8b778ef4a02edb8bd.tar.bz2
initscripts-8df4ee072641b1153852c8b8b778ef4a02edb8bd.tar.xz
initscripts-8df4ee072641b1153852c8b8b778ef4a02edb8bd.zip
Add a storage setup after cryptsetup.target. (#692198)
Due to cryptsetup being parallel with this initially, we need this to support LVM/MD on LUKS.
Diffstat (limited to 'systemd')
-rw-r--r--systemd/system/fedora-storage-init-late.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/system/fedora-storage-init-late.service b/systemd/system/fedora-storage-init-late.service
new file mode 100644
index 00000000..80bba21f
--- /dev/null
+++ b/systemd/system/fedora-storage-init-late.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Initialize storage subsystems (RAID, LVM, etc.)
+DefaultDependencies=no
+Conflicts=shutdown.target
+After=cryptsetup.target
+Before=local-fs.target shutdown.target
+Wants=fedora-wait-storage.service
+
+[Service]
+ExecStart=/lib/systemd/fedora-storage-init
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes