Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31543 - /sbin/splash prints usage statement during boot
Summary: /sbin/splash prints usage statement during boot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 21019
Blocks:
  Show dependency tree
 
Reported: 2003-10-19 14:22 UTC by giggles1
Modified: 2004-01-09 06:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description giggles1 2003-10-19 14:22:43 UTC
The function "splash_update()" in /etc/init.d/functions.sh runs /sbin/splash
incorrectly and it results in splash usage statement:

Usage: splash logstring
       splash -s [-u unit] -n [cfgfile]

showing up several times during boot and shutdown.  

I added some echo statements to verify that it was this function in function.sh.
 The offending lines look like:

               /sbin/splash "$2" "$3"

which, in fact, don't conform to the correct usage unless $2 and $3 have some
flags included (which I dont think they do).

Otherwise it is all working very nicely.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




please init.d # emerge info
Portage 2.0.49-r13 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.22-ck2)
=================================================================
System uname: 2.4.22-ck2 i686 AMD Athlon(tm) MP 2000+
Gentoo Base System version 1.4.3.11
ccache version 2.3 [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O2 -ftracer -ffast-math -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="sandbox autoaddcvs fixpackages"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/local/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/ebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm cups foomaticdb mad mikmod nls xml2 gdbm slang bonobo ruby
libwww motif cdr X 3dnow mmx directfb sse dga opengl xv fbcon kde qt qtmt arts
tcltk aalib imlib ncurses readline sdl svga lcms gif jpeg png tiff gd avi mpeg
quicktime esd gtk gtk2 -gnome alsa ggi dvd xmms oggvorbis encode pam ssl crypt
tcpd mozilla spell truetype xml pdflib plotutils tetex guile perl python libg++
atlas pic berkdb mysql postgres odbc samba gpm zlib java threads"
Comment 1 Troy Dack 2003-10-22 02:21:28 UTC
Since init scripts are not something that I want to break, I'm bumping to
he with most commits
Comment 2 Nils Spengler 2003-10-25 04:31:49 UTC
i think this just happened since the latest baselayout version ( 1.8.6.11
).
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-26 09:12:24 UTC
Tad, we need to get a bootsplash out there that support the stuff from
http://www.aichler.net/gentoo/bootsplash/ (bug #21019), and depends on
baselayout-1.8.6.11.  I do not know if I will get the time ... think
you might get to it ?
Comment 4 Nils Spengler 2003-11-11 17:01:03 UTC
same problem with 1.8.6.12
Comment 5 giggles1 2003-11-25 08:32:35 UTC
I had quit using bootsplash with test9, but started again with -test10.  The problem still persists, just so you are aware.
Comment 6 Scott Carmichael 2003-11-29 20:40:05 UTC
I got this to work properly by copying the 'splash' executable from the .tar.gz on http://www.aichler.net/gentoo/bootsplash/ to /sbin/splash_update and changing all references of /sbin/splash to /sbin/splash_update in functions.sh ... Now it all works. :) The progress bar on boot and on halt. Neat!
Comment 7 Jarkko Haapalainen 2003-12-06 09:38:51 UTC
I got that progress bar working too! :) Thanks, Scott!
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2003-12-13 05:07:32 UTC
As I said before .. the needed changes to the bootsplash ebuild is in
bug #21019.
Comment 9 Clark Torgerson 2004-01-02 07:13:16 UTC
Have these updates been applied to Portage yet? I haven't seen them. If not, is there something we can do to help out?
Comment 10 Troy Dack 2004-01-09 06:17:44 UTC
bootsplash-0.6-r3 committed to CVS.

This issue should now be fixed.

Sorry for the delay on this.