Univention Bugzilla – Bug 34317
ucs-overview variables only set when joined
Last modified: 2014-07-14 10:50:38 CEST
This means that you don't have intuitive access to UMC after installation if you didn't join your, for example, memberserver. It could be favorable to access the UMC in order to reach the basic settings (for joining ;) ) management/univention-management-console-frontend/34univention-management-console-web-server.inst: " eval "$(ucr shell)" ucr set ucs/web/overview/entries/admin/umc/icon="/univention-management-console/js/dijit/themes/umc/icons/50x50/univention-management-console.png" \ ucs/web/overview/entries/admin/umc/label="System and domain settings" \ ucs/web/overview/entries/admin/umc/label/de="System- und Domäneneinstellungen" \ ucs/web/overview/entries/admin/umc/description="Univention Management Console for administrating the UCS domain $domainname and the system $hostname" \ ucs/web/overview/entries/admin/umc/description/de="Univention Management Console für die Verwaltung der UCS-Domäne $domainname und des Systems $hostname" \ ucs/web/overview/entries/admin/umc/link="/univention-management-console" \ ucs/web/overview/entries/admin/umc/priority="10" /etc/init.d/univention-management-console-web-server restart " At the moment, ucs-overview is empty after installation (without join). Tested this with a UCS 3.2-1 memberserver
Again noticed in a Technical Training Session: The overview-page should always provide a link to the local UMC to allow "root" to login to join the system. Currently http://.../univention-management-console/ has to be entered manually.
@Alex: Could you provide a patch for a solution (attached to this bug)?
Created attachment 5931 [details] patch: add an link to the umc-overview so you can also login if the system has not joined yet
* did not change 34univention-management-console-web-server.inst, so the following patch will be overwritten if the system joines the domain * the patch will add the following lines to univention-management-console-frontend.postinst: ---- # set ucs-overview variables - only if they aren't set, so the user can also login even the system has not joined the domain yet # instead of the normal text the user will see: 'Please login as root to join the domain' # this text will be overwritten if the system joins the master - see: 34univention-management-console-web-server.inst ucr set ucs/web/overview/entries/admin/umc/icon?"/univention-management-console/js/dijit/themes/umc/icons/50x50/univention-management-console.png" \ ucs/web/overview/entries/admin/umc/label?"System and domain settings" \ ucs/web/overview/entries/admin/umc/label/de?"System- und Domäneneinstellungen" \ ucs/web/overview/entries/admin/umc/description?"Please login as root to join the domain " \ ucs/web/overview/entries/admin/umc/description/de?"Bitte loggen Sie sich als Nutzer root ein, um der Domaine beizutreten." \ ucs/web/overview/entries/admin/umc/link?"/univention-management-console" \ ucs/web/overview/entries/admin/umc/priority?"10" /etc/init.d/univention-management-console-web-server restart
The patch looks fine. I would suggest the following little changes: > ucr set ucs/web/overview/entries/admin/umc/icon?"/univention-management-console/js/dijit/themes/umc/icons/50x50/univention-management-console.png" \ > ucs/web/overview/entries/admin/umc/label?"System and domain settings" \ > ucs/web/overview/entries/admin/umc/label/de?"System- und Domäneneinstellungen" \ > - ucs/web/overview/entries/admin/umc/description?"Please login as root to join the domain " \ > - ucs/web/overview/entries/admin/umc/description/de?"Bitte loggen Sie sich als Nutzer root ein, um der Domaine beizutreten." \ > - ucs/web/overview/entries/admin/umc/link?"/univention-management-console" \ > + ucs/web/overview/entries/admin/umc/description?"Please login as <i>root</i> to join the domain" \ > + ucs/web/overview/entries/admin/umc/description/de?"Bitte loggen Sie sich als Benutzer <i>root</i> ein, um der Domäne beizutreten" \ > + ucs/web/overview/entries/admin/umc/link?"/univention-management-console?username=root" \ > ucs/web/overview/entries/admin/umc/priority?"10" > -/etc/init.d/univention-management-console-web-server restart
Created attachment 5948 [details] updated the patch to include the hints
Patch looks good to me. Can you prepare it as erratum, please?
Added patch to svn and adapted yaml file. Package has been build. univention-management-console-frontend (3.0.152-31) * Bug #34317: set default link to UMC on UCS overview page
(In reply to Alexander Kramer from comment #8) > Added patch to svn and adapted yaml file. Package has been build. > > univention-management-console-frontend (3.0.152-31) > * Bug #34317: set default link to UMC on UCS overview page The suggestions from comment 5 have not been added to the SVN → reopen. YAML file looks fine :) .
Added the suggestions from comment 5 to svn. Also adapted the YAML file and the package has been build. univention-management-console-frontend (3.0.152-34) * Bug #34317: Adapted the default link on UCS overview page.
*** Bug 35242 has been marked as a duplicate of this bug. ***
Looks fine now :) → VERIFIED
http://errata.univention.de/ucs/3.2/149.html