1. 22 Nov, 2007 4 commits
    • Iustin Pop's avatar
      Create /var/run/ganeti before noded startup · b81ef751
      Iustin Pop authored
      The /var/run directory can be a tmpfs mount, so even if we make it at
      install time (or include it in the package) it can go away. Therefore,
      test for its existence and create it in the startup script.
      
      Reviewed-by: imsnah
      b81ef751
    • Iustin Pop's avatar
      Remove extra docdir variable from Makefile.am · d5a446f2
      Iustin Pop authored
      The docdir variable is defined by autoconf, so we don't need to define
      it ourselves. This way, the target documentation directory can
      be changed via ./configure instead of patching Makefile.am.
      
      In truth, we should install the pdf and html files using the pdf and
      html targets, since configure defines pdfdir=htmldir=docdir; but
      installing them in docdir is good enough.
      
      Reviewed-by: imsnah
      d5a446f2
    • Michael Hanselmann's avatar
      List loading hooks in QA. · f9fe750a
      Michael Hanselmann authored
      Reviewed-by: schreiberal
      f9fe750a
    • Michael Hanselmann's avatar
      Add hook for logging. · 8bb7c6cb
      Michael Hanselmann authored
      This may help to debug problems in QA tests.
      
      Reviewed-by: schreiberal
      8bb7c6cb
  2. 21 Nov, 2007 9 commits
  3. 20 Nov, 2007 3 commits
  4. 19 Nov, 2007 1 commit
  5. 16 Nov, 2007 4 commits
  6. 15 Nov, 2007 2 commits
  7. 14 Nov, 2007 6 commits
  8. 13 Nov, 2007 6 commits
  9. 12 Nov, 2007 5 commits
    • Iustin Pop's avatar
      Fix a wrong comparison in _RecursiveAssembleBD · 7803d4d3
      Iustin Pop authored
      We want to prevent sending too many 'None' children to a device.
      However, the test as it is today is wrong, as we want to test the
      situation after adding a new child, and not before. This patch fixes
      this by testing greater-or-equal instead of just greater.
      
      Reviewed-by: imsnah
      7803d4d3
    • Iustin Pop's avatar
      Fix another breakage in SetEtcHostsEntry · 7e3dbb94
      Iustin Pop authored
      The code assumes all lines have at least two elements which are
      whitespace separated - i.e. it does not deal with empty lines or comment
      lines with no spaces. This patch fixes this.
      
      Also, the patch replaces the blank between IP and the canonical name
      with a tab (restoring previous behaviour).
      
      Reviewed-by: imsnah
      7e3dbb94
    • Michael Hanselmann's avatar
      Call fsync() after modifying /etc/hosts. · 2e3e75b7
      Michael Hanselmann authored
      This is a critical file. Breaking it would be very bad. Thus, if the system
      crashes before the data is synched to the disk, it should have the complete
      file afterwards.
      
      Reviewed-by: iustinp
      2e3e75b7
    • Michael Hanselmann's avatar
      Fix functions for /etc/hosts. · 9440aeab
      Michael Hanselmann authored
      - Combine hostname and aliases on one line
      - Fix bug with wrongfully removed newline characters
      - Use wrapper for SetEtcHostsEntry in cmdlib
      
      Reviewed-by: iustin
      9440aeab
    • Michael Hanselmann's avatar
      Rollback commit 356. · 424908c1
      Michael Hanselmann authored
      424908c1