1. 07 Mar, 2007 4 commits
    • Leigh Stoller's avatar
      0537e2e5
    • Leigh Stoller's avatar
      Changes for how we distribute the initial set of imageids and osids. · 3c1678d6
      Leigh Stoller authored
      * install/dump-descriptors <filename> will write out a set of insert
        statements for the images and os_info table, slightly munged. In
        fact, what I do is create temporary tables called temp_images and
        temp_os_info, clean them a bit, and then write out the insert
        statements to load them into new tables of the same name.
      
        There are some arrays at the top of this script that says what images and
        osids to write out.
      
      * install/load-descriptors <filename> takes the output of
        dump-descriptors, creates the two temporary tables and loads the
        data into them. Then it (optionally) updates those tables with the
        local indicies of elabman and the emulab-ops project and group.
      
        Then it computes an osidtoimageid table for all class='pc' types. On a
        new testbed this is a reasonable approach, in my opinion.
      
        Next it takes the contents of the two temp tables and moves them across
        to the actual tables.
      
      * install/descriptors.sql is the current data set which has everything
        contained in sql/database-fill-supplemental.sql and install/images/*
      3c1678d6
    • Russ Fish's avatar
      Combine sudoers lines. · e7bf4727
      Russ Fish authored
      e7bf4727
    • Russ Fish's avatar
      Set sudo logfile. · ce42c846
      Russ Fish authored
      ce42c846
  2. 06 Mar, 2007 2 commits
  3. 28 Feb, 2007 1 commit
  4. 22 Feb, 2007 2 commits
  5. 21 Feb, 2007 2 commits
  6. 07 Dec, 2006 1 commit
    • Russ Fish's avatar
      Update setup{,-ops}.txt for FreeBSD-6.1 . · 5ffb5664
      Russ Fish authored
      The packagedir is now passed to {ops,boss}-install with a -p argument instead of
      as a PKG_PATH envar.  If the old way is done, PKG_PATH is ignored and packages are
      all built from sources.  This failed in many ways (due to sync problems between the
      6.1 packages and ports tarballs?)  In any case, to prevent others falling down the
      same rabbit-hole, building from sources is now off by default, requiring a -s
      argument to be given to do it.  Libinstall now shows PhaseSkip reasons, to make
      it more clear what's going on.
      
      Also tweak dhcpd_makeconf to handle a null DHCPD_DYNRANGE in the defs file,
      to prevent a bogus dhcpd response from an inner emulab, half set-up for testing.
      5ffb5664
  7. 05 Dec, 2006 1 commit
  8. 31 Oct, 2006 1 commit
  9. 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
  10. 21 Sep, 2006 1 commit
    • Kirk Webb's avatar
      · 2e551547
      Kirk Webb authored
      Fix typo in dependancy for p5-GD-Graph:
      
      groups -> graphics
      2e551547
  11. 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
  12. 29 Aug, 2006 2 commits
  13. 06 Jul, 2006 1 commit
  14. 05 Jul, 2006 1 commit
    • Leigh Stoller's avatar
      We have been using the p5-Mysql port for our perl Mysql interface. · c593400d
      Leigh 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
  15. 21 Jun, 2006 2 commits
  16. 20 Jun, 2006 3 commits
  17. 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
  18. 14 Jun, 2006 4 commits
  19. 09 Jun, 2006 1 commit
  20. 08 Jun, 2006 2 commits
  21. 01 Jun, 2006 1 commit
    • Leigh Stoller's avatar
      Add suport for building per project, group, experiment DBs on ops. At · adbcfd47
      Leigh 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
  22. 28 Apr, 2006 1 commit
  23. 10 Apr, 2006 1 commit
  24. 30 Mar, 2006 1 commit
  25. 29 Mar, 2006 1 commit
  26. 28 Mar, 2006 1 commit