1. 20 Oct, 2006 1 commit
    • 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
  2. 21 Sep, 2006 1 commit
    • Kirk Webb's avatar
      · 2e551547
      Kirk Webb authored
      Fix typo in dependancy for p5-GD-Graph:
      
      groups -> graphics
      2e551547
  3. 31 Aug, 2006 1 commit
    • Kevin Atkinson's avatar
      · 964b8d11
      Kevin Atkinson authored
      Add patch to modify Mysql.pm to allow setting the "InactiveDestroy" in
      the underlying DB handle.  Also avoid disconnecting the file handle
      explistly on DESTROY as that will be taken care of in the DESTROY
      method for the the DB handle.
      
      Override perl version of fork() to set InactiveDestroy in all open
      database handles in the child so that it won't send a disconnect when
      the handle is destroyed as this will also close the database handle
      for the parent.  It will also call tblog_new_child_process in the
      child process to properly inform tblog of the new process. This will
      be a NoOp if the libtblog module is not loaded.
      964b8d11
  4. 29 Aug, 2006 2 commits
  5. 06 Jul, 2006 1 commit
  6. 05 Jul, 2006 1 commit
    • Leigh B. Stoller's avatar
      We have been using the p5-Mysql port for our perl Mysql interface. · c593400d
      Leigh B. Stoller authored
      Apparently that port is long (long) dead, and somewhere along the line
      the stuff that sits below it changed, which caused our stuff to break.
      
      The modern and maintained version of the same API is now
      /usr/ports/databases/p5-DBD-mysql (/usr/ports/databases/p5-DBD-mysql50
      when using mysql 5.0).
      c593400d
  7. 21 Jun, 2006 2 commits
  8. 20 Jun, 2006 3 commits
  9. 16 Jun, 2006 1 commit
    • Kirk Webb's avatar
      · 001c4d10
      Kirk Webb authored
      Fix up emulab-boss and emulab-ops port Makefiles to work with FreeBSD 6
      and also to look for it instead of 5 when deciding what to do.
      001c4d10
  10. 14 Jun, 2006 4 commits
  11. 09 Jun, 2006 1 commit
  12. 08 Jun, 2006 2 commits
  13. 01 Jun, 2006 1 commit
    • Leigh B. Stoller's avatar
      Add suport for building per project, group, experiment DBs on ops. At · adbcfd47
      Leigh B. Stoller authored
      present the per-experiment stuff is not hooked in, but will be for
      templates later. Anyway, each user gets a mysql account on ops, with
      password set to the same as their mailman password (which is also
      their jabber password, etc). Each project gets a DB named by the
      project, and each group gets a DB named by pid,gid. Users are placed
      on the access lists for the DBs as you would expect.
      
      There is a little bit of complexity to make sure that we can create
      DBs on ops outside the Emulab path and grant access to them, without
      Emulab getting confused or mucking things up.
      
      I'll get a news item done ...
      adbcfd47
  14. 28 Apr, 2006 1 commit
  15. 10 Apr, 2006 1 commit
  16. 30 Mar, 2006 1 commit
  17. 29 Mar, 2006 1 commit
  18. 28 Mar, 2006 1 commit
  19. 24 Mar, 2006 1 commit
  20. 16 Mar, 2006 1 commit
  21. 13 Mar, 2006 1 commit
  22. 06 Mar, 2006 1 commit
  23. 02 Mar, 2006 1 commit
  24. 27 Feb, 2006 1 commit
  25. 26 Feb, 2006 1 commit
  26. 24 Feb, 2006 1 commit
    • Leigh B. Stoller's avatar
      Two main changes: · be69c6e4
      Leigh B. Stoller authored
      * Add mailman to the install process. This includes the package
        install, all the setup needed in ops-install, and the little patches
        we apply locally.
      
        Note: Only under 6.0: no point in going backwards since its a pain
        in the ass to build these packages for the 4.10 image.
      
      * Push more of the package install back down into the ops/boss install
        scripts. This improves testing within those scripts, and avoids
        duplication. There are some changes in rc.mkelab that will temp
        mount the package dir on /packages for the benefit of the scripts.
      be69c6e4
  27. 23 Feb, 2006 3 commits
  28. 22 Feb, 2006 1 commit
  29. 21 Feb, 2006 1 commit
  30. 03 Feb, 2006 1 commit