Bug 30018 - Don't hardcode UCC image fallback name / incorrect fallback name
Don't hardcode UCC image fallback name / incorrect fallback name
Status: CLOSED FIXED
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: Image management
unspecified
Other Linux
: P5 normal
: UCC 1.0
Assigned To: Moritz Muehlenhoff
Lukas Walter
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-14 11:19 CET by Moritz Muehlenhoff
Modified: 2013-03-26 09:13 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:
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 2013-01-14 11:19:35 CET
if the uccpxeboot listener module cannot query the image name from LDAP it falls back to the UCR variable ucc/pxe/image. If the UCR variable is not set it falls back to the hardcoded string "ucc-thinclient-v1.img".

This name is no longer valid, the current name is  ucc-1.0-thinclient-image.img

We shouldn't hardcode the name in the listener module, we should rather call

ucr set ucc/pxe/image?ucc-1.0-thinclient-image.img

in the postinst of univention-corporate-client.
Comment 1 Moritz Muehlenhoff univentionstaff 2013-01-14 17:04:00 CET
The hardcoded fallback has been removed. ucc/pxe/image is now set through the default image packages using "set?".

If still no default image is found, an error is written to the listener log.
Comment 2 Lukas Walter univentionstaff 2013-01-24 13:47:23 CET
OK -> ucc/pxe/image is set in ucc-default-images postinst (default: ucc-1.0-thinclient-image.img)
OK -> image name is not hardcoded anymore
OK -> if no image is deposited for a computer object in LDAP, the fallback value from ucc/pxe/image is used

Verified.
Comment 3 Moritz Muehlenhoff univentionstaff 2013-03-26 09:13:59 CET
UCC 1.0 has been released: 
http://forum.univention.de/viewtopic.php?f=26&t=2417
http://forum.univention.de/viewtopic.php?f=54&t=2418

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