1. 14 May, 2015 1 commit
    • David Johnson's avatar
      Ubuntu 15 support. · 2baf7655
      David Johnson authored
      Similar to Ubuntu 14, but new and different UIDs, and...
      
      systemd!  systemd has made it into Ubuntu.  This affects our control net
      discovery.  Our /etc/network/interfaces hack marks eth[0-9] as "auto".
      New Ubuntu versions have systemd (or upstart, if your Ubuntu 15 uses
      that -- our images will not) job that waits for any interfaces marked
      auto to come up, and doesn't timeout for 2 mins.  This doesn't work for
      us, because our use of auto is abuse :).
      
      So, we enter a new level of abuse.  We change the systemd unit
      dependencies, making the network-online.target service want (depend on)
      our special ifup-wait-emulab-cnet.service (which looks for /run/cnet to
      get written), instead of on ifup-wait-all-auto.service.  This means
      network-online.target happens as soon as the control net is up, which is
      the primary thing we're concerned about.
      
      Now, if experimenters would ever add their own special "auto" interfaces
      to /etc/network/interfaces, the rest of the startup scripts that depend
      on network-online.target could possibly race (although you would think
      that our control net discovery will be slower than any static
      configuration...).
      
      But for now, this solution appealed more that "faking" that eth[0-9] are
      all up by writing the right files --- or by finding a better mechanism
      instead of abusing "auto".
      2baf7655
  2. 25 Nov, 2014 1 commit
  3. 22 Apr, 2014 1 commit
  4. 19 Jun, 2013 1 commit
    • David Johnson's avatar
      Bugfix in the static_widearea_config path. · 6d42932b
      David Johnson authored
      We were assuming that if static_widearea_config returned 0, it had
      configured the physical $iface that findcnet was passed successfully.
      But, static_widearea_config also returns 0 if the widearea config info
      was present BUT if the given physical $iface did not match the widearea
      config info.
      
      So, catch that case, and all is well.
      
      Also, fix a minor syntax bug; and add some debugging.
      6d42932b
  5. 15 Aug, 2011 1 commit
  6. 21 Jul, 2011 1 commit
  7. 22 Oct, 2010 1 commit
  8. 17 Sep, 2010 1 commit
    • Ryan Jackson's avatar
      Fixes for ubuntu 10.4 (lucid lynx) · 304eb320
      Ryan Jackson authored
      Includes hack to "fix" upstart dependency problems:
      
      A) eth* interfaces are probed by ifupdown serially instead of in
         parallel.
      B) Legacy initscript support waits for the the control net probe
         to finish (with either success or failure) before running legacy
         initscripts.
      304eb320
  9. 18 Oct, 2007 1 commit
    • Mike Hibler's avatar
      Preliminary support for Ubuntu Linux. · 38bc8fa1
      Mike Hibler authored
       * added new tmcd directory with Ubuntu (really, Debian) specifics
       * fixed up GNUmakefiles to not do "-g wheel" when creating directories
       * other, relatively minor tweaks
      38bc8fa1