Bug 1156 - Vormerkung fuer automatische UCS-Installation muss manuell entfernt werden
Vormerkung fuer automatische UCS-Installation muss manuell entfernt werden
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCS Net Installer
UNSTABLE
i386 Linux
: P4 enhancement (vote)
: UCS 3.2
Assigned To: Janek Walkenhorst
Erik Damrose
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-06-03 16:34 CEST by Barbara Meurin
Modified: 2013-11-19 06:41 CET (History)
1 user (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
server_installer_daemon.patch (15.07 KB, patch)
2012-01-04 13:59 CET, Stefan Gohmann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Barbara Meurin univentionstaff 2004-06-03 16:34:53 CEST
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
Comment 1 Stefan Gohmann univentionstaff 2010-01-21 16:17:03 CET
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.
Comment 2 Stefan Gohmann univentionstaff 2010-09-09 09:00:35 CEST
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.
Comment 3 Stefan Gohmann univentionstaff 2012-01-04 13:59:10 CET
Created attachment 4068 [details]
server_installer_daemon.patch
Comment 4 Janek Walkenhorst univentionstaff 2013-09-16 15:58:13 CEST
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.
Comment 5 Erik Damrose univentionstaff 2013-09-19 10:53:29 CEST
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
Comment 6 Janek Walkenhorst univentionstaff 2013-09-26 13:07:26 CEST
(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)
Comment 7 Janek Walkenhorst univentionstaff 2013-09-26 13:27:13 CEST
(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.
Comment 8 Erik Damrose univentionstaff 2013-09-27 16:45:02 CEST
Note: at the time of writing, univention-net-installer-daemon is available in the unmaintained repository.

OK: now works as expected
-> Verified
Comment 9 Janek Walkenhorst univentionstaff 2013-10-07 10:02:36 CEST
(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
Comment 10 Stefan Gohmann univentionstaff 2013-11-19 06:41:35 CET
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".