| 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/` |
| | 45 | Die 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] |
| | 50 | user = nobody |
| | 51 | group = nogroup |
| | 52 | oldstyle = false |
| | 53 | |
| | 54 | [ltsp_i386] |
| | 55 | exportname = /opt/ltsp/images/i386.img |
| | 56 | readonly = true |
| | 57 | }}} |
| | 58 | |
| | 59 | |
| | 60 | ==== Inet-Daemon ==== |
| | 61 | Die 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. |
| | 62 | Die 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 | |
| | 105 | 9571 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/ldminfod |
| | 106 | 9572 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nbdswapd |
| | 107 | |
| | 108 | 2000 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nbdrootd /opt/ltsp/images/karmic-i386.img |
| | 109 | 2002 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nbdrootd /opt/ltsp/images/maverick-i386.img |
| | 110 | 2001 stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nbdrootd /opt/ltsp/images/i386.img |
| | 111 | }}} |