Harald Hoyer
9a3676a88f
systemd/dracut-initqueue.sh: fstab is not a directory
11 years ago
Harald Hoyer
3934ca8e6c
systemd/dracut-initqueue.sh: fixed waiting in the loop if PW asked
...
continue the main loop instead of the for loop, if a password is
currently asked
11 years ago
Harald Hoyer
7e4f74f504
systemd: do not exit the initqueue, if systemd asks a password
...
this prevents bailing out the initqueue, while passwords are still to be
asked
11 years ago
Harald Hoyer
e8b9702c0a
systemd/dracut-initqueue.sh: added missing "then"
12 years ago
Harald Hoyer
226e3710b4
systemd/dracut-initqueue.sh: continue to boot if finished failed
...
but /sysroot/etc/fstab exists.
12 years ago
Harald Hoyer
32bd2fbb4c
use "rm --" to guard against filenames beginning with "-"
12 years ago
Baoquan He
9d787df196
Let user specify the action after fail
...
Currently the default action is emergency_shell when failure happened
during system boot. In kdump, this default may not be expected. E.g,
if dump target is not rootfs, it does not matter if mount root failed.
Adding an action which allow dracut always go ahead though failure
happens is needed by kdump.
So here add a function action_on_fail() and cmdline parameter
action_on_fail=<shell | continue>. Use action_to_fail() to replace
emergency_shell which was called after failure. By $(getarg action_on_fail=),
decide to drop into shell, or to leave away the failure and go ahead.
v3->v4:
add handling of selinux policy loaded failure, and change code format to
be consitent
Signed-off-by: Baoquan He <bhe@redhat.com>
[Edited by harald@redhat.com ]
12 years ago
Harald Hoyer
cbd69dc6ff
install dracut-*.service units
12 years ago
Harald Hoyer
dbfaae0e34
systemd: changes for new initrd services
...
Requires systemd >= 198
12 years ago
Harald Hoyer
f62f3a2191
reset initqueue loop counter only if new uevents exist
12 years ago
Harald Hoyer
2663232a01
systemd/dracut-initqueue.sh: call udevadm settle directly
12 years ago
Harald Hoyer
11174408e8
systemd/dracut-initqueue.sh: replace $UDEV_QUEUE_EMPTY
...
for systemd-udevd the version of udevd is high enough
12 years ago
Dave Young
7bd8f23303
Add memory usage trace to diffrent hook points
...
Hi, Here is an update of this patch, fixed the local variable issue.
12 years ago
Harald Hoyer
0fc0dcff60
bye bye iscsi_wait_scan ... officially gone for kernel 3.6
13 years ago
Harald Hoyer
bdf1f472b4
add back scsi_wait_scan
13 years ago
Harald Hoyer
5cd7c104bd
document rd.retry and change the default value to 30s
...
Also start the timeout scripts after 2/3 of the time.
13 years ago
Harald Hoyer
aefea76cf8
set DRACUT_SYSTEMD for systemd mode in the initramfs
13 years ago
Harald Hoyer
68e7661ca7
deprecate old command line options
13 years ago
Harald Hoyer
792b189317
systemd service cleanup
13 years ago
Harald Hoyer
f1e9f613d9
systemd: exit with sane state
13 years ago
Harald Hoyer
3d3ddf082b
systemd: do not flock for console
13 years ago
Harald Hoyer
f6eb1f1d1f
systemd: do not redirect to /dev/console
13 years ago
Harald Hoyer
fbaf1517c3
s/Unable to process initqueue/Could not boot/g
13 years ago
Harald Hoyer
521c57aca5
systemd/dracut-initqueue.sh: remove pre-trigger sourcing
...
Thanks ms77 on #dracut!
13 years ago
Harald Hoyer
ca024e3378
renamed switch-root.{service,target} -> initrd-switch-root
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