Bug 35006 - ucc-image-download fails to execute join scripts on non-master/backup
ucc-image-download fails to execute join scripts on non-master/backup
Status: CLOSED FIXED
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: Image management
unspecified
Other Linux
: P5 normal
: UCC 2.0
Assigned To: Alexander Kläser
Moritz Muehlenhoff
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-28 10:43 CEST by Moritz Muehlenhoff
Modified: 2014-06-12 09:19 CEST (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:
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 Moritz Muehlenhoff univentionstaff 2014-05-28 10:43:44 CEST
ucc-image-download was rewritten in Python for UCC 2.0 (as part of the integration into the UMC module).

When downloading an image on a non-DC it trys to execute the join script, which fails since -dcpwd and -dcaccount are not properly passed:

/bin/bash /usr/sbin/univention-run-join-scripts --run-scripts 95ucc-2.0-thinclient-image.img.inst

I think the tool should simply state to run univention-run-join-scripts.

Not critical: The actual download works (only the execution of the join script fails) and the standard way of using the UMC module is working fine.
Comment 1 Alexander Kläser univentionstaff 2014-05-28 11:02:17 CEST
The behaviour has been slightly modified such that:
* master/backup via CLI/UMC: join script is executed directly
* non-master via CLI: join script is not executed and a warning is displayed
* non-master via UMC: join script is executed with UMC user credentials

ucc-image-toolkit (2.0.21-1):
* Bug #34360: make sure that a UCC image join script is not executed on
  non-master systems without credentials
Comment 2 Moritz Muehlenhoff univentionstaff 2014-05-30 07:38:48 CEST
Ok, the following message is now displayed when downloading an image on a member server:

Running join script 95ucc-2.0-thinclient-image.img.inst
WARN: Please run univention-run-join-scripts manually to execute a new join script which has been registered for this UCC image.
Comment 3 Moritz Muehlenhoff univentionstaff 2014-06-12 09:19:41 CEST
UCC 2.0 has been released:
 http://docs.univention.de/release-notes-ucc-2.0.html

If this error occurs again, please use "Clone This Bug".