Bug 57406 - screen is no longer installed by default
screen is no longer installed by default
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-8-errata
Assigned To: Dirk Wiesenthal
Ole Schwiegert
:
: 57411 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2024-06-26 13:13 CEST by Christina Scheinig
Modified: 2024-07-03 15:16 CEST (History)
5 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.137
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): bitesize
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christina Scheinig univentionstaff 2024-06-26 13:13:59 CEST
I installed a fresh UCS5-0-8 
ucs-kt-instance-create -O UCS -A amd64 -i /mnt/omar/vmwares/iso-images/ucs/5.0-8/UCS_5.0-8-amd64.iso -s 20G -m 4GiB -N ucs-508-43-244
and updated to the latest errata

root@sonne:~# univention-upgrade 

Starting univention-upgrade. Current UCS version is 5.0-8 errata1060

Checking for local repository:                          none
Checking for package updates:                           found

The following packages will be upgraded:
 univention-management-console,univention-management-console-web-server,univention-management-console-server,python3-univention-management-console,univention-management-console-login,univention-management-console-frontend,python-univention-management-console,univention-management-console-module-diagnostic,libcupsimage2,cups-common,cups-bsd,cups-client,libcups2,firefox-esr,univention-errata-level,univention-management-console-web-server-fix

Do you want to continue [Y|n]?Y

Starting package upgrade                                done

Starting univention-upgrade. Current UCS version is 5.0-8 errata1068

Checking for local repository:                          none
Checking for package updates:                           none
Checking for app updates:                               none
Checking for release updates:                           none
Setting update/available

and still screen is not available
root@sonne:~# screen
-bash: screen: Kommando nicht gefunden.

This is important opening support reverse tunnel. We do expect this to be installed!
Comment 1 Dirk Wiesenthal univentionstaff 2024-06-26 13:37:22 CEST
I suspect this package coming from

$ apt show univention-updater | grep screen
Recommends: screen

This is still the case in 5.0-8. But indeed, it is not installed. Maybe we now create templates (which should already include univention-updater) with --no-install-recommends?

Btw 1: I neither had the package in 5.0-7.
Btw 2: It still counts as "maintained", as in: it is not listed in "univention-list-installed-unmaintained-packages"
Comment 2 Christina Scheinig univentionstaff 2024-06-26 13:44:54 CEST
(In reply to Dirk Wiesenthal from comment #1)
> I suspect this package coming from
> 
> $ apt show univention-updater | grep screen
> Recommends: screen
> 
> This is still the case in 5.0-8. But indeed, it is not installed. Maybe we
> now create templates (which should already include univention-updater) with
> --no-install-recommends?
> 
> Btw 1: I neither had the package in 5.0-7.
> Btw 2: It still counts as "maintained", as in: it is not listed in
> "univention-list-installed-unmaintained-packages"

Yes it was the case in 5.0-7, this was discussed in the chat, but nothing changed, so here is the bug
Comment 4 Dirk Wiesenthal univentionstaff 2024-06-27 10:06:50 CEST
I added screen to the DVD again. Nightly tests show it is installed (00_checks.06_list_installed_packages).

univention-dvd (5.0.5-2)
67250baa4127 | Bug #57406: Add screen to the DVD packages so that it can be installed as recommendation from univention-updater (useful for Support)

It was a change done during 5.0-6 development in an effort to optimize DVD size. So all new machines with 5.0-6, 5.0-7, 5.0-8 will have this problem. 5.0-9 installations will be fine. (Interestingly, 5.2-0 was never affected)

I will have a look if we can retro-actively install screen during univention-upgrade.
Comment 6 Dirk Wiesenthal univentionstaff 2024-06-27 14:33:10 CEST
Package: univention-support-info
Version: 6.0.0-7
Branch: 5.0-0
Scope: errata5.0-8

Added screen as "Recommends:" to univention-support-info. This should install it during univention-upgrade.

QA: univention-support-info has its own repository. A cherry-pick to 5.2-0 is unnecessary as it is already Recommended by univention-updater. And because univention-support-info.git has no "UCS branches" anyway.
Comment 7 Dirk Wiesenthal univentionstaff 2024-06-28 13:28:02 CEST
Added 00_checks/31_check_package_installations that currently only checks for screen so that this never happens again.

ucs-test (10.0.22-14)
39771c53eb70 | Bug #57406: Add new test to verify screen is installed

Cherry-picked to 5.2 as well
Comment 8 Philipp Hahn univentionstaff 2024-06-28 13:32:59 CEST
(In reply to Dirk Wiesenthal from comment #7)
> Added 00_checks/31_check_package_installations that currently only checks

With abyssal shell code:
- no quoting
- incorrect locale handling, e.g. none

Searching for pre-existing code would have helped: `git grep -e checkpkg -e requiresoftware -- lib/base.sh`
Comment 9 Jan-Luca Kiok univentionstaff 2024-07-01 10:16:09 CEST
*** Bug 57411 has been marked as a duplicate of this bug. ***
Comment 10 Dirk Wiesenthal univentionstaff 2024-07-03 13:13:51 CEST
Thanks for the hint. I prettified 00_checks/31_check_package_installations
Comment 11 Dirk Wiesenthal univentionstaff 2024-07-03 15:16:51 CEST
<https://errata.software-univention.de/#/?erratum=5.0x1080>