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. 24 Sep, 2012 1 commit
    • Eric Eide's avatar
      Replace license symbols with {{{ }}}-enclosed license blocks. · 6df609a9
      Eric Eide authored
      This commit is intended to makes the license status of Emulab and
      ProtoGENI source files more clear.  It replaces license symbols like
      "EMULAB-COPYRIGHT" and "GENIPUBLIC-COPYRIGHT" with {{{ }}}-delimited
      blocks that contain actual license statements.
      
      This change was driven by the fact that today, most people acquire and
      track Emulab and ProtoGENI sources via git.
      
      Before the Emulab source code was kept in git, the Flux Research Group
      at the University of Utah would roll distributions by making tar
      files.  As part of that process, the Flux Group would replace the
      license symbols in the source files with actual license statements.
      
      When the Flux Group moved to git, people outside of the group started
      to see the source files with the "unexpanded" symbols.  This meant
      that people acquired source files without actual license statements in
      them.  All the relevant files had Utah *copyright* statements in them,
      but without the expanded *license* statements, the licensing status of
      the source files was unclear.
      
      This commit is intended to clear up that confusion.
      
      Most Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the Affero GNU General Public License, version 3
      (AGPLv3).
      
      Most Utah-copyrighted files related to ProtoGENI are distributed under
      the terms of the GENI Public License, which is a BSD-like open-source
      license.
      
      Some Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the GNU Lesser General Public License, version 2.1
      (LGPL).
      6df609a9
  3. 21 Jul, 2011 1 commit
  4. 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
  5. 19 Nov, 2009 1 commit
    • Mike Hibler's avatar
      Sigh...Debian/Ubuntu people apparently felt it necessary to write their · a86a29a8
      Mike Hibler authored
      own dhclient-script which ignores the exit value from dhclient-enter-hooks.
      The result is that an Ubuntu node in an inner elab can wind up with a
      1.1.1.1 nameserver if the DHCP replies come in in a particular order.
      So we, um..."work around" that situation.
      
      Also, ethtool is in a different location.
      a86a29a8
  6. 21 Nov, 2006 1 commit
  7. 16 May, 2005 1 commit
    • Mike Hibler's avatar
      Sigh... · a071e63f
      Mike Hibler authored
      Yet another version of the enter/exit scripts to get DHCP to work both
      regular- and elabinelab-wise.  For regular experiments, nothing has changed.
      New strategy for inner elab nodes: if we get a reply with dns server 1.1.1.1
      (our current indication that the responder is real boss), then we know this
      interface is the real control net.  So we hardwire the speed/duplex on
      *every other* interface at this time.  Also had to resurrect a hack to
      issue a few tmcc calls before running the sethostname script.  Apparently,
      the first few DNS queries after a speed/duplex change may get lost.  This
      causes tmcd calls to fail occasionally.  So make em fail early before we
      try to do anything important.
      
      Yuk, yuk, yuk.
      a071e63f
  8. 14 Feb, 2005 1 commit
  9. 29 Oct, 2004 1 commit
    • Leigh B. Stoller's avatar
      dhclient changes for ElabInElab. The crux of this is that inner · 3afcab05
      Leigh B. Stoller authored
      nodes are treated specially. For inner boss/ops, ignore most of what
      DHCPD returns; we need to do the DHCP so that we know what interface,
      but for the moment stuff is hardwired into /etc/rc.conf when the inner
      boss and ops are created. I can probably fix this up later as needed,
      to be more dynamic for supporting swapout/swapin of an inner emulab,
      but swapout and restore of an inner elab has som many open issues,
      that not worrying about it now.
      
      For inner nodes, the change is simple; If no hostname provided, ignore
      the DHCPD reply completely, favoring a full reply from the inner
      control network, and returning -1 from the exit hook so that dhclient
      keeps trying in the foreground.
      
      I am committing these so they get into new images.
      3afcab05
  10. 02 Jul, 2004 1 commit