1. 28 Nov, 2012 3 commits
  2. 27 Nov, 2012 9 commits
  3. 26 Nov, 2012 11 commits
  4. 25 Nov, 2012 4 commits
  5. 24 Nov, 2012 10 commits
  6. 23 Nov, 2012 3 commits
    • Use proper pseudo-tty's instead of pipes when using subprocess · 7192eb30
      This change avoids the "tcgetattr: Invalid argument" error by making sure the ssh we start does have a proper pseudo-tty.
      
      We could also check whether our current terminal is a proper terminal (by doing a tcgetattr ourselves) but I don't think this adds anything.
      
      This closes #1662 (if all use-cases have been tested: sudo, passwd)
      Dag Wieers committed
    • Merge pull request #1668 from eest/refactor_service_module · ac09b47e
      Repost: Refactor service module to use subclasses like user module.
      Michael DeHaan committed
    • Refactor module to use subclasses like user module. · 5b7aa494
      * Basically the moving parts from the original service module arranged in
        subclasses.
      * General structure and helper methods comes from the user module.
      * Less forgiving to unsupported platforms: it requires a subclass per platform.
        (This makes it easier to work on one platform without having to think about.
        what other platform might be affected in unexpected ways).
      * Now has basic OpenBSD support.
      * Solaris support needs to be added.
      
      Thanks to @dhozac for general advice and Linux testing.
      Thanks to @bcoca for clearing up some FreeBSD questions.
      Patrik Lundin committed