Debian Bug report logs -
#326677
sysvinit: Support quiet booting for splash screens?
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Miquel van Smoorenburg <miquels@cistron.nl>:
Bug#326677; Package sysvinit.
(full text, mbox, link).
Acknowledgement sent to Petter Reinholdtsen <pere@hungry.com>:
New Bug report received and forwarded. Copy sent to Miquel van Smoorenburg <miquels@cistron.nl>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: sysvinit
Version: 2.86.ds1-1
Severity: wishlist
Tags: patch
While reviewing the patches from ubuntu to the sysvinit package, I
came across a patch to quiet down init. This is used when booting
with a splash screen, to make sure no spurious output make it to the
console. I believe it would be useful to have this in Debian as well,
to make it possible to get a more pretty boot. These are the relevant
changelog entries:
sysvinit (2.85-22ubuntu2) warty; urgency=low
* changed the 'quietinit' flag to 'splash'
-- Nathaniel McCallum <npmccallum@gentoo.org> Fri, 20 Aug 2004 13:58:43 -0400
sysvinit (2.85-22ubuntu1) warty; urgency=low
[...]
* src/init.c: added a quietinit option which disabled initial boot output
-- Nathaniel McCallum <npmccallum@gentoo.org> Mon, 16 Aug 2004 12:15:14 -0400
And here is the patch. Perhaps the --splash flag should be --silent
instead?
diff -pruN sysvinit_2.86.ds1-1.1/src/init.c sysvinit_2.86.ds1-1.1ubuntu5/src/init.c
--- sysvinit_2.86.ds1-1.1/src/init.c2004-07-30 13:16:20.000000000 +0100
+++ sysvinit_2.86.ds1-1.1ubuntu5/src/init.c2005-08-31 13:37:24.000000000 +0100
@@ -115,6 +115,7 @@ char *user_console = NULL;/* User conso
char *console_dev;/* Console device. */
int pipe_fd = -1;/* /dev/initctl */
int did_boot = 0;/* Did we already do BOOT* stuff? */
+int quietinit = 0;/* Should init be quiet on load? */
int main(int, char **);
/*Used by re-exec part */
@@ -2423,7 +2424,8 @@ int init_main()
/*
*Say hello to the world
*/
- initlog(L_CO, bootmsg, "booting");
+if (!quietinit)
+ initlog(L_CO, bootmsg, "booting");
/*
*See if we have to start an emergency shell.
@@ -2651,6 +2653,8 @@ int main(int argc, char **argv)
putenv("AUTOBOOT=YES");
else if (!strcmp(argv[f], "-b") || !strcmp(argv[f],"emergency"))
emerg_shell = 1;
+else if (!strcmp(argv[f], "-s") || !strcmp(argv[f],"splash"))
+quietinit = 1;
else if (!strcmp(argv[f], "-z")) {
/* Ignore -z xxx */
if (argv[f + 1]) f++;
Message sent on to Petter Reinholdtsen <pere@hungry.com>:
Bug#326677.
(full text, mbox, link).
Message #8 received at 326677-submitter@bugs.debian.org (full text, mbox, reply):
Would it make sense to use INIT_VERBOSE to control this?
--
Thomas
Changed Bug title.
Request was from Thomas Hood <jdthood@yahoo.co.uk>
to control@bugs.debian.org.
(full text, mbox, link).
Tags removed: patch
Request was from Thomas Hood <jdthood@yahoo.co.uk>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian sysvinit maintainers <pkg-sysvinit-devel@lists.alioth.debian.org>:
Bug#326677; Package sysvinit.
(full text, mbox, link).
Acknowledgement sent to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Debian sysvinit maintainers <pkg-sysvinit-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #17 received at 326677@bugs.debian.org (full text, mbox, reply):
[Thomas Hood]
> Would it make sense to use INIT_VERBOSE to control this?
It sound like a good idea, at least. That way the INIT_VERBOSE=no
flag would affect both the boot scripts and init itself. Patch
welcome. :)
On the other hand the 'splash' kernel option is used to activate the
splash screens, while the 'quiet' kernel option is used to quiet down
the boot. Perhaps it make more sense to use 'quiet' instead of
INIT_VERBOSE all over, and expect those with splash screens to use
'splash quiet' as kernel arguments if they want few messages during
boot as well as the splash screen activated? The alternative would be
'splash quiet INIT_VERBOSE=no', as one need to tell the kernel to shut
up anyway.
I believe adding support for 'quiet' as well as INIT_VERBOSE (and
perhaps dropping INIT_VERBOSE support some time in the future), and
adding support for the 'quiet' flag in init make most sense. Any
objections? If not, I will go ahead with that plan.
Friendly,
--
Petter Reinholdtsen
Bug reassigned from package 'sysvinit' to 'sysvinit-core'.
Request was from Michael Biebl <biebl@debian.org>
to control@bugs.debian.org.
(Sun, 17 Jul 2016 15:16:01 GMT) (full text, mbox, link).
No longer marked as found in versions sysvinit/2.86.ds1-1.
Request was from Michael Biebl <biebl@debian.org>
to control@bugs.debian.org.
(Sun, 17 Jul 2016 15:16: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:
Wed Oct 11 12:08:14 2017;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
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.