[Bug 390155] Re: Inconsistent server IP: 192.168.0.[1-or-254]

Launchpad Bug Tracker 390155 at bugs.launchpad.net
Thu Feb 23 19:25:12 UTC 2012


This bug was fixed in the package ltsp - 5.3.2-0ubuntu1

---------------
ltsp (5.3.2-0ubuntu1) precise; urgency=low

  [ Stéphane Graber ]
  * New upstream release (5.3.1)
    - A lot of Debian specific fixes (code path not used by Ubuntu)
    - Ensure /sys and /proc are always mounted when calling init-ltsp
    - Issue a message when ltsp-update-image is disabled
    - Ensure that lts.conf ends up in /etc
    - Only overwrite lts.conf if it has non-zero size
    - Only download tftp from $NBD_ROOT_HOST if it is defined
    - ltsp_config: delete the cache files on boot
    - Start ltsp-client-core only when an LTSP boot was requested
    - set_lts_var: remove old values from the cache file
    - Don't hardcode squashfs as the FSTYPE (LP: #696435)
    - ltsp-build-client: copy /etc/default/keyboard if it exists
  * New upstream release (5.3.2)
    - Use 192.168.0.1 consistently (instead of sometimes having .254)
    - Append to ltsp_config, don't overwrite it.
    - Rearrange init-ltsp.d scripts to set SERVER in more cases.
    - Remove I10-sound as it seems very deprecated.
    - Set sound volume on fat clients too (LP: #923923)
    - Disconnect NBD mounts when the ltsp-client service is stopped
    - Update xfreerdp script to handle the case where rdesktop or
      xfreerdp aren't there.
  * Replace dhcp3-server by isc-dhcp-server (package was renamed)
    (LP: #934014)
  * Setup a clean /etc/nbd-server/config if not already present
  * Use 192.168.0.1 everywhere by default. (LP: #390155)
  * Improvements to debian/ltsp-client-builder.postinst:
    - Wait for ltsp-update-image to actually exit. (LP: #813837)
    - Fix outdated check for universe (was looking for karmic ...)

  [ Alkis Georgopoulos ]
  * Drop mythbuntu debian/extra-plugins hook as it's now covered by the
    upstream fat client implementation and didn't work anyway.
  * Drop debian/ltsp-client-core.dirs as these are now created at boot
    time in ltsp-init.
  * Simplify debian/ltsp-client-core.install
  * LTSP 5.3 allows for ltsp-client-core to be installed on a regular
    machine, so there's no reason to prevent its installation.
    Drop ltsp-client-core.preinst and ltsp-client-core.templates and
    refresh the translations.
  * Drop nbdswapd from ltsp-server.postinst as that's now done in a
    named NBD export since LTSP 5.3.
 -- Stephane Graber <stgraber at ubuntu.com>   Thu, 23 Feb 2012 14:21:57 -0500

** Changed in: ltsp (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/390155

Title:
  Inconsistent server IP: 192.168.0.[1-or-254]

Status in “ltsp” package in Ubuntu:
  Fix Released

Bug description:
  While installing from the Jaunty alternate CD, the server "internal" NIC is assigned a static IP of 192.168.0.254 in /etc/network/interfaces.
  But /etc/ltsp/dhcpd.conf assumes an IP of 192.168.0.1.
  This difference is also present in some of the ltsp scripts.
  This makes it impossible to do NATting on the server for the clients to directly access the Internet (e.g. for the TIMESERVER lts.conf directive to work, of for localapps-firefox to work), unless one of those two files are manually modified.

  Here are the results of a search for "192.168.0." in the source code:
  client/initscripts/Gentoo/ltsp-client-setup.initd:	SERVER="${SERVER:-192.168.0.254}"
  client/screen.d/telnet:# the default of '192.168.0.254'
  client/ltsp_config:    SERVER="${server:-192.168.0.254}"
  debian/dhcpd.conf:subnet 192.168.0.0 netmask 255.255.255.0 {
  debian/dhcpd.conf:    range 192.168.0.20 192.168.0.250;
  debian/dhcpd.conf:    option domain-name-servers 192.168.0.1;
  debian/dhcpd.conf:    option broadcast-address 192.168.0.255;
  debian/dhcpd.conf:    option routers 192.168.0.1;
  debian/dhcpd.conf:#    next-server 192.168.0.1;
  server/doc/QuickInstall:IP 192.168.0.1, then run command below:
  server/doc/examples/get_host_random:HOSTS="192.168.0.254 192.168.0.253 192.168.0.252 192.168.0.251"
  server/doc/examples/dhcpd-dnsmasq:dhcp-range=192.168.0.20,192.168.0.250,1h
  server/configs/dhcpd.conf:subnet 192.168.0.0 netmask 255.255.255.0 {
  server/configs/dhcpd.conf:    range 192.168.0.20 192.168.0.250;
  server/configs/dhcpd.conf:    option domain-name-servers 192.168.0.1;
  server/configs/dhcpd.conf:    option broadcast-address 192.168.0.255;
  server/configs/dhcpd.conf:    option routers 192.168.0.1;
  server/configs/dhcpd.conf:    next-server 192.168.0.1;
  server/configs/ALTLinux/dhcpd.conf.in:next-server 192.168.0.1;
  server/configs/ALTLinux/dhcpd.conf.in:subnet 192.168.0.0 netmask 255.255.255.0 {
  server/configs/ALTLinux/dhcpd.conf.in:    range 192.168.0.20 192.168.0.250;
  server/configs/ALTLinux/dhcpd.conf.in:    option domain-name-servers 192.168.0.1;
  server/configs/ALTLinux/dhcpd.conf.in:    option broadcast-address 192.168.0.255;
  server/configs/ALTLinux/dhcpd.conf.in:    option routers 192.168.0.1;
  server/configs/ALTLinux/dhcpd.conf.in:    option root-path "192.168.0.1:/var/lib/ltsp/@ARCH@";
  server/configs/k12linux/mkinitrd/sysconfig-mkinitrd:rootdev="192.168.0.254:/opt/ltsp/i386"
  server/scripts/k12linux/dhcpd-update:$origserver="192.168.0.254";
  server/scripts/k12linux/dhcpd-update:$orignetwork="192.168.0.0";
  server/scripts/k12linux/dhcpd-update:    $server="192.168.0.254";
  server/scripts/k12linux/dhcpd-update:    $network="192.168.0.0";
  server/scripts/k12linux/ltsp-server-initialize:    DEFAULTIP="192.168.0.254"
  server/plugins/ltsp-build-client/Debian/035-create-fs-image:            NBD_ROOT_SERVER=${NBD_ROOT_SERVER:-"192.168.0.1"}

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/390155/+subscriptions




More information about the foundations-bugs mailing list