← Back to team overview

touch-packages team mailing list archive

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

 

The official docs [1] say to do:

--- 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]
stop on runlevel [!12345]

respawn
exec /sbin/getty -L 115200 ttyS0 vt102
--- cut here ---

I have:

--- 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)

stop on runlevel [!2345]

respawn
exec /sbin/getty -8 115200 ttyS1
--- cut here ---

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.  Heck, I don't even see
why console=tty1 or perhaps no console arg at all works correctly if
there's no graphical greeter in that list.  This isn't a race -- it's
just completely broken in these configurations.

IMO plymouth should stop whenever a getty starts on the tty that
plymouth is in charge of.

Please reopen.

-- 
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


Follow ups

References