← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1442405] Re: plymouth locks console termios, breaking serial consoles

 

On Fri, Apr 10, 2015 at 01:40:13AM -0000, Andy Lutomirski wrote:
> The official docs [1] say to do:

Dangling reference here; I don't know which doc you got this from.

> --- cut here ---
> # ttyS0 - getty
> #
> # This service maintains a getty on ttyS0 from the point the system is
> # started until it is shut down again.
> 
> start on stopped rc or RUNLEVEL=[12345]

That is certainly incorrect.  There should be no 'or' here.

> --- cut here ---
> # ttyS1 - getty
> #
> # This service maintains a getty on ttyS1 from the point the system is
> # started until it is shut down again.

> start on stopped rc RUNLEVEL=[2345] and (
>             not-container or
>             container CONTAINER=lxc or
>             container CONTAINER=lxc-libvirt)

Your version does look correct.

> But this isn't a race -- IMO it really is a bug, if only a documentation
> bug perhaps.  plymouth-stop.conf has:

> start on (starting gdm
>           or starting kdm
>           or starting xdm
>           or starting lxdm
>           or starting lightdm
>           or starting uxlaunch
>           or starting ubiquity
>           or starting oem-config
>           or stopped rc RUNLEVEL=[2345]
>           or starting rcS
>           or starting mountall-shell)

> It never runs at all on a non-graphical system.

Why do you say that it doesn't?  The 'stopped rc RUNLEVEL=2' event, when
emitted, should trigger this job to be called.  This is the same event that
triggers the start of your tty job, so it certainly is being emitted.

You definitely don't have any of the gdm, lightdm, ubiquity, or oem-config
services installed, correct?

Do you have a /var/log/upstart/plymouth-stop.log on the affected system?  If
so, please attach it.

Please also show the output of 'sudo initctl list | grep plymouth' on this
system.

> Please reopen.

The bug is not closed.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1442405

Title:
  plymouth locks console termios, breaking serial consoles

Status in plymouth package in Ubuntu:
  Incomplete
Status in upstart package in Ubuntu:
  Invalid

Bug description:
  I have a more or less standard non-graphical Ubuntu 14.04 server
  installation.  I boot with console=ttyS1,115200, and I have
  /etc/init/ttyS1.conf that's more or less the same as all the standard
  /etc/init/ttyN.conf files.

  The serial console login doesn't work because plymouth seems to think
  it's showing its bootsplash and it locks the termios settings using
  TIOCSLCKTRMIOS.  This completely breaks /bin/login, which *requires*
  working buffered mode.

  I have no idea what mechanism is supposed to tell Plymouth to dismiss
  its splash screen when boot up is done, but it's clearly broken.  What
  gives?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1442405/+subscriptions


References