- 05 Jun, 2018 4 commits
-
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
- 04 Jun, 2018 1 commit
-
-
Lorenzo Martinico authored
If two NayuOS images are built on the same day, the second one will not get zipped. The -f flag in gzip can be used to overwrite the previous image /reviewed-on nexedi/slapos!336
-
- 01 Jun, 2018 1 commit
-
-
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 !334
-
- 25 May, 2018 1 commit
-
-
Yusei Tahara authored
erp5, mariadb: Allow users to set additional environment variables to mysqld to use third party ODBC libraries for CONNECT storage engine.
-
- 24 May, 2018 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 23 May, 2018 9 commits
-
-
Xiaowu Zhang authored
-
Xiaowu Zhang authored
-
Tristan Cavelier authored
more discussion at nexedi/slapos!266
-
Jérome Perrin authored
-
Jérome Perrin authored
an utility method to control and query supervisor instance used by slapos using http://supervisord.org/api.html
-
Jérome Perrin authored
Unless compiled with --enable-devel=coredump, proftpd's mod_rlimit will use a prctl(PR_SET_DUMPABLE, 0) syscall[1] which prevents us from inspecting files open by this process[2] We don't want to enable debug build and I did not find a way to disable only this PR_SET_DUMPABLE flag setting. [1] https://github.com/proftpd/proftpd/blob/v1.3.6/modules/mod_rlimit.c#L580-L583 [2] http://man7.org/linux/man-pages/man5/proc.5.html
-
Jérome Perrin authored
Some files and sockets where created in their default location, which was in the software. As a result, this software was working only on webrunner or testnodes, which uses same unix user for software and instance.
-
Jérome Perrin authored
To be usable in a "system level" slapos with multiple users, executables scripts must be 0755
-
Jérome Perrin authored
!311 was merged a bit too fast. After test suite was repaired ( the test node was stuck updating the git repository ), [test](https://nexedi.erp5.net/test_result_module/20180507-19395E1F/2) was not passing on testnode, because path was too deep. While debugging this, I realized this check was wrong, because supervisor [also append the pid](https://github.com/Supervisor/supervisor/blob/70720a0311d868fbf58a31cd26a7147921dcff29/supervisor/http.py#L564-L574) to this path, so the path is even longer. I just checked that we have room for 7 digit pids. Because path was too long on test node, test now run with `SLAPOS_TEST_WORKING_DIR` set to a slightly shorter path that's enough for this case. There are some other minor fixes, see individual commits. /cc @Nicolas @luke @rafael /reviewed-on nexedi/slapos!325
-
- 22 May, 2018 5 commits
-
-
Jérome Perrin authored
For supervisord AF_UNIX socket
-
Jérome Perrin authored
This is a convention from http://community.slapos.org/slapos_community/wiki/slapos-Wiki.Home/developer-SlapOS.Conventions.Guidelines
-
Jérome Perrin authored
fix all getInstanceParameterDict typos
-
Jérome Perrin authored
supervisord creates a socket with pid in the name, so we have to account for the space of pid. Because it's not so easy to know the max size of pids, we just assume 7 places.
-
Jérome Perrin authored
otherwise we leak zombie slapproxy processes
-
- 20 May, 2018 4 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 19 May, 2018 5 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Pin eggsa re mandatory.
-
Rafael Monnerat authored
Rename --config to --configuration on apache-dex among others changes. This is just to reduce the diff between erp5 and slapos-master
-
- 18 May, 2018 3 commits
-
-
Łukasz Nowak authored
It was missing double slash (//) after schema. /reviewed-on !332
-
Roque authored
- List of configuration files that are used to generate the hash for the service wrapper's name. /reviewed-on nexedi/slapos!333
-
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 !326
-
- 17 May, 2018 2 commits
-
-
Łukasz Nowak authored
The exposed apache_custom_http option for custom slave was incorrectly missing, and apache_custom_http*s* was used instead. /reviewed-on !330
-
Xiaowu Zhang authored
/reviewed-on nexedi/slapos!329
-
- 16 May, 2018 2 commits
-
-
Łukasz Nowak authored
HTTP2 in curl client will allow to test HTTP2 servers. See: https://curl.haxx.se/docs/http2.html /reviewed-on !328
-
Łukasz Nowak authored
-
- 07 May, 2018 1 commit
-
-
Julien Muchembled authored
-