close Warning: Can't synchronize with repository "keplertools" (/srv/svn/keplertools does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 4 and Version 5 of LtspServerUpdate


Ignore:
Timestamp:
Apr 30, 2012, 1:18:02 PM (15 years ago)
Author:
Rüdiger Kupper
Comment:

inetd

Legend:

Unmodified
Added
Removed
Modified
  • LtspServerUpdate

    v4 v5  
    4040Die GRUB-Konfiguration der Server wird während des Updates möglicherweise überschrieben. Siehe LtspServerGrub.
    4141
     42==== NBD ====
     43Die Konfiguration des //Network-Block-Device-Servers// (nbd-server) wird beim Update des LTSP-Paketes möglicherweise überschrieben. Über NBD werden die Images der LtspClients verteilt.
    4244
    43 ==== NBD ====
    44 Die Konfiguration des Network-Block-Device-Servers (NBD) wird beim Update des LTSP-Paketes möglicherweise überschrieben. Die Konfiguration steht im Verzeichnis `/etc/nbd-server/`
     45Die Konfiguration steht im Verzeichnis `/etc/nbd-server/`. Dort müssen die Client-Images als NBD-Devices eingetragen werden. Die Konfiguration sieht typischerweise so aus:
     46
     47`/etc/nbd-server/config`:
     48{{{
     49[generic]
     50user = nobody
     51group = nogroup
     52oldstyle = false
     53
     54[ltsp_i386]
     55exportname = /opt/ltsp/images/i386.img
     56readonly = true
     57}}}
     58
     59
     60==== Inet-Daemon ====
     61Die Konfiguration des //Internet-Superservers// (inetd) wird beim Update möglicherweise überschrieben. Der inetd startet die diversen Internetdienste und lässt sie an festgelegten Ports horchen. Für LTSP sind die TCP-Dienste `ldminfod`, `nbdswapd` und `nbdrootd` nötig und müssen hier konfiguriert werden.
     62Die Konfiguration sieht typischerweise so aus:
     63
     64`/etc/inetd.conf`:
     65{{{
     66# /etc/inetd.conf:  see inetd(8) for further informations.
     67#
     68# Internet superserver configuration database
     69#
     70#
     71# Lines starting with "#:LABEL:" or "#<off>#" should not
     72# be changed unless you know what you are doing!
     73#
     74# If you want to disable an entry so it isn't touched during
     75# package updates just comment it out with a single '#' character.
     76#
     77# Packages should modify this file by using update-inetd(8)
     78#
     79# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
     80#
     81#:INTERNAL: Internal services
     82#discard                stream  tcp     nowait  root    internal
     83#discard                dgram   udp     wait    root    internal
     84#daytime                stream  tcp     nowait  root    internal
     85#time           stream  tcp     nowait  root    internal
     86
     87#:STANDARD: These are standard services.
     88
     89#:BSD: Shell, login, exec and talk are BSD protocols.
     90
     91#:MAIL: Mail, news and uucp services.
     92
     93#:INFO: Info services
     94
     95#:BOOT: TFTP service is provided primarily for booting.  Most sites
     96#       run this only on machines acting as "boot servers."
     97
     98#:RPC: RPC based services
     99
     100#:HAM-RADIO: amateur-radio services
     101
     102#:OTHER: Other services
     103#<off># sane-port       stream  tcp     nowait  saned:saned     /usr/sbin/saned saned
     104
     1059571           stream  tcp     nowait  nobody /usr/sbin/tcpd /usr/sbin/ldminfod
     1069572             stream  tcp nowait  nobody /usr/sbin/tcpd /usr/sbin/nbdswapd
     107
     1082000               stream  tcp nowait  nobody /usr/sbin/tcpd /usr/sbin/nbdrootd /opt/ltsp/images/karmic-i386.img
     1092002               stream  tcp nowait  nobody /usr/sbin/tcpd /usr/sbin/nbdrootd /opt/ltsp/images/maverick-i386.img
     1102001               stream  tcp nowait  nobody /usr/sbin/tcpd /usr/sbin/nbdrootd /opt/ltsp/images/i386.img
     111}}}
    45112
    46113TODO