Bug#602331: plymouth does not allow to enter maintenance shell
On Sat, 30 Aug 2014 23:27:47 +0200 Michael Prokop <mika@debian.org> wrote:
> * Laurent Bigonville [Fri Aug 01, 2014 at 03:55:17PM +0200]:
>
> > An idea on how this could be fixed? In Ubuntu they have added a "panic"
> > hook to initramfs-tools that is being called in the "panic()" function.
> > Do you think it's the way to go here?
>
> > Otherwise I can also provide a patch for the same function to directly
> > call the needed plymouth command ("plymouth quit")
>
> I just took a look at Ubuntu's i-t and their try_failure_hooks
> function with features related to plymouth etc totally makes sense
> for me, I'd love to see that in Debian's i-t as well, so if anyone
> is willing to work on it you'd have my full support for that.
I just encountered similar behaviour. panic() really needs to call
"plymouth quit" before trying to do anything else.
Ubuntu's initramfs-tools has a system for running scripts on panic, which
Ubuntu's plymouth makes use of to do exactly this. Any chance this can be
imported into Debian? It seems fairly straightforward.
Reply to: