Bug 29923 - Remote-Logging von UCC-Clients
Remote-Logging von UCC-Clients
Status: CLOSED FIXED
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: Client management
unspecified
Other Linux
: P5 normal
: UCC 1.0
Assigned To: Felix Botner
Moritz Muehlenhoff
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-04 13:31 CET by Moritz Muehlenhoff
Modified: 2013-03-26 09:14 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

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2013-01-04 13:31:04 CET
UCC-Clients sollten generell immer nur remote loggen; durch den Betrieb über das Overlaysfs gehen ansonsten die lokalen Logmessages verloren.

Standardmässig sollte die Protokollierung auf den UCC-Server erfolgen (und optional per UCR-Variable konfigurierbar sein).

Eine erste Implementierung gibt es an https://forge.univention.org/bugzilla/show_bug.cgi?id=28973#c3
Comment 1 Stefan Gohmann univentionstaff 2013-01-04 16:53:43 CET
Wenn das konfiguriert wird, sollten auch die Einträge in die grub-Konfiguration geschrieben werden, damit der Remote-Syslog-Server auch dort verwendet wird:

 syslog=y syslogserver=<server>
Comment 2 Felix Botner univentionstaff 2013-01-16 11:01:57 CET
syslog=? und syslogserver=??? werden nun bei der Installation in grub/append übernommen, /etc/init/ucc-base prüft das ebenfalls nochmal (fall syslog* noch nicht in grub/append gesetzt sind.)

Es gibt nun ein Template für /etc/rsyslog.d/100-ucc.conf, in dem der syslogserver aus grub/append als remote logging Server verwendet wird.

syslog=y und syslogserver=IP werden auf dem UCS Server in ucc/pxe/append gesetzt.
Comment 3 Moritz Muehlenhoff univentionstaff 2013-02-01 15:46:14 CET
Ich habe noch ucc-pxe-boot ergänzt, so dass das Empfangen der Logs im rsyslogd automatisch aktiviert wird. Außerdem wird der Port 514 jetzt in Univention Firewall freigeschaltet.

Syslog-Ausgaben des Clients landen damit jetzt auf dem UCC-Server und im lokalen syslog.
Comment 4 Moritz Muehlenhoff univentionstaff 2013-03-26 09:14:46 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".