1. 21 May, 2015 2 commits
    • Mike Hibler's avatar
      subboss targets · 64c34d7a
      Mike Hibler authored
    • Mike Hibler's avatar
      Realpath strikes again. · e822de15
      Mike Hibler authored
      Perl realpath returns undef or '' (take your pick) if the path does not
      exist, rendering it pretty much useless for our check. So we run realpath
      on the directory part of the path (which should exist) and then do some
      other paranoid checks on the filename part (no funky chars, cannot be a
  2. 20 May, 2015 2 commits
  3. 19 May, 2015 1 commit
  4. 18 May, 2015 7 commits
  5. 15 May, 2015 9 commits
  6. 14 May, 2015 5 commits
    • 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
      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".
    • Jonathon Duerig's avatar
    • Mike Hibler's avatar
      Forgot the "tail" of sysctl.conf. · 8774c96c
      Mike Hibler authored
    • Mike Hibler's avatar
      New style handling of rp_filter disabling. · b3260667
      Mike Hibler authored
      The previous commit to disable it per-interface doesn't work when forwarding
      packets. Apparently the kernel looks at the "all" value when doing this.
      Now we just append the settings to /etc/sysctl.conf which is present in
      Ubuntu and CentOS.
    • Leigh B Stoller's avatar
      Minor fix to previous revision. · 1db761fc
      Leigh B Stoller authored
  7. 13 May, 2015 13 commits
  8. 12 May, 2015 1 commit