Harald Hoyer
c000a21c25
dracut-systemd/*.service: conflict with shutdown target
...
make reboot/poweroff/halt work
also conflict with emergency.target
9 years ago
dyoung@redhat.com
a95a727fdc
Revert "systemd/emergency.service: do not run for action_on_fail=continue"
...
This reverts commit dcae873414
.
action_on_fail is useless thus remove the commits for it one by one.
Signed-off-by: Dave Young <dyoung@redhat.com>
9 years ago
dyoung@redhat.com
74c9fb947b
Revert "Change the implementation of action_on_fail"
...
This reverts commit d2765b5175
.
action_on_fail is useless thus remove the commits for it one by one.
Signed-off-by: Dave Young <dyoung@redhat.com>
9 years ago
Harald Hoyer
28eae10b70
Split the systemd dracut module up
...
Basic systemd functionality is in 00systemd now.
Switching root and the initrd.target is in 00systemd-initrd.
Dracut additions to the systemd initrd are in 98dracut-systemd.
10 years ago
Baoquan He
d2765b5175
Change the implementation of action_on_fail
...
Currently when action_on_fail is enabled, the emergency_shell won't be called.
In kdump even though user specify the default action as emergency_shell,
dracut skip it. Now change the implementation of action_on_fail to depend
on a file which is created by kdump when making kdump initrd, then remove it
at the beginning of kdump. This can solve the explicit emergency_shell problem.
And action_on_fail won't need paramenters, remove the relevant description in
dracut man page.
Signed-off-by: Baoquan He <bhe@redhat.com>
12 years ago
Harald Hoyer
dcae873414
systemd/emergency.service: do not run for action_on_fail=continue
...
same as for dracut-emergency.service
12 years ago
Harald Hoyer
780cb33741
systemd: set environment vars DRACUT_SYSTEMD, NEWROOT in service file
12 years ago
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
12 years ago
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
12 years ago
Harald Hoyer
dbfaae0e34
systemd: changes for new initrd services
...
Requires systemd >= 198
12 years ago
Harald Hoyer
b47e023767
systemd: fix emergency.service and rescue.service
13 years ago
Harald Hoyer
9f037266ee
systemd: output all service output to the journal also
13 years ago
Harald Hoyer
f72318243c
systemd: adapt to new switch-root mechanism
13 years ago
Harald Hoyer
2c431e8ec4
add systemd module
13 years ago