Bug 45939 - univention-welcome-screen fails in 4.3
univention-welcome-screen fails in 4.3
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Bootsplash
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.3
Assigned To: Felix Botner
Jürn Brodersen
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-21 17:12 CET by Felix Botner
Modified: 2018-03-14 14:38 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2017-12-21 17:12:34 CET
univention-welcome-screen uses hexdump on the $(ls /dev/input/by-path/*-kbd*) keyboard to detect if the user presses a key.

But in 4.3 ls /dev/input/by-path/*-kbd* returns nothing (no such file)

Is there another way to detect keyboard activity from a bash script?
Comment 1 Felix Botner univentionstaff 2017-12-21 17:46:53 CET
temporary fix (get device file from dmesg| grep keyboard and /sys/.../uevent:DEVICE_NAME) to get the installations tests going ...

hopefully somebody comes up with a better solution
Comment 2 Felix Botner univentionstaff 2018-01-08 15:28:52 CET
next problem, welcome screen is shown only a second and then replaced by the login prompt,

as this blocks the install tests, i remove the check for the welcome screen from utils/vnc-install-ucs.py, please re-enable this check once the problem is fixed
Comment 3 Felix Botner univentionstaff 2018-01-15 16:12:36 CET
seems that

more /etc/systemd/system/getty@.service.d/nottyreset.conf
# Warning: This file is auto-generated and might be overwritten by
#          univention-config-registry.
#          Please edit the following file(s) instead:
# Warnung: Diese Datei wurde automatisch generiert und kann durch
#          univention-config-registry ueberschrieben werden.
#          Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en):
# 
# 	/etc/univention/templates/files/etc/systemd/system/getty@.service.d/nottyreset.conf
# 

[Service]
TTYReset=no

does the trick

i still have to remove the "workaround" in utils/vnc-install-ucs.py
Comment 4 Felix Botner univentionstaff 2018-01-17 11:28:50 CET
> 
> i still have to remove the "workaround" in utils/vnc-install-ucs.py
done
Comment 5 Jürn Brodersen univentionstaff 2018-01-17 11:40:14 CET
(In reply to Felix Botner from comment #2)
> next problem, welcome screen is shown only a second and then replaced by the
> login prompt,
> 
> as this blocks the install tests, i remove the check for the welcome screen
> from utils/vnc-install-ucs.py, please re-enable this check once the problem
> is fixed

Quick note why that broke:
I looked at the plymouth changes in debian. It seems that a build option (--with-boot-tty) is not set in Stretch anymore so that plymouth now starts on tty1 and not on tty7 anymore. So plymouth is now on the same tty as the getty@tty1 service.
Comment 6 Jürn Brodersen univentionstaff 2018-03-02 11:13:21 CET
OK
welcome-scren works

-> Verifeid
Comment 7 Stefan Gohmann univentionstaff 2018-03-14 14:38:51 CET
UCS 4.3 has been released:
 https://docs.software-univention.de/release-notes-4.3-0-en.html
 https://docs.software-univention.de/release-notes-4.3-0-de.html

If this error occurs again, please use "Clone This Bug".