Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #90096
| Path | csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Ben Hutchings <ben@decadent.org.uk> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#944779: initramfs-tools-core: debug setting does not turn on tracing for scripts called by init |
| Date | Mon, 17 Nov 2025 00:30:01 +0100 |
| Message-ID | <LRUlX-dvbI-17@gated-at.bofh.it> (permalink) |
| References | <z2F9n-2EK-7@gated-at.bofh.it> <z2F9n-2EK-7@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Sun Nov 16 23:21:13 2025 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -2.599 |
| Reply-To | Ben Hutchings <ben@decadent.org.uk>, 944779@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | debian-kernel@lists.debian.org |
| X-Debian-Pr-Message | followup 944779 |
| X-Debian-Pr-Package | initramfs-tools-core |
| X-Debian-Pr-Source | initramfs-tools |
| Content-Type | multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-8ALEdTGTMqBodMPUH9dC" |
| User-Agent | Evolution 3.56.2-7 |
| MIME-Version | 1.0 |
| X-Sa-Exim-Connect-IP | 2a02:578:851f:1502:391e:c5f5:10e2:b9a3 |
| X-Sa-Exim-Mail-From | ben@decadent.org.uk |
| X-Sa-Exim-Scanned | No (on maynard); SAEximRunCond expanded to false |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1937093 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 61 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Mon, 17 Nov 2025 00:20:03 +0100 |
| X-Original-Message-ID | <97eee63ce785a6afc6896c55415dbcb298d60538.camel@decadent.org.uk> |
| X-Original-References | <157380607448.19376.9735049102609964337.reportbug@crass-HP-ZBook-15-G2> <157380607448.19376.9735049102609964337.reportbug@crass-HP-ZBook-15-G2> |
| Xref | csiph.com linux.debian.bugs.dist:1270459 linux.debian.kernel:90096 |
Cross-posted to 2 groups.
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Control: tag -1 wontfix
On Fri, 15 Nov 2019 02:21:14 -0600 Glenn Washburn
<development@efficientek.com> wrote:
> 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".
I think this would be a surprising interpretation of the "debug" kernel
parameter, and it could leak sensitive information to the screen. So I
won't be making this change.
Ben.
--
Ben Hutchings
Beware of programmers who carry screwdrivers. - Leonard Brandwein
Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread
Bug#944779: initramfs-tools-core: debug setting does not turn on tracing for scripts called by init Ben Hutchings <ben@decadent.org.uk> - 2025-11-17 00:30 +0100
csiph-web