Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140667 - media-gfx/splashutils-1.3-r1 "Splash daemon not running" flood
Summary: media-gfx/splashutils-1.3-r1 "Splash daemon not running" flood
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-16 09:48 UTC by Philip Kovacs
Modified: 2006-08-14 09:53 UTC (History)
2 users (show)

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


Attachments
Fixes the issues (x,1.72 KB, patch)
2006-07-18 04:33 UTC, Roy Marples (RETIRED)
Details | Diff
Fixes the issue (splash.patch,1.72 KB, patch)
2006-07-22 10:23 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Kovacs 2006-07-16 09:48:48 UTC
With this recent upgrade to splashutils-1.3-r1, my console gets flooded with the message "Splash daemon not running" during system shutdown.   I have splash in the 'default' run level.

Phil
Comment 1 Philip Kovacs 2006-07-16 12:51:42 UTC
ok, i found the reason and the fix.   

There was a spurrious /lib/splash/cache/daemon.pid file, dated about a week ago,
containing an old, invalid pid.   The shutdown cycle for splash goes ballistic with console messages when it cannot find the daemon indicated by the pid in that file.  It also does not clean up/delete that file (as it probably should).

rm /lib/splash/cache/daemon.pid

fixes it.   Funny thing is I never ran the splash daemon, so I don't know how that file got created in the first place.
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-07-18 04:33:39 UTC
Created attachment 92100 [details, diff]
Fixes the issues

This patch should fix the issue

Michal, I'm not entirely sure about the first hunk of this patch, but without it, it causes a "no valid runlevel" for the livecd-2006.0 theme. Removing it works, but so does changing $RUNLEVEL to $SOFTLEVEL and I'm not sure which is the right fix.
Comment 3 Michiel de Bruijne 2006-07-20 08:56:58 UTC
Problem also exists even if you don't have splash in any runlevel.
Comment 4 Roy Marples (RETIRED) gentoo-dev 2006-07-22 10:23:24 UTC
Created attachment 92505 [details, diff]
Fixes the issue

OK, we need to set SOFTLEVEL instead of RUNLEVEL.
Comment 5 Michal Januszewski (RETIRED) gentoo-dev 2006-08-09 06:40:39 UTC
Should be fixed in -r2.

I'm not sure about this "no valid runlevel" thing, though. When are you seeing this message? Where does it come from? I don't see how passing an additional argument to 2006.0's rc_init script (which it should simply ignore) could cause anything to break..
Comment 6 Roy Marples (RETIRED) gentoo-dev 2006-08-09 12:15:34 UTC
(In reply to comment #5)
> I'm not sure about this "no valid runlevel" thing, though. When are you seeing
> this message? Where does it come from?

The message is from the scripts in the livecd 2006.0 splash theme
It may only be triggered by baselayout-1.12.x as well.
Comment 7 Michal Januszewski (RETIRED) gentoo-dev 2006-08-09 15:26:01 UTC
I happen to be using sys-apps/baselayout-1.12.4-r2 and was unable to reproduce the problem, so I guess that's not it.

I also had a look at the 2006.0 theme scripts and they don't seem to contain the message 'no valid runlevel'. The only thing that looks vaguely similar is 'no internal runlevel provided'. I'm using gentoo-livecd-2006.0-0.9.3.tar.bz2.
Comment 8 Roy Marples (RETIRED) gentoo-dev 2006-08-14 09:53:45 UTC
Hmmm, actually it looks like that error may have been caused by an experimental baselayout I was running. If I get it again I'll open a new bug with more info :)