1. 22 Nov, 2007 1 commit
  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 8 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
    • 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
    • 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
    • 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
    • Michael Hanselmann's avatar
      Rollback commit 356. · 424908c1
      Michael Hanselmann authored
    • Michael Hanselmann's avatar
      Add functions for known_hosts files. · 2d6cfa31
      Michael Hanselmann authored
      Reviewed-by: TODO
    • Michael Hanselmann's avatar
      Add missing descriptions to {Add,Remove}EtcHostsEntry. · 3e1cdf9f
      Michael Hanselmann authored
      Reviewed-by: schreiberal
    • Iustin Pop's avatar
      Relax replace_disks_all meaning for drbd8 · 7df43a76
      Iustin Pop authored
      In order to make the replace secondary action to be done via the same
      opcode parameters for both remote_raid1 and drbd, we must allow the
      LUReplaceDisks to change replace_disks_all for drbd with non-empty
      remote_node into replace_disks_sec.
      This fixes gnt-node evacuate and also allows gnt-instace replace-disks
      to have the same syntax for both remote_raid1 and drbd (when replacing
      the secondary).
      Reviewed-by: ultrotter