1. 04 Jun, 2018 1 commit
  2. 01 Jun, 2018 1 commit
    • Jérome Perrin's avatar
      ProFTPd: fixes to support running in a "system level" slapos · fdc9120a
      Jérome Perrin authored
      This SR was developed and tested in environments where both software and instance where owned by the same unix user. These are fixes for problems discovered when running on a "system level" slapos.
      
      This cannot easily be tested without actually using different users (especially the mistake on the mode of the executable script), but this MR introduce some tests to check that service running in instance does not open files or unix sockets outside of instance. It also introduce a utility method to access the supervisor RPC API, it can be useful if tests needs to start/stop a process or get process PID to inspect this process.
      
      I ran into problems, because proftpd sets [`PR_SET_DUMPABLE`](http://man7.org/linux/man-pages/man2/prctl.2.html) to 0, which disables any possibility of inspecting a running program. See 18e28bbb  for details about the chosen approach.
      
      /cc @rafael @Nicolas @luke @Eteri @vpelletier 
      
      /reviewed-on nexedi/slapos!334
      fdc9120a
  3. 25 May, 2018 1 commit
  4. 24 May, 2018 2 commits
  5. 23 May, 2018 9 commits
  6. 22 May, 2018 5 commits
  7. 20 May, 2018 4 commits
  8. 19 May, 2018 2 commits
  9. 18 May, 2018 3 commits
    • Łukasz Nowak's avatar
      apache-frontend: fix Zope over HTTP · 07021e01
      Łukasz Nowak authored
      It was missing double slash (//) after schema.
      
      /reviewed-on !332
      07021e01
    • Roque's avatar
      Adding parameter hash-files to haproxy section · a222ccfa
      Roque authored
      - List of configuration files that are used to generate the hash for the service wrapper's name.
      
      /reviewed-on nexedi/slapos!333
      a222ccfa
    • Roque's avatar
      Automatic restart of services when configuration changes · 6b82838e
      Roque authored
      The main idea is to rename the service wrapper using a hash of the corresponding configuration files. In that way, if the config files are updated, the corresponding script file, section in supervisor.conf and service process will be updated accordingly.
      - the file name in wrapper_path contains a hash of the corresponding config files
      - when config files change, and therefore the hash, the wrapper will be re-created and the corresponding service restarted
      - the config files paths will be a parameter in the corresponding buildout section, if it isn't set there won't be hash-check
      
      /reviewed-on nexedi/slapos!326
      6b82838e
  10. 17 May, 2018 2 commits
  11. 16 May, 2018 2 commits
  12. 07 May, 2018 4 commits
  13. 02 May, 2018 2 commits
    • Roque's avatar
      haproxy: http-send-name-header no longer needed · 4ef92ceb
      Roque authored
      - destination server gets its own server id
      - this removes complexity at the cost of respecting consistency in names
      - http-send-name-header is not well supported by haproxy and that it may leads to random errors with not well formated request
      
      /reviewed-on !324
      4ef92ceb
    • Jérome Perrin's avatar
      Cloudooo: remove ffmpeg · d46900ba
      Jérome Perrin authored
      Currently cloudooo does not compile with gcc 6.3 ( default gcc from current debian stable ) because of ffmpeg component:
      
      ```
          [CC] nestegg/halloc/src/halloc.c.o
      In file included from nestegg/halloc/src/halloc.c:19:0:
      nestegg/halloc/src/align.h:33:25: error: conflicting types for 'max_align_t'
       typedef union max_align max_align_t;
                               ^~~~~~~~~~~
      In file included from nestegg/halloc/src/../halloc.h:18:0,
                       from nestegg/halloc/src/halloc.c:18:
      /usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h:429:3: note: previous declaration of 'max_align_t' was here
       } max_align_t;
         ^~~~~~~~~~~
      Makefile:104: recipe for target 'nestegg/halloc/src/halloc.c.o' failed
      ```
      
      Because we don't use ffmpeg in cloudooo, I'm just temporarily removing it .
      
      /cc @rafael @kazuhiko @gabriel @vpelletier
      
      /reviewed-on !264
      d46900ba
  14. 27 Apr, 2018 2 commits