Bug 33793 - Disable domain-join (and execute pending join scripts) during app installation
Disable domain-join (and execute pending join scripts) during app installation
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Domain join
UNSTABLE
Other Linux
: P5 normal (vote)
: UCS 3.2-0-errata
Assigned To: Dirk Wiesenthal
Florian Best
:
Depends on:
Blocks: 43882
  Show dependency treegraph
 
Reported: 2013-12-20 10:41 CET by Felix Botner
Modified: 2017-03-15 17:17 CET (History)
2 users (show)

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:
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 Felix Botner univentionstaff 2013-12-20 10:41:46 CET
If an app is installed, there is a short time window where to join script are already installed but not executed (package is extracted but not installed). If the domain join module is opened in this time window, the module complains about pending join-script. But this is not the right moment to execute these script since the packages are not fully installed/configured.

Better to disable the join module during an app installation.
Comment 1 Felix Botner univentionstaff 2013-12-20 10:41:56 CET
Ticket: #2013121821002352
Comment 2 Dirk Wiesenthal univentionstaff 2014-01-07 16:57:09 CET
As discussed. Only disable join script execution via the UMC module while an App is installed. univention-run-join-scripts (as command-line tool) still works (and may break something if called at the "right" moment).

App installation is checked by testing the dpkg lock - this way apt-get install univention-samba is also caught.

Fixed in
  univention-join 6.0.16-3.462.201401071633

Also fixed a bug regarding methods still running although an error was returned as response earlier.

Also added the new function in the demo configuration!

YAML created.
Comment 3 Florian Best univentionstaff 2014-01-13 14:09:24 CET
(In reply to Dirk Wiesenthal from comment #2)
> As discussed. Only disable join script execution via the UMC module while an
> App is installed. univention-run-join-scripts (as command-line tool) still
> works (and may break something if called at the "right" moment).
OK

> App installation is checked by testing the dpkg lock - this way apt-get
> install univention-samba is also caught.
OK

> Fixed in
>   univention-join 6.0.16-3.462.201401071633
> 
> Also fixed a bug regarding methods still running although an error was
> returned as response earlier.
OK

> Also added the new function in the demo configuration!
OK

> YAML created.
OK
Comment 4 Moritz Muehlenhoff univentionstaff 2014-01-22 11:52:35 CET
http://errata.univention.de/ucs/3.2/27.html