Bug 53761 - App's configure script is not run if App's configure_host script reinitialized the container
App's configure script is not run if App's configure_host script reinitialize...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 5.0-0-errata
Assigned To: Dirk Wiesenthal
Florian Best
:
: 52520 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-09-08 22:59 CEST by Dirk Wiesenthal
Modified: 2021-09-15 17:41 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 4: A User would return the product
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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2021-09-08 22:59:01 CEST
Because the re-initialization effectively deletes the container and builds a new one, the App is now considered as "not running". The App Center still has the old UCR variable for the container id.

It lacks a simple

ucr_load()

in docker_configure.py's _run_configure_script()
Comment 1 Dirk Wiesenthal univentionstaff 2021-09-08 22:59:56 CEST
*** Bug 52520 has been marked as a duplicate of this bug. ***
Comment 2 Dirk Wiesenthal univentionstaff 2021-09-14 10:07:53 CEST
univention-appcenter.yaml
f51b07e78884 | Bug #53761: YAML

univention-appcenter (9.0.2-66)
c7ee803da9d5 | Bug #53761: Load new UCR variables during configure

ucs-test (10.0.6-44)
3e588672cec6 | Bug #53761: Add test for reinitializing during configure
Comment 4 Erik Damrose univentionstaff 2021-09-15 17:41:57 CEST
<https://errata.software-univention.de/#/?erratum=5.0x92>