Bug 40897

Summary: 00_checks/99check_log_files finds errors in updater.log due to univention-register-apps
Product: UCS Reporter: Dirk Wiesenthal <wiesenthal>
Component: System setupAssignee: Dirk Wiesenthal <wiesenthal>
Status: CLOSED FIXED QA Contact: Alexander Kläser <klaeser>
Severity: normal    
Priority: P5    
Version: UCS 4.1   
Target Milestone: UCS 4.1-1-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- 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:

Description Dirk Wiesenthal univentionstaff 2016-03-14 15:18:59 CET
In univention-system-setup-boot.postinst:

if [ "$1" = "configure" ] && [ ! -e /var/univention-join/joined ]; then
  /usr/sbin/univention-register-apps
fi

Read: If the system is not joined yet, register all Apps. This is not really intended, the ini files should just be up-to-date. But before UCS 4.1 there was no script to simply update the App Center cache.

What it does is: It tries to register an App _before_ the join scripts are called. But the join scripts are needed for the UDM module appcenter/app to be present. register-apps needs this module to save in LDAP which App is installed where.

FIX: use univention-app update
Comment 1 Dirk Wiesenthal univentionstaff 2016-03-14 16:08:33 CET
Fixed in
  univention-system-setup 9.0.4-4.949.201603141605
Comment 2 Alexander Kläser univentionstaff 2016-03-14 16:31:23 CET
Changes: OK
YAML file: OK

→ VERIFIED
Comment 3 Philipp Hahn univentionstaff 2016-03-18 15:11:11 CET
<http://errata.software-univention.de/ucs/4.1/136.html>