What stops plymouthd late in boot with systemd?

Colin Guthrie gmane at colin.guthr.ie
Sun Mar 18 16:03:23 PDT 2012


'Twas brillig, and Daniel Drake at 17/03/12 17:48 did gyre and gimble:
> We're working with adopting OLPC's boot animation for plymouth on F17
> and making good progress.
> 
> A question: during a boot with systemd, what is the process/mechanism
> used to make plymouthd quit just before starting X?

Yeah, plymouth-quit-wait.service specifically conflicts with prefdm.service.

If you follow the /etc/X11/prefdm script, you'll see that depending on
the display manager used, it will quit plymouth or let the display
manager (e.g. gdm) do it itself.

The latter approach is used to provide a smooth transition.

> The context is that I'm trying to run a script (to completion)
> immediately *before* the plymouth daemon is terminated, and I'm not
> sure where I can hook this in.

Well the prefdm script is your best bet, but keep in mind that gdm (or
other dm's) can and will quit plymouth internally, so there may not be a
hook point for your to use in that particular setup.

HTHs

Col


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/



More information about the plymouth mailing list