An error occurred fetching the project authors.
- 13 Sep, 2018 1 commit
-
-
Kirill Smelkov authored
kill -SIGXXX works only in bash and not when the shell is e.g. dash, for example: $ kill -SIGUSR1 1 /bin/sh: 2: kill: Illegal option -S This way log rotation for slapproxy.log & friends was not properly working. Fix it by using `kill -XXX` form which is supported everywhere. /reviewed-on nexedi/slapos!402
-
- 12 Apr, 2018 2 commits
-
-
Ivan Tyagov authored
Because of this: https://lab.nexedi.com/nexedi/slapos.core/blob/master/slapos/grid/promise/generic.py#L44 When slapgrid run promises, it now save promise logs. Thus we need to logrotate them. Thanks @Alain.
-
Ivan Tyagov authored
-
- 16 Mar, 2018 1 commit
-
-
Julien Muchembled authored
This is a follow-up of commit 5c980caf, now that the new code of the 'wrapper' recipe is used (1.0.58 released).
-
- 27 Feb, 2018 1 commit
-
-
Łukasz Nowak authored
If provided, shows instance name value in the title, so it is easier to track and relate shellinabox with a webrunner. /reviewed-on nexedi/slapos!295
-
- 29 Jan, 2018 1 commit
-
-
Ivan Tyagov authored
@alain.takoudjou , @rafael this fixes broken webrunner tests. Passing one: https://nexedi.erp5.net/test_result_module/20180126-5FF058E7/2 /reviewed-on nexedi/slapos!277
-
- 25 Jan, 2018 2 commits
-
-
Ivan Tyagov authored
-
Ivan Tyagov authored
-
- 17 Oct, 2017 2 commits
-
-
Rafael Monnerat authored
Environment requires new lines instead spaces
-
Rafael Monnerat authored
This is required got the usage of git
-
- 11 Oct, 2017 9 commits
-
-
Jérome Perrin authored
For consistency and because mosh uses $SHELL and otherwise would use the system shell ( /bin/sh )
-
Jérome Perrin authored
~/bin/bash was used sometimes in place of bash, but we can use the "real" bash directly, not need for a wrapper. Introduce a section to define the shell $PATH and $SHELL we want to reference from other sections. slapos.cookbook:shell recipe creates a wrapper copying environment of user running slapos node instance, but we are trying to avoid this.
-
Jérome Perrin authored
For consistency, we want to use this shell when invoking `bash`
-
Jérome Perrin authored
When connecting by ssh, bash starts with a $PATH containing standard directories (/usr/bin:/bin). We don't want this to have priority either.
-
Jérome Perrin authored
This simplifies 17931bed by not overriding ~/.bashrc (that according to our ~/.bash_profile can be modified by end users)
-
Jérome Perrin authored
Because we have set a $PATH containing mosh-server it can be used with: $ LC_ALL=C.UTF-8 mosh slapuser0@2001:67c:?:?:?:? --ssh='ssh -p 22222'
-
Jérome Perrin authored
shellinabox shell wrapper, bash's .bashrc, gunicorn environment (which minishell's inherit) and openssh command should all have the same $PATH for consistency
-
Jérome Perrin authored
Only use /usr/bin:/bin/ as a fallback.
-
Jérome Perrin authored
Environment of user running `slapos node instance` should not influence the instance.
-
- 03 Oct, 2017 2 commits
-
-
Jérome Perrin authored
They are now set in config file.
-
Jérome Perrin authored
Set default pidfiles for slapos node software and slapos node instance command so that when they are executed they use by default the same pidfile that are used by slaprunner GUI ( the green "play" button ). This prevents potential problems with running slapos twice and fixs the problem that default pidfile ( /opt/slapos/slapgrid-sr.pid ) is not writable.
-
- 16 Jun, 2017 1 commit
-
-
Alain Takoudjou authored
-
- 06 Jun, 2017 1 commit
-
-
Rafael Monnerat authored
Use /folder/script can lead to mistakes which cause error, as the instance side cannot find the file. Use directly the section is better to ensure you get the file even after changes on common.cfg. Clean up location set on common.cfg, and reduce code duplication.
-
- 05 Jun, 2017 1 commit
-
-
Iliya Manolov authored
@Tyagov @alain.takoudjou @Nicolas @kirr /reviewed-on nexedi/slapos!158
-
- 02 Jun, 2017 1 commit
-
-
Hardik Juneja authored
/reviewed-on !172
-
- 05 May, 2017 1 commit
-
-
Rafael Monnerat authored
Allow set software-root via parameters allow the webrunner inside a erp5testnode, recover the the previous builds from previous resilient tests, and only update (instead build from scratch) This is a typical usage on the webrunner (keep updating SR), so there is no problem on use this approach on erp5testnode tests.
-
- 30 Nov, 2016 1 commit
-
-
Nicolas Wavrant authored
-
- 27 Sep, 2016 2 commits
-
-
Kirill Smelkov authored
For sftp to work we need to define sftp "subsystem" on server side in sshd speak. Sftp support in turn allows for sshfs to work. NOTE Subsystem sftp internal-sftp won't work because we are doing games with ForceCommand and reexecution of "$SSH_ORIGINAL_COMMAND" (see previous patch for details).
-
Kirill Smelkov authored
2a733418 (slaprunner: replaces dropbear by openssh) switched slaprunner sshd from dropbear to openssh (thanks for it once again) and used ForceCommand to imitate login shell to be partitions `${bash:location}/bin/bash -l`. For case when original ssh command is explicitly provided ("$SSH_ORIGINAL_COMMAND" is not empty) the code there tries to just execute what was provided by caller. However the reexecution is not completely correct as for cases when origin command contains some quoting, 1 level of quotes is removed. The case when I hit this in practice is git access to repositories over ssh. When git wants to e.g. clone a repository it runs `git-upload-pack quoted-path-to-repo.git` and fails this way: ``` $ GIT_TRACE=1 git clone ssh://host1/~/B.git 19:28:23.558858 git.c:350 trace: built-in: git 'clone' 'ssh://host1/~/B.git' Cloning into 'B'... 19:28:23.572994 run-command.c:336 trace: run_command: 'ssh' 'host1' 'git-upload-pack '\''~/B.git'\''' fatal: ''~/B.git'' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ``` Quoting SSH_ORIGINAL_COMMAND and evaluating it completely via eval fixes this. /cc @Nicolas, @alain.takoudjou
-
- 22 Sep, 2016 1 commit
-
-
Alain Takoudjou authored
-
- 20 Sep, 2016 1 commit
-
-
Nicolas Wavrant authored
-
- 16 Sep, 2016 1 commit
-
-
Nicolas Wavrant authored
-
- 15 Sep, 2016 8 commits
-
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
Openssh (sshd) doesn't want to start with keys generated by dropbear
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
slaprunner: uses sshkeys_authority recipe to manage openssh keys, otherwise they may change at any slapos run
-
Nicolas Wavrant authored
-
Nicolas Wavrant authored
This makes easier the development of the webrunner, as it can be deployed within a webrunner
-
Nicolas Wavrant authored
-