WANG Chao
ce7f408dfd
dracut-pre-pivot pulls in remote-fs.target
...
It turns out that commit f30b74e (dracut-initqueue service runs before
remote-fs-pre.target) is partial fix for remote fs mounts. Because no
one pulls in remote-fs.target, we can never start remote fs mounts.
Now pull in remote-fs.target in dracut-pre-pivot.
Signed-off-by: WANG Chao <chaowang@redhat.com>
2014-05-20 11:40:44 +02:00
Harald Hoyer
751c7de98a
systemd/dracut-pre-pivot: run for /dev/{nfs,root} and cleanup /dev/nfs
...
dracut-pre-pivot was not cleaning up /dev/nfs and did not run to clean
up /dev/root.
2014-02-05 13:08:54 +01:00
WANG Chao
55c912ae40
systemd: pre-pivot hooks runs after /sysroot is mounted
...
If rootflags=nofail, sysroot.mount won't strictly run "Before"
initrd-root-fs.target. So we need to order dracut-pre-pivot after
sysroot.mount.
2013-08-19 15:50:57 +02:00
Harald Hoyer
cee4599131
systemd/dracut-pre-pivot.service: also execute for cleanup hooks or rd.break
2013-06-13 10:37:45 +02:00
Harald Hoyer
780cb33741
systemd: set environment vars DRACUT_SYSTEMD, NEWROOT in service file
2013-05-28 12:50:57 +02:00
Harald Hoyer
e26d76dca1
systemd: add more ordering
2013-03-19 12:22:33 +01:00
Harald Hoyer
85c85f07e2
systemd: switch to new initrd.target
...
(normal startup)
:
:
v
basic.target
|
______________________/|
/ |
| sysroot.mount
| |
| v
| initrd-root-fs.target
| |
| v
| initrd-parse-etc.service
(custom initrd services) |
| v
| (sysroot-usr.mount and
| various mounts marked
| with fstab option
| x-initrd.mount)
| |
| v
| initrd-fs.target
| |
\______________________ |
\|
v
initrd.target
|
v
initrd-cleanup.service
isolates to
initrd-switch-root.target
|
v
______________________/|
/ |
| initrd-udevadm-cleanup-db.service
| |
(custom initrd services) |
| |
\______________________ |
\|
v
initrd-switch-root.target
|
v
initrd-switch-root.service
|
v
switch-root
2013-03-15 07:10:20 +01:00
Harald Hoyer
c85cda9e2f
systemd: local-fs.target is now root-fs.target and initrd-fs.target
...
Also rename dracut.target to initrd.target
see also systemd commit 700e07f
http://cgit.freedesktop.org/systemd/systemd/commit/?id=700e07f
2013-03-13 09:34:47 +01:00
Harald Hoyer
dbfaae0e34
systemd: changes for new initrd services
...
Requires systemd >= 198
2013-03-06 17:21:47 +01:00
Harald Hoyer
600c876968
consistently lowercase "dracut"
2012-10-10 14:15:11 +02:00
Harald Hoyer
13f77e9fd5
add documentation for systemd services in the initramfs
2012-07-23 11:29:20 +02:00
Harald Hoyer
7292a59593
systemd: stop udevd correctly
2012-07-17 18:04:44 +02:00
Harald Hoyer
765d8408e9
Revert "systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db"
...
This reverts commit a43f97c4e3
.
2012-07-17 13:05:11 +02:00
Harald Hoyer
a43f97c4e3
systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db
2012-07-17 11:08:58 +02:00
Harald Hoyer
792b189317
systemd service cleanup
2012-07-10 12:22:51 +02:00
Harald Hoyer
ae2d48a366
systemd: add ConditionPathExists=/etc/initrd-release to services
2012-06-29 12:41:25 +02:00
Harald Hoyer
e08710a289
systemd: fixed I/O of services
2012-06-21 01:11:44 +02:00
Harald Hoyer
9f037266ee
systemd: output all service output to the journal also
2012-06-21 01:11:43 +02:00
Harald Hoyer
ca024e3378
renamed switch-root.{service,target} -> initrd-switch-root
2012-05-22 14:50:19 +02:00
Harald Hoyer
2c431e8ec4
add systemd module
2012-05-09 13:36:07 +02:00