summaryrefslogtreecommitdiffstats
path: root/0005-dracut.asc-document-debugging-dracut-on-shutdown.patch
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-09-04 13:43:12 +0200
committerHarald Hoyer <harald@redhat.com>2013-09-04 13:43:12 +0200
commitfe48c9c4e590d7ab905da3307e021b9c48545a9a (patch)
tree29503658db53c8f22eba77857925b7d33936cf2f /0005-dracut.asc-document-debugging-dracut-on-shutdown.patch
parentb6aad2a9c88b5822b30c1686ce66dd31e2fb1a80 (diff)
downloaddracut-fe48c9c4e590d7ab905da3307e021b9c48545a9a.tar.gz
dracut-fe48c9c4e590d7ab905da3307e021b9c48545a9a.tar.xz
dracut-fe48c9c4e590d7ab905da3307e021b9c48545a9a.zip
dracut-032-23.git20130904
- fixed curl error with zero size kickstart file Resolves: rhbz#989133 - fixed systemd-cat failure, when systemd is installed but not actually running Resolves: rhbz#1002021 - do not fail on empty dracut module directories Resolves: rhbz#1003153
Diffstat (limited to '0005-dracut.asc-document-debugging-dracut-on-shutdown.patch')
-rw-r--r--0005-dracut.asc-document-debugging-dracut-on-shutdown.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/0005-dracut.asc-document-debugging-dracut-on-shutdown.patch b/0005-dracut.asc-document-debugging-dracut-on-shutdown.patch
new file mode 100644
index 0000000..429a531
--- /dev/null
+++ b/0005-dracut.asc-document-debugging-dracut-on-shutdown.patch
@@ -0,0 +1,37 @@
+From 39fe00ef600879279f01289007433bd7f9b84dd9 Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald@redhat.com>
+Date: Thu, 22 Aug 2013 09:39:38 +0200
+Subject: [PATCH] dracut.asc: document debugging dracut on shutdown
+
+---
+ dracut.asc | 17 +++++++++++++++++
+ 1 file changed, 17 insertions(+)
+
+diff --git a/dracut.asc b/dracut.asc
+index e0431dc..c011658 100644
+--- a/dracut.asc
++++ b/dracut.asc
+@@ -744,6 +744,23 @@ the dracut shell
+ ==== Additional dracut boot parameters
+ For more debugging options, see <<dracutkerneldebug>> in <<dracutcmdline7>>.
+
++
++[[debugging-dracut-on-shutdown]]
++==== Debugging dracut on shutdown
++
++To debug the shutdown sequence on systemd systems, you can _rd.break_
++on _pre-shutdown_ or _shutdown_.
++
++To do this from an already booted system:
++----
++# mkdir -p /run/initramfs/etc/cmdline.d
++# echo "rd.break=pre-shutdown" > /run/initramfs/etc/cmdline.d/debug.conf
++# touch /run/initramfs/.need_shutdown
++----
++
++This will give you a dracut shell after the system pivot'ed back in the initramfs.
++
++
+ = Developer Manual
+
+ == dracut Components