| CARVIEW |
Debian Bug report logs -
#944779
initramfs-tools-core: debug setting does not turn on tracing for scripts called by init
Package: initramfs-tools-core; Maintainer for initramfs-tools-core is Debian kernel team <debian-kernel@lists.debian.org>; Source for initramfs-tools-core is src:initramfs-tools (PTS, buildd, popcon).
Reported by: Glenn Washburn <development@efficientek.com>
Date: Fri, 15 Nov 2019 08:24:05 UTC
Severity: wishlist
Tags: wontfix
Found in version 0.130ubuntu3.9
Reply or subscribe to this bug.
View this report as an mbox folder, status mbox, maintainer mbox
Report forwarded
to debian-bugs-dist@lists.debian.org, development@efficientek.com, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#944779; Package initramfs-tools-core.
(Fri, 15 Nov 2019 08:24:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Glenn Washburn <development@efficientek.com>:
New Bug report received and forwarded. Copy sent to development@efficientek.com, Debian kernel team <debian-kernel@lists.debian.org>.
(Fri, 15 Nov 2019 08:24:08 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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
Severity set to 'wishlist' from 'normal'
Request was from Ben Hutchings <ben@decadent.org.uk>
to control@bugs.debian.org.
(Fri, 15 Nov 2019 22:24:06 GMT) (full text, mbox, link).
Removed tag(s) newcomer.
Request was from Ben Hutchings <ben@decadent.org.uk>
to control@bugs.debian.org.
(Fri, 15 Nov 2019 22:24:07 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org> (initramfs-tools-core for {944779}):
Bug#944779; Package initramfs-tools-core.
(Sun, 16 Nov 2025 23:21:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Ben Hutchings <ben@decadent.org.uk>:
Extra info received and forwarded to list. Copy sent to debian-kernel@lists.debian.org.
(Sun, 16 Nov 2025 23:21:02 GMT) (full text, mbox, link).
Message #14 received at 944779@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]
Added tag(s) wontfix.
Request was from Ben Hutchings <ben@decadent.org.uk>
to 944779-submit@bugs.debian.org.
(Sun, 16 Nov 2025 23:21:02 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Dec 28 09:34:26 2025; Machine Name: bembo
Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.