Send plymouth mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.freedesktop.org/mailman/listinfo/plymouth
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of plymouth digest..."


Today's Topics:

   1. plymouth retain-splash (Muhammad Ammar)
   2. Re: plymouth retain-splash (Ray Strode)


----------------------------------------------------------------------

Message: 1
Date: Mon, 4 Oct 2010 11:40:20 +0500
From: Muhammad Ammar <[email protected]>
Subject: plymouth retain-splash
To: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi All,

I am a user of Fedora 13. Whenever i reboot or shutdown the system,
following things happen

1. contol switched to console showing messages (e.g, Stopping HAL daemon: [
OK ] etc. )
2. then contol shows a plymouth splash of fedora

What i needed is, do not perform the step 1 just perform step 2 everytime i
reboot or shutdown the system.

I added the --retain-splash parameter in file
/etc/init/plymouth-shutdown.conf but saw no effect.

What i am doing wrong?

Any suggestion?

Can anyone point me into the right direction?

Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/plymouth/attachments/20101004/ec421212/attachment-0001.htm>

------------------------------

Message: 2
Date: Mon, 4 Oct 2010 13:33:26 -0400
From: Ray Strode <[email protected]>
Subject: Re: plymouth retain-splash
To: Muhammad Ammar <[email protected]>
Cc: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=UTF-8

Hi,

On Mon, Oct 4, 2010 at 2:40 AM, Muhammad Ammar <[email protected]> wrote:
> Hi All,
> I am a user of Fedora 13. Whenever i reboot or shutdown the system,
> following things happen
> 1. contol switched to console showing messages (e.g,?Stopping HAL daemon: [
> OK ] etc.?)
> 2. then contol shows a plymouth splash of fedora
> What i needed is, do not perform the step 1 just perform step 2 everytime i
> reboot or shutdown the system.
I believe I fixed this after fedora 13:

http://git.fedorahosted.org/git/?p=initscripts.git;a=commit;h=9d1c6c1e3bf176d3f89de4ec5551f9960c4986ed

---8<------------------------------------------------------------------------------------------------------------------------------
Improve shutdown splash screen reliability

Right now the splash screen and rc script are
racing with each other so you occasionally see a few
shutdown messages before plymouth is up.

This commit ensures proper synchronization between prefdm,
plymouthd, and the rc script.

It does this by

1) fully stopping prefdm before letting rc start
2) fully starting plymouth before letting rc start
3) if prefdm is running (e.g. runlevel 5), waiting until it
   is fully stopped before starting plymouthd
4) if prefdm is not running (e.g. runlevel 3), starting
   plymouthd right away

One bit of complication in this commit is the "splash
manager".  It's a layer of indirection needed to handle the
conditional mentioned in 3) and 4).

There's no way within an upstart job file to say "start
after the prefdm "stopped" event only if prefdm is not already
stopped". We really need this to effectively happen, though,
because if prefdm isn't in the process of stopping (because
it was never started in the first place), it will never emit
the stopped event and blocking for an event that never comes
mean shutdown would never start.

The splash manager checks if prefdm is already running and
uses that information to emit an appropriate event that the
plymouth-shutdown job can key of off.

Note, one implication of 4) is we are showing plymouth when
shutting down from runlevel 3 now.  This is a change in
behavior, but makes sense, since we show plymouth when
starting up into runlevel 3.

----------------------->8-------------------------------------------------

--Ray


------------------------------

_______________________________________________
plymouth mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/plymouth


End of plymouth Digest, Vol 24, Issue 1
***************************************

Reply via email to