Skip to content
Snippets Groups Projects
  1. Jan 21, 2014
    • Dmitry Fleytman's avatar
      DHCP: Repeat DHCP discovery on timeout · d241a2c0
      Dmitry Fleytman authored
      
      It is a bad practice to have DHCP discovery without timeout
      and retries. In case discovery packet gets lost boot stucks.
      
      Beside this there is an interesting phenomena on some systems.
      A few first DHCP discovery packets sent on boot get lost in some cases.
      
      This started to happen from time to time on my KVM system and almost
      every time on my Xen system after installing recent Fedora Core updates.
      Packet leaves VM's interface but never arrives to bridge interface.
      The packet itself built properly and arrives to DHCP server just fine
      after a few retransmissions.
      
      Most probably this phenomena is a bug (or limitation) in the current
      Linux bridge version so this patch is actually a work-around, but
      since in general case it is a good idea to have DHCP timeouts/retries
      it worth to have it anyway.
      
      Signed-off-by: default avatarDmitry Fleytman <dmitry@daynix.com>
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      d241a2c0
    • Pekka Enberg's avatar
      build: Force version.h regeneration · d8530b6d
      Pekka Enberg authored
      
      Force version.h generation to make sure the version number matches the
      git version.  I noticed the problem after tagging v0.05-rc1 and noticing
      that OSv happily reported the same version even after applying patches.
      
      Use the special ".PHONY" target suggested by Tomek to avoid breakage
      from previous attempt that is documented in commit 996fdfde ('Revert
      "build: Force version.h generation"').
      
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      d8530b6d
    • Nadav Har'El's avatar
      Fix non-functional chdir() · 0f9bf9b6
      Nadav Har'El authored
      
      I don't know how chdir() ever worked - apparently it didn't!
      
      It took an argument "pathname", and then declared a local "path" and used
      that, not pathname, as the path :-) Obviously, a call to task_conv, which
      converts a relative "pathname" to an absolute "path", was missing...
      
      chdir() is still a mess and incompatible in the error cases with Linux's
      chdir(). I'll fix that, and add a test, in a follow-up patch.
      
      Signed-off-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      0f9bf9b6
  2. Jan 20, 2014
  3. Jan 19, 2014
  4. Jan 17, 2014
Loading