Univention Bugzilla – Bug 1156
Vormerkung fuer automatische UCS-Installation muss manuell entfernt werden
Last modified: 2013-11-19 06:41:35 CET
Bei der automatischen Installation von UCS-Servern mit Univention Server Installer muss nach oder während der Installation der Haken vor "(Neu-)Installation bei nächstem Systemstart" auf der Karteikarte "Neuinstallation" von Hand entfernt werden. Es soll der gleiche Mechanismus wie bei der Windows-Installation eingebaut werden. ucs1.1-22pre
Dazu sollten wir dem Rechner-Objekt die Möglichkeit geben das entsprechende Attribut am eigenen Objekt zu modifizieren. Das könnte einfach über ein Zusatzpaket implementiert werden, welches die ACL-Erweiterung mitbringt und ein Skript, welches im Profil angegeben wird. Diese Erweiterung sollte auf jeden Fall optional sein, da es sein kann, dass immer beim Boot entschieden werden soll, ob das System neu installiert wird oder nicht.
Mit r19623 wurde ein kleiner Daemon hinzugefügt. In der konkreten Anforderung konnte das nicht mit den Berechtigungen des Rechners durchgeführt werden, da der Join erst nach dem ersten regulären Boot durchgeführt wird.
Created attachment 4068 [details] server_installer_daemon.patch
univention-installer (9.0.23-1) contains the option to specify installation_feedback_host in the profile. (To be set to hostname or address of host with univention-net-installer-daemon) univention-net-installer (7.0.1-1) contains univention-net-installer-daemon; A package to be installed on a server if this functionality is desired. Changelog updated.
Functionality is OK and works, but some things need to be worked on: - The daemon can be configured to listen on an arbitrary portnumber, but the port is hardcoded in the installer -> make the port (optionally?) be configureable in the profile - The univention-net-installer source package now creates 2 packages -> rename postinst and dirs file to univention-net-installer.* - Set firewall rule for the installer-daemon - In its current state the daemon is susceptible for DoS: simply connect to it and do not send any data; the recv() call will wait forever and no new connections are possible. -> REOPEN
(In reply to Erik Damrose from comment #5) > - The univention-net-installer source package now creates 2 packages -> > rename postinst and dirs file to univention-net-installer.* Renamed to per-package files. > - Set firewall rule for the installer-daemon Firewall rules added to postinst. > - In its current state the daemon is susceptible for DoS: simply connect to > it and do not send any data; the recv() call will wait forever and no new > connections are possible. Added multithreading and timeouts. univention-net-installer (7.0.2-3)
(In reply to Erik Damrose from comment #5) > - The daemon can be configured to listen on an arbitrary portnumber, but the > port is hardcoded in the installer -> make the port (optionally?) be > configureable in the profile univention-installer (9.0.25-1) unstable; urgency=low * add installation_feedback_port (Bug #1156) Changelog updated.
Note: at the time of writing, univention-net-installer-daemon is available in the unmaintained repository. OK: now works as expected -> Verified
(In reply to Erik Damrose from comment #8) > Note: at the time of writing, univention-net-installer-daemon is available > in the unmaintained repository. Added to triggers/ucs_3.2-0.txt
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".