1. 14 Oct, 2023 1 commit
    • Jérome Perrin's avatar
      component/ca-certificates: don't use implicit `python` · ad4b2e8b
      Jérome Perrin authored
      We can not rely on system python here, it's a bit better to rely on
      buildout's python ( the main reason is that it complies with
      slapos-sr-testing not having system python ).
      
      The implementation is a bit complicated, we can not just reference
      ${buildout:executable} in the profile, because doing so will cause an
      infinite loop with rebootstrap and software installation never finish
      because options of ca-certificates change at every run if they include
      the python path. Instead, we use a pre-make-hook to rewrite the Makefile
      without saving the interpreter in option. This python is only used
      during the build process (to generate the certificate files) and not
      used at run time, so it does not really depend on python strictly
      speaking. Anyway, because it's a component used very early in the
      bootstrap, we can not reference python here.
      ad4b2e8b
  2. 05 Jan, 2023 3 commits
  3. 13 Dec, 2022 1 commit
  4. 09 Dec, 2022 1 commit
  5. 04 Nov, 2022 1 commit
  6. 06 Jan, 2022 2 commits
  7. 18 Jun, 2021 1 commit
  8. 08 Apr, 2021 1 commit
    • Jérome Perrin's avatar
      component/postfix: disable build on Linux >= 5 · bd1b1928
      Jérome Perrin authored
      This old tag is maintained, so that we can run run ERP5 upgrade test.
      
      On new test nodes, running linux 5, postfix refuses to compile with an error
      message like this:
      
          make -f Makefile.in MAKELEVEL= Makefiles
          (echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
          ATTENTION:
          ATTENTION: Unknown system type: Linux 5.10.0-0.bpo.4-amd64
          ATTENTION:
          make: *** [Makefile.in:22: Makefiles] Error 1
          make: *** [Makefile:21: makefiles] Error 2
      
      We don't really need postfix for these tests, so skip postfix compilation.
      bd1b1928
  9. 31 Mar, 2021 1 commit
  10. 16 Feb, 2021 1 commit
    • Jérome Perrin's avatar
      software/erp5: backport a fix for pyrsistent · ac9f26c6
      Jérome Perrin authored
      This solves the error occuring installing python2 softwares:
      
          error: find_namespace: directive is unsupported on Python < 3.3
          An error occurred when trying to install pyrsistent 0.14.5. Look above this message for any errors that were output by easy_install.
          While:
            Updating slapos-cookbook-dependencies.
            Getting distribution for 'pyrsistent==0.14.5'.
      ac9f26c6
  11. 29 Oct, 2020 6 commits
  12. 28 Oct, 2020 3 commits
  13. 27 Oct, 2020 12 commits
  14. 26 Oct, 2020 4 commits
  15. 23 Oct, 2020 1 commit
  16. 22 Oct, 2020 1 commit
    • Léo-Paul Géneau's avatar
      fix/proftpd: socket created in software · 5a5e0168
      Léo-Paul Géneau authored
      When proftpd software release is tested locally, the socket named /srv/slapgrid/slappart76/srv/runner/instance/slappart1/tmp/soft/91d420e3970a2088e648d2eb86e155ea/parts/prof is created but never removed.
      First it is not an appropriated directory to create a socket and then not removing this socket leads to an error if tests are run a second time :
      
      subprocess.CalledProcessError: Command '('ldd', '/srv/slapgrid/slappart76/srv/runner/instance/sla
      ppart1/tmp/soft/91d420e3970a2088e648d2eb86e155ea/parts/prof')' returned non-zero exit status 1.
      
      ----------------------------------------------------------------------
      Ran 0 tests in 9.914s
      
      FAILED (errors=1)
      
      This is due to code in https://github.com/proftpd/proftpd/blob/master/src/ctrls.c :
      
      const char *socket_path = PR_RUN_DIR "/test.sock"; // socket_path="/srv/slapgrid/slappart76/srv/runner/instance/slappart1/tmp/soft/91d420e3970a2088e648d2eb86e155ea/parts/proftp/var/test.sock"
      sstrncpy(sockun.sun_path, socket_path, sizeof(sockun.sun_path)); // sockun.sun_path="/srv/slapgrid/slappart76/srv/runner/instance/slappart1/tmp/soft/91d420e3970a2088e648d2eb86e155ea/parts/prof"
      
      where `sun_path` is limited to UNIX_PATH_MAX (108 characters): char sun_path[UNIX_PATH_MAX]; https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/un.h#L9
      5a5e0168