1. 15 Oct, 2003 1 commit
    • Mike Hibler's avatar
      Uniform syslog'ing. Change everything I could find to use a syslog facility · cc6d6fa7
      Mike Hibler authored
      as defined in the defs-* file (e.g. "TBLOGFACIL=local2").  The default is
      "local5" which is what we are setup to use so you shouldn't need to mess
      with your defs- file!
      perl scripts just get this value configured in when configure is run.
      C programs get the value in two ways.  For programs that are intimate with
      the testbed infrastructure, and include "config.h", they just get it from
      that file.  For programs that we sometimes use outside the Emulab build
      environment (e.g., frisbee, capture) and that don't include config.h,
      the value is set via a "-DLOG_TESTBED=..." in the GNUmakefile build line.
      If the value isn't set, it defaults to what it used to be (usually LOG_USER).
      Still to do: healthd, hmcd (whose build doesn't seem to be completely
      integrated) and plabdaemon.in (since its icky python :-)
  2. 09 Oct, 2003 1 commit
  3. 05 Sep, 2003 1 commit
    • Leigh B. Stoller's avatar
      Add some rather bogus code to close all the fd's (except 0,1,2) before · fde2c709
      Leigh B. Stoller authored
      execing the program. We had a problem with daemons that detach and
      continue to run, holding open all of the same FDs that the web server
      had open, including the httpd socket! So it was not possible to
      restart the web server cause processes were parked on the socket
      holding it open.
      I think this is the wrong place for this since there numerous ways to
      run programs from the web server, and using suexec is optional (can
      just run programs directly). Seems like a problem with php instead,
      but the fix is here cause it will solve the problem for us.
  4. 28 Apr, 2003 2 commits
  5. 04 Apr, 2003 2 commits
  6. 07 Mar, 2003 1 commit
  7. 30 Jan, 2003 1 commit
  8. 07 Jan, 2003 1 commit
  9. 02 Dec, 2002 1 commit
  10. 31 Oct, 2002 1 commit
  11. 06 Sep, 2002 1 commit
  12. 07 Jul, 2002 1 commit
  13. 05 Jul, 2002 2 commits
  14. 04 Jun, 2002 1 commit
  15. 31 May, 2002 1 commit
  16. 17 Apr, 2002 1 commit
  17. 16 Apr, 2002 1 commit
  18. 15 Apr, 2002 2 commits
  19. 15 Mar, 2002 1 commit
  20. 08 Mar, 2002 1 commit
  21. 07 Mar, 2002 1 commit
  22. 12 Feb, 2002 1 commit
  23. 09 Jan, 2002 1 commit
  24. 08 Jan, 2002 1 commit
    • Leigh B. Stoller's avatar
      Fix up genlastlog to avoid Y2K like problems. Basically, syslog does · cb096341
      Leigh B. Stoller authored
      not include a year in the output, so I was using the current year to
      init the tm structure. However, the log file could span from the old
      year to the new year, and so all the dates could be wrong. Using Mac's
      suggestion, look at the final time stamp, and if its in the future,
      reset it back one year.
      Also add [-a #] option to roll through the specified number of
      rotation files, to make the job of reinitting all the records easier.
      I ran it as "genlastlog -a 7", which makes it process logins.7.gz
      through logins.0.gz, before doing the current log.
  25. 03 Dec, 2001 1 commit
  26. 30 Oct, 2001 1 commit
  27. 29 Oct, 2001 1 commit
    • Leigh B. Stoller's avatar
      A bunch of lastlogin changes! The user and experiment information · 4658545e
      Leigh B. Stoller authored
      pages now show the lastlogin info that is gathered from sshd syslog
      reporting to users. That info is parsed by security/genlastlog.c, and
      entered into the DB in the nodeuidlastlogin and uidnodelastlogin
      tables. If not obvious from the names, for each user we want the last time
      they logged in anyplace, and for each node we want the last time anyone
      logged into it. The latter is obviously more useful for scheduling
      purposes. All of the various images have new /etc/syslog.conf files,
      and the 6.2 got new sshd_configs (all cvsup'ed with kill -HUP). There
      is an entry in boss:/etc/crontab and users:/etc/syslog.conf. All of
      this is decribed in greater detail in security/genlastlog.c.
  28. 16 Oct, 2001 1 commit
  29. 15 Oct, 2001 1 commit
  30. 05 Oct, 2001 2 commits
  31. 01 Oct, 2001 2 commits
  32. 21 Sep, 2001 1 commit
  33. 19 Sep, 2001 1 commit
  34. 18 Sep, 2001 1 commit