1. 17 Jul, 2013 2 commits
  2. 11 Jul, 2013 1 commit
  3. 29 May, 2013 1 commit
  4. 21 Mar, 2013 1 commit
  5. 27 Sep, 2012 2 commits
  6. 21 Sep, 2012 1 commit
  7. 12 Jun, 2012 1 commit
    • Iustin Pop's avatar
      Fix daemon-util with non-root user models · 3c29e49d
      Iustin Pop authored
      Commit 4b42c3d6
      
       broke non-root user mode since, while trying to do a
      cleanup a move all local variable definitions to the start of the
      function; however, the plain_name var is only defined later, so this
      actually doesn't work.
      
      Note that enabling set -u doesn't _directly_ work, since we rely on
      some variables which are usually undefined (EXTRA_*_ARGS, etc.). It
      can be fixed, but in a later patch.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      3c29e49d
  8. 23 May, 2012 1 commit
  9. 21 May, 2012 1 commit
  10. 28 Mar, 2012 1 commit
    • Michael Hanselmann's avatar
      ganeti.initd: Add “status” action · 8e2ed2e8
      Michael Hanselmann authored
      
      
      Eric Rostetter sent a patch adding a “status” action, but unfortunately
      his code was apparently specific to Red Hat. I hope this implementation
      is more distribution-agnostic; after all “status_of_proc” is part of
      LSB. Example output:
      
      $ /etc/init.d/ganeti status
      ganeti-noded is not running ... failed!
      ganeti-masterd is running.
      ganeti-rapi is running.
      ganeti-confd is running.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      8e2ed2e8
  11. 17 Nov, 2011 1 commit
  12. 29 Oct, 2010 1 commit
  13. 07 Sep, 2010 1 commit
  14. 04 Jun, 2010 1 commit
  15. 12 Mar, 2010 7 commits
  16. 27 Jan, 2010 1 commit
  17. 19 Jan, 2010 1 commit
    • Michael Hanselmann's avatar
      daemon-util: Fix quoting issue · 03956d39
      Michael Hanselmann authored
      
      
      This patch fixes a quoting issue in daemon-util:
      
      $ EXTRA_MASTERD_ARGS=--no-voting /etc/init.d/ganeti restart
      […]
      * ganeti-masterd...
      /…/ganeti/daemon-util: line 65: local: `--no-voting': not a valid identifier
      
      The reason was that the generated variables were not quoted properly and
      the troublesome line expanded to
      “local args=$MASTERD_ARGS $EXTRA_MASTERD_ARGS” instead of the correct
      “local args="$MASTERD_ARGS $EXTRA_MASTERD_ARGS"”.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      03956d39
  18. 11 Nov, 2009 1 commit
  19. 05 Nov, 2009 1 commit
    • Michael Hanselmann's avatar
      Add new “daemon-util” script to start/stop Ganeti daemons · f154a7a3
      Michael Hanselmann authored
      
      
      Until now, Ganeti started and stopped its own daemons using custom functions.
      To start, the daemon was just executed and then sent the appropriate signals to
      stop it again. Init scripts would have to pay attention to the PID file and
      other things.
      
      With this patch, a new script is added (“daemon-util”, installed in
      $prefix/lib/ganeti/), centralizing the starting and stopping of daemons. The
      provided example init script is adjusted to use this new script. Ganeti's code
      no longer calls its own init script.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      f154a7a3