Harald Hoyer
967cc19ab1
remove all vim and emacs code format comments
2014-08-29 13:38:47 +02:00
Harald Hoyer
9a3676a88f
systemd/dracut-initqueue.sh: fstab is not a directory
2014-01-13 09:51:04 +01:00
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
2013-12-05 18:38:35 +01:00
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
2013-11-12 17:02:44 +01:00
Harald Hoyer
e8b9702c0a
systemd/dracut-initqueue.sh: added missing "then"
2013-08-12 13:08:17 +02:00
Harald Hoyer
226e3710b4
systemd/dracut-initqueue.sh: continue to boot if finished failed
...
but /sysroot/etc/fstab exists.
2013-08-07 10:33:14 +02:00
Harald Hoyer
32bd2fbb4c
use "rm --" to guard against filenames beginning with "-"
2013-06-28 10:31:18 +02:00
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 ]
2013-04-09 11:14:08 +02:00
Harald Hoyer
cbd69dc6ff
install dracut-*.service units
2013-03-25 07:56:12 +01:00
Harald Hoyer
dbfaae0e34
systemd: changes for new initrd services
...
Requires systemd >= 198
2013-03-06 17:21:47 +01:00
Harald Hoyer
f62f3a2191
reset initqueue loop counter only if new uevents exist
2013-03-02 13:19:20 +01:00
Harald Hoyer
2663232a01
systemd/dracut-initqueue.sh: call udevadm settle directly
2013-02-11 11:49:19 +01:00
Harald Hoyer
11174408e8
systemd/dracut-initqueue.sh: replace $UDEV_QUEUE_EMPTY
...
for systemd-udevd the version of udevd is high enough
2013-02-11 11:49:19 +01:00
Dave Young
7bd8f23303
Add memory usage trace to diffrent hook points
...
Hi, Here is an update of this patch, fixed the local variable issue.
2013-01-23 15:24:27 +01:00
Harald Hoyer
0fc0dcff60
bye bye iscsi_wait_scan ... officially gone for kernel 3.6
2012-09-18 13:39:54 +02:00
Harald Hoyer
bdf1f472b4
add back scsi_wait_scan
2012-08-17 09:22:12 +02:00
Harald Hoyer
5cd7c104bd
document rd.retry and change the default value to 30s
...
Also start the timeout scripts after 2/3 of the time.
2012-07-31 12:37:35 +02:00
Harald Hoyer
aefea76cf8
set DRACUT_SYSTEMD for systemd mode in the initramfs
2012-07-30 17:08:51 +02:00
Harald Hoyer
68e7661ca7
deprecate old command line options
2012-07-25 10:32:42 +02:00
Harald Hoyer
792b189317
systemd service cleanup
2012-07-10 12:22:51 +02:00
Harald Hoyer
f1e9f613d9
systemd: exit with sane state
2012-07-06 12:34:45 +02:00
Harald Hoyer
3d3ddf082b
systemd: do not flock for console
2012-06-21 01:11:44 +02:00
Harald Hoyer
f6eb1f1d1f
systemd: do not redirect to /dev/console
2012-06-21 01:11:44 +02:00
Harald Hoyer
fbaf1517c3
s/Unable to process initqueue/Could not boot/g
2012-06-08 10:29:35 +02:00
Harald Hoyer
521c57aca5
systemd/dracut-initqueue.sh: remove pre-trigger sourcing
...
Thanks ms77 on #dracut!
2012-06-07 11:31:45 +02:00
Harald Hoyer
ca024e3378
renamed switch-root.{service,target} -> initrd-switch-root
2012-05-22 14:50:19 +02:00
Harald Hoyer
f72318243c
systemd: adapt to new switch-root mechanism
2012-05-15 18:57:29 +02:00
Harald Hoyer
2c431e8ec4
add systemd module
2012-05-09 13:36:07 +02:00