Bug 671677

Summary: systemd console output unusable
Product: [openSUSE] openSUSE 12.1 Reporter: Jiri Slaby <jslaby>
Component: BasesystemAssignee: Petr Uzel <puzel>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P3 - Medium CC: fcrozat, jengelh
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 696902    
Attachments: console output grabbed to a file
screenshot of tty1

Description Jiri Slaby 2011-02-14 11:24:13 UTC
Created attachment 413807 [details]
console output grabbed to a file

The output looks like in the attachment. It's hard to decode that there is an login prompt...

This is from ttyS0 when using console=ttyS0 (see bug 671674).
Comment 1 Jan Engelhardt 2011-02-18 19:40:18 UTC
This also happens on tty1. It's most likely the console messages interfering with the terminal settings getty applied.
Comment 2 Kay Sievers 2011-03-10 14:09:19 UTC
Any chance to check the Factory version? This *should* look better now.
Comment 3 Jiri Slaby 2011-03-10 16:07:53 UTC
(In reply to comment #2)
> Any chance to check the Factory version? This *should* look better now.

I think it's OK now. Thanks.
Comment 4 Kay Sievers 2011-03-10 16:09:54 UTC
Great. Thanks! Closing.
Comment 5 Jan Engelhardt 2011-03-10 19:11:26 UTC
Created attachment 418679 [details]
screenshot of tty1

The getty seems fine. Do you happen to know what is causing the other staircasing effect? (Is that perhaps because getty did already change the tty's params?)
Comment 6 Kay Sievers 2011-03-10 19:16:15 UTC
We usually have 'quiet' on the kernel commandline. The way sysv scripts try to write in several steps to a single line to the console is not pretty with systemd.
Comment 7 Jan Engelhardt 2011-03-10 19:18:13 UTC
Right, that's an LSB service there. Thanks.
Comment 8 Jan Engelhardt 2011-03-10 21:04:41 UTC
But if quiet is supposed to make things quiet, why is rckbd output shown still?
Comment 9 Jiri Slaby 2011-06-16 20:16:25 UTC
This recurred.

linux-b984.site login: ..done
                             Started LSB: Configure the remote-fs depending netw
ork interfaces.
               Started LSB: Monitors disk and tape health via S.M.A.R.T..
                                                                         Started LSB: Machine Check Architecture/Error (MCA/MCE) implementations.
                                                                 Started LSB: auditd daemon providing core auditing services.
                                             Started LSB: Start Name Service Cache Daemon.
          Started LSB: TI-RPC program number mapper.
                                                    Starting LSB: NFS client services...
        Starting LSB: handles udev coldplug of bluetooth dongles...
                                                                   Starting LSB: CUPS printer daemon...
                       Not starting NFS client services - no NFS found in /etc/fstab:..done
           ..unused
                   Starting cupsdStarted LSB: handles udev coldplug of bluetooth dongles.
         Started LSB: NFS client services.
                                          ..done
                                                Started LSB: CUPS printer daemon.
Comment 10 Frederic Crozat 2011-07-06 13:59:23 UTC
this is caused by agetty starting on tty1. Not sure why yet.
Comment 11 Jiri Slaby 2011-07-06 14:03:11 UTC
(In reply to comment #10)
> this is caused by agetty starting on tty1. Not sure why yet.

Note this happens both on tty1 and ttyS0 (simultaneously).

With this in /proc/cmdline:
BOOT_IMAGE=/boot/vmlinuz-3.0.0-rc5-2-desktop root=UUID=cf48897f-62c1-4314-ad2f-75e9ff0b32ed console=tty0 console=ttyS0,115200
Comment 12 Frederic Crozat 2011-07-07 08:37:03 UTC
After discussing with upstream, it might be a bug in agetty caused by BKL removal (see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/554172/comments/245 for why).

Fortunately, Werner fixed various issue in agetty in util-linux git and running agetty --noclear tty1 from git fixes the bug.

We should need upstream to do a new util-linux release or to port Werner fixes to current util-linux (not trivial, code moved a bit since 2.19.1).

assigning to util-linux maintainer.
Comment 13 Petr Uzel 2011-08-01 14:03:15 UTC
util-linux-2.20-rc1 is released - I'm working on the packaging.
Comment 14 Petr Uzel 2011-08-02 14:14:36 UTC
(In reply to comment #13)
> util-linux-2.20-rc1 is released - I'm working on the packaging.

Submitted to Factory, closing.