Univention Bugzilla – Bug 33255
The join progress bar does not show the name of the currently executed join script
Last modified: 2022-06-08 16:50:24 CEST
(1) The progressbar shows the name of the last executed join script, not the currently executed join script. (2) "component" is always "Executing join scripts", "info" is always "Executing join script %s", at least I haven't seen anything else. This does not give enough information for something as crucial as the join process. "component" should be "Executing join script %s", "info" should be the last line of the log file.
yes… What else information do you want to see? The Log-polling had been replaced by the progressbar. Currently stdout of univention-join is parsed which doesn't give any further information.
(In reply to Dirk Wiesenthal from comment #0) > (1) The progressbar shows the name of the last executed join script, not the > currently executed join script. Yes that makes it in-transparent. (In reply to Dirk Wiesenthal from comment #0) > "component" should be "Executing join script %s", "info" should be the last > line of the log file. Does it really help to show all internal logfile lines in the GUI?
(In reply to Stefan Gohmann from comment #2) > (In reply to Dirk Wiesenthal from comment #0) > > "component" should be "Executing join script %s", "info" should be the last > > line of the log file. > > Does it really help to show all internal logfile lines in the GUI? Does it really help to show all dpkg output lines in the App Center? The line itself may not be very relevant, but some scripts take a lot of time in large environments. The log lines could help verifying the script is up and running. If $(tail -f)ing the log file is too complicated, it is not necessary. But this is the common way of using the "info" field in the ProgressBar. Any other ideas?
Created attachment 7416 [details] patch
(In reply to Florian Best from comment #4) > Created attachment 7416 [details] > patch The patch only fixes that the currently executed joinscript is displayed. No more additional input e.g. tailing of the logfile.
Created attachment 7417 [details] patch This is btw really useful when only executing a few or one joinscript as in that case nothing is displayed at all currently!
*** Bug 30203 has been marked as a duplicate of this bug. ***
Still in UCS 4.4 and even worse in large environments, where it shows 'Running pre-joinscripts hook(s)' all the time until the longest joinscript 03univention-directory-listener.inst is finished. The patch is in UCS@school since years, iirc slightly adapted.
We also have to integrate UCS@school's git:19ea669ce2854d9413d407f9b10301c4fd475292.
When executing join scripts via UMC module "Domain Join" the progress bar will now display the name of the currently running script instead of the last script that was finished. Additionally some error handling was added and logging was cleaned up. Package: univention-join Version: 12.0.3-14A~5.0.0.202206011612 Branch: ucs_5.0-0 Scope: errata5.0-1 git:4f017f810f62bbb390a30e9d237bc1677c8ea98a git:983a31a3f4a8dcf304bda7abe436b5e540721a68 git:7115d802dd48047127a855ca12e98f1c356fb498 git:527403c02af9a9b30f1be8f0e4f523026d3b33cc git:8a6399a37a672d0d8c825aebd04a8c53b57ba6aa
OK: currently executed joinscript is shown OK: error handling OK: refactoring OK: YAML ~OK: the join hooks are not detected, especially in UCS@school it then shows a long time just "authenticating" while the join hooks are running.
<https://errata.software-univention.de/#/?erratum=5.0x327>