- 22 Jun, 2018 6 commits
-
-
Ayush Tiwari authored
Requirement for nexedi/erp5!695 /reviewed-on nexedi/slapos!343
-
Łukasz Nowak authored
jinja2 template is required, as some paramters might come from the network. /reviewed-on nexedi/slapos!345
-
Łukasz Nowak authored
/reviewed-on nexedi/slapos!346
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Vincent Pelletier authored
Filename is split as an URL path, and joined in OS-dependent manner. Remove corresponding comment in all buildout.hash.cfg files.
-
- 21 Jun, 2018 1 commit
-
-
Rafael Monnerat authored
This prevent outdated instances to fail resilience, so it makes this change backward compatible.
-
- 13 Jun, 2018 3 commits
-
-
Łukasz Nowak authored
Do not upper filenames nor users, use them as is. /reviewed-on nexedi/slapos!339
-
Łukasz Nowak authored
No custom_http nor custom_https shall publish information normally calculated. /reviewed-on nexedi/slapos!340
-
Kirill Smelkov authored
This brings the following changes of git-backup: kirr/git-backup@0b8d834b...cc6ac54f the most important of which is dramatical speedup of pull and 30-50% speedup of restore if bitmap index of backup repo is built and git is recent enough. Please see the following commits for details: kirr/git-backup@899103bf kirr/git-backup@3efed898 kirr/git-backup@0ab7bbb6 /cc @alain.takoudjou, @rafael, @jerome /reviewed-on nexedi/slapos!342
-
- 08 Jun, 2018 1 commit
-
-
Łukasz Nowak authored
Extended KVM SR does not have this hosts in allowed, and we need to stick with it. For reference in case if some existing Python distribution does not install, it was detected with "git diff 8deeab.. -- stack/slapos.cfg"
-
- 07 Jun, 2018 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
The Debian packaging of our RINA kernel builds with GCC 4.9, which is not available on Stretch: # apt install ./linux-build-deps_4.1.33+rina65.g2e1cdbcb4-1_amd64.deb ... The following packages have unmet dependencies: linux-build-deps : Depends: gcc-4.9 but it is not installable
-
- 06 Jun, 2018 2 commits
-
-
Tristan Cavelier authored
The regexp was matching "slappart10" in `/path/to/slappart10/software.cfg`, was also matching "slappart10" in `/path/to/aaslappart10aa/software.cfg` and was not matching "slappart1" in `/path/to/slappart1/software.cfg` or "slappart1000" in `/path/to/slappart1000/software.cfg`. The fix allows to match "slappartX" in `/path/to/slappartX/software.cfg` where X can be between 0 to infinite. Also, it protects from matching "slappartX" in `/path/to/aaaslappartXaaa/software.cfg`.
-
Julien Muchembled authored
Now that the test suite passes again for Jessie, let's try Stretch.
-
- 05 Jun, 2018 4 commits
-
-
Julien Muchembled 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 !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 nexedi/slapos!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 2 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-