mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Aring <aar@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] plymouth in systemd emergency mode
Date: Wed, 22 Jun 2016 10:34:35 +0200	[thread overview]
Message-ID: <8bd0aa48-a705-b1a7-ee48-8606151b51d7@pengutronix.de> (raw)

Hi,

I detected somehow when systemd tries to get into emergency mode,
systemd will stop plymouth. See [0], which are also the unit files which
will be installed in ptxdist.

It seems that systemd has no [ -x $PLYMOUTH ] check to do that before.
So far I know there exists no ptxdist plymouth stuff.

I like to fix that but don't know how, I have the following things in my
as solution in my mind:

 - Add different ptxdist rules for all unit's which use plymouth calls?
 - The same like above but do that with sed? -> easier to maintain
 - Add a dummy implementation like /bin/false to /bin/plymouth?

All these are in my section for "workarounds".
 
I think the real solution is:
 - Talk with the systemd people how to disable plymouth dependencies in
   their unit files. Maybe add some [ -x $EXEC ] check to have some
   "OptionalExecStartPre" entry.

Michael do have some idea here?

- Alex

[0] https://github.com/systemd/systemd/blob/master/units/emergency.service.in

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2016-06-22  8:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8bd0aa48-a705-b1a7-ee48-8606151b51d7@pengutronix.de \
    --to=aar@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox