Skip to content
Snippets Groups Projects
  1. Sep 24, 2009
  2. Sep 22, 2009
  3. Sep 21, 2009
  4. Sep 18, 2009
  5. Sep 17, 2009
  6. Sep 15, 2009
  7. Sep 04, 2009
  8. Sep 03, 2009
  9. Sep 02, 2009
  10. Aug 28, 2009
  11. Aug 25, 2009
  12. Aug 24, 2009
  13. Aug 20, 2009
  14. Aug 18, 2009
  15. Aug 17, 2009
  16. Aug 13, 2009
    • Iustin Pop's avatar
      Improve the example startup script · 82cd7760
      Iustin Pop authored
      
      Currently, the supplised script has two issues:
        - it doesn't use start-stop-daemon --start correctly, leading to
          messages like "ganeti.errors.GenericError:
          /var/run/ganeti/ganeti-rapi.pid contains a live process" in the logs
        - it doesn't allow start/stop/restart of a single daemon, which leads
          to manual launch, which is bad because we don't reuse the settings
          from the defaults file
      
      For the first one, we change from ‘--exec …’ to ‘--startas …’, which is
      the actual option used for start, whereas exec is a test (that also
      supplies the default to startas). We also add ‘--oknodo’ as per recent
      Debian policy changes.
      
      For the second, we do a bigger change; we basically remove the full-path
      and pid variables, and construct these two from the daemon name. We then
      check if we are given a daemon name (in which case we only do that)
      otherwise we do the requested action on all daemons.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      82cd7760
    • Iustin Pop's avatar
      Fix insserv dependencies · a02b4427
      Iustin Pop authored
      
      (import of a Debian patch)
      
      This patch removes xend from the list of dependencies.
      
      Ganeti doesn't need xend running to startup, it will only need it later
      (and only if xen is used as virtualisation technology). It also removes
      'Xen' from the description in the init script.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      a02b4427
    • Michael Hanselmann's avatar
  17. Aug 12, 2009
  18. Aug 11, 2009
  19. Aug 10, 2009
  20. Aug 08, 2009
  21. Aug 07, 2009
  22. Aug 06, 2009
  23. Aug 05, 2009
Loading