Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #65627 > unrolled thread
| Started by | Glenn Washburn <development@efficientek.com> |
|---|---|
| First post | 2019-11-15 09:30 +0100 |
| Last post | 2019-11-15 09:30 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.kernel
Bug#944779: initramfs-tools-core: debug setting does not turn on tracing for scripts called by init Glenn Washburn <development@efficientek.com> - 2019-11-15 09:30 +0100
| From | Glenn Washburn <development@efficientek.com> |
|---|---|
| Date | 2019-11-15 09:30 +0100 |
| Subject | Bug#944779: initramfs-tools-core: debug setting does not turn on tracing for scripts called by init |
| Message-ID | <z2F9n-2EK-7@gated-at.bofh.it> |
Package: initramfs-tools-core
Version: 0.130ubuntu3.9
Severity: normal
Tags: newcomer
Dear Maintainer,
When adding "debug" to the kernel commandline debug output is turned on and is
very useful for debugging. However, none of the scripts (eg. local-premount/resume)
recognize the debug variable to turn on tracing as in init. I simply added the
line "[ -n "${debug}" ] && set -x" as the first line in local-premount/resume
and now I get debug logging when the debug kernel parameter is added. This line
should be added to all scripts, or at least the scripts run by "run_parts".
Glenn
Back to top | Article view | linux.debian.kernel
csiph-web