Skip to content
Snippets Groups Projects
  1. Mar 23, 2007
  2. Mar 22, 2007
  3. Mar 21, 2007
  4. Mar 06, 2007
  5. Feb 23, 2007
  6. Feb 22, 2007
  7. Feb 17, 2007
  8. Feb 02, 2007
    • Mike Hibler's avatar
      The paint wasn't even dry on the last plab tarball before I have moved on... · c2570cfc
      Mike Hibler authored
      Rev 20 of the tarball has no new function, it is just slimmed down.
      I replaced our large statically linked binaries with dynamically linked ones.
      Also found and stripped a couple of other binaries.
      
      The resulting tarball goes from 5.7MB to 0.9MB.
      
      The Makefile changes are to incorporate the NOSTATIC=1 environment hack
      to enable building the dynamic binaries above.
      c2570cfc
  9. Feb 01, 2007
  10. Jan 09, 2007
  11. Dec 21, 2006
  12. Dec 15, 2006
    • Mike Hibler's avatar
      Attempt to reconcile the definition of some program-agent environment · 448e377b
      Mike Hibler authored
      variables on cluster and plab nodes.
      
      NODECNET (new)
      The fully-qualified (Emulab) name of the node this program agent is running on.
      This name resolves to the IP address of the control network interface
      of the node.
      
      NODECNETIP (new)
      The IP address of the control network interface.
      This address should not be advertised to, or used by, applications
      within an experiment as it will cause all traffic to flow over the control
      network rather than the experimental network.
      
      NODE
      The unqualified name of the node this program agent is running on.
      For nodes with experimental interfaces,
      this name resolves to the IP address of an experimental interface on the node.
      For nodes with more than one experimental interface,
      there is no guarantee which one it will resolve to.
      For nodes with no experimental interfaces,
      the name will not resolve.
      
      NODEIP
      The IP address of the experiment network interface that NODE resolves to.
      For nodes with no experimental interfaces, this variable will not be set.
      448e377b
  13. Dec 07, 2006
    • Kevin Atkinson's avatar
      · e00405bd
      Kevin Atkinson authored
      Removed duplicate declaration of make_timestamp in event-sched.h (also
      declared in util.h).
      e00405bd
    • Kevin Atkinson's avatar
      · 6703712b
      Kevin Atkinson authored
      Change timestamp output of event-sched to something human readable.
      
      Also add a small amount of debug output to "$ns report" to help me
      track down why it is being called at seemingly random places.
      6703712b
  14. Dec 04, 2006
  15. Dec 01, 2006
  16. Nov 30, 2006
  17. Nov 13, 2006
    • Kevin Atkinson's avatar
      · dbb62c05
      Kevin Atkinson authored
      Add "-archive <bool>" to $ns report which controls if "loghole
      archive" is called.  Creating the archive zipfiles is redundant when
      using the workbench.  It only serves to wastes space (and time when
      committing then to the experiment archive).
      dbb62c05
  18. Nov 10, 2006
  19. Oct 25, 2006
    • Leigh B. Stoller's avatar
      Makefile Whacking! Try to deal with the problem caused by the delay · 7590f9c5
      Leigh B. Stoller authored
      between when something is installed and when post-install runs. Short
      of a global lock (which we probably need anyway someday), my solution
      is this. In your makefiles, add these variables before the line that
      has the include of $(TESTBED_SRCDIR)/GNUmakerules:
      
      	SETUID_BIN_SCRIPTS   =
      	SETUID_SBIN_SCRIPTS  =
      
      I have added three new rules to GNUmakerules that look like this:
      
      	$(addprefix $(SBINDIR)/, $(SETUID_SBIN_SCRIPTS)): $(SBINDIR)/%: %
      		echo "Installing (setuid) $<"
      		-mkdir -p $(INSTALL_SBINDIR)
      		$(SUDO) $(INSTALL) -o root -m 4755 $< $@
      
      Yep, your eyes ain't lying to you; use sudo to run the target so that
      install does the right thing (which is that the old file is not
      replaced until the new one has the proper attributes on it).
      
      Note that post-install is still needed for the initial install, but
      should no longer be needed for day to day installs since all that other
      stuff post-install does is mkdir/chmod on directories.
      7590f9c5
  20. Oct 23, 2006
  21. Oct 20, 2006
    • Mike Hibler's avatar
      Oh crap #2: typo in configure variable · b228e982
      Mike Hibler authored
      b228e982
    • Mike Hibler's avatar
      Fix logic bug that has been around a while · 6326c690
      Mike Hibler authored
      6326c690
    • Mike Hibler's avatar
      Ah crap #1. Typo in configure variable. · 6aae280b
      Mike Hibler authored
      6aae280b
    • Mike Hibler's avatar
      Wow, this should make me look important! · afa5e919
      Mike Hibler authored
      Two-day boondoggle to support "/scratch", an optional large, shared filesystem
      for users.  To do this, I needed to find all the instances where /proj is used
      and behave accordingly.  The boondoggle part was the decision to gather up all
      the hardwired instances of shared directory names ("/proj", "/users", etc.)
      so that they are set in a common place (via unexposed configure variables).
      This is a boondoggle because:
      
      1. I didn't change the client-side scripts.  They need a different mechanism
         (e.g., tmcd) to get the info, configure is the wrong way.
      
      2. Even if I had done #1 it is likely--no, certain--that something would
         fail if you tried to rename "/proj" to be "/mike".  These names are just
         too ingrained.
      
      3. We may not even use "/scratch" as it turns out.
      
      Note, I also didn't fix any of the .html documentation.  Anyway, it is done.
      To maintain my illusion in the future you should:
      
      1. Have perl scripts include "use libtestbed" and use the defined PROJROOT(),
         et.al. functions where possible.  If not possible, make sure they run
         through configure and use @PROJROOT_DIR@, etc.
      
      2. Use the configure method for python, C, php and other languages.
      
      3. There are perl (TBValidUserDir) and php (VALIDUSERPATH) functions which
         you should call to determine if an NS, template parameter, tarball or
         other file are in "an acceptable location."  Use these functions where
         possible.  They know about the optional "scratch" filesystem.  Note that
         the perl function is over-engineered to handles cases that don't occur
         in nature.
      afa5e919
  22. Oct 10, 2006
  23. Oct 03, 2006
  24. Sep 26, 2006
  25. Sep 14, 2006
Loading