Bug 40897 - 00_checks/99check_log_files finds errors in updater.log due to univention-register-apps
00_checks/99check_log_files finds errors in updater.log due to univention-reg...
Product: UCS
Classification: Unclassified
Component: System setup
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-1-errata
Assigned To: Dirk Wiesenthal
Alexander Kläser
Depends on:
  Show dependency treegraph
Reported: 2016-03-14 15:18 CET by Dirk Wiesenthal
Modified: 2016-03-18 15:11 CET (History)
0 users

See Also:
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:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
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

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

Comment 3 Philipp Hahn univentionstaff 2016-03-18 15:11:11 CET