aboutsummaryrefslogtreecommitdiff
path: root/src/connection
Commit message (Collapse)AuthorAge
...
* add bind mounts TODOSean Whitton2021-04-11
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :SBCL connection: output stdout even when remote Lisp failedSean Whitton2021-04-08
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename and use DELETE-REMOTE-TREE->DELETE-REMOTE-TREESSean Whitton2021-04-07
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* reindentSean Whitton2021-04-05
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* OS:TYPECASE->OS:ETYPECASE & OS:HOST-TYPECASE->OS:HOST-ETYPECASESean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* propagate :NO-CHANGE out of fork subdeploymentsSean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* don't pass string as :DEFAULTS argument to ENSURE-PATHNAMESean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* replace some (REQUIRE "sb-posix") calls with conditional dependencySean Whitton2021-04-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* convert "upload to root Lisp" error into a warningSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rework fork(2) connectionsSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :CHROOT.FORK: check for Lisp-type connection and rootSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :SETUID: check for Lisp-type connection and rootSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :AS connection type uses :SU not :SUDOSean Whitton2021-03-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rework uploading data to be in terms of CONNECTION-UPLOADSean Whitton2021-03-27
| | | | | | | | | | Incremental updates of items of prerequisite data was not implemented, so the previous meaning of CONNECTION-UPLOAD was not achieving much. This simplifies the core implementation, should still allow connection types to implement the method to provide optimisations, and provides a way to implement copying items of prerequisite data into chroots. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use trivial-backtrace to get a backtrace for forked process failuresSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add TODO regarding variable captureSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add TODO regarding backtraces from forked processesSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix setting HOME in :SETUIDSean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add and call RESET-REMOTE-HOMESean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* Revert ":SUDO connection type: reset the working directory"Sean Whitton2021-03-25
| | | | | | | | This reverts commit 03faea5bac3337a23d821078984c12bdbedeb022. We are now handling this in RUN, MRUN, READFILE & WRITEFILE. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :SETUID connection type: set HOMESean Whitton2021-03-25
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix call to ESCAPE-SH-TOKENSean Whitton2021-03-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* attempt to implement :AS connection type and AS combinatorSean Whitton2021-03-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* move CAN-PROBABLY-FORK to CONNECTION.FORKSean Whitton2021-03-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add :SETUID connection typeSean Whitton2021-03-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix GET-SUDO-PASSWORD when there is no passwordSean Whitton2021-03-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* factor out CONSFIGURATOR.CONNECTION.FORK packageSean Whitton2021-03-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* move comments on :SUDO to the manual & drop a TODOSean Whitton2021-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* when remote Lisp fails, use FAILED-CHANGE not just ERRORSean Whitton2021-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* switch order of output when remote Lisp failsSean Whitton2021-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* support passing :CHECK at beginning of DEFPROPLIST and DEFPROPSPECSean Whitton2021-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* untabifySean Whitton2021-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add MAKE-PASSPHRASE and use it to protect more sudo passwordsSean Whitton2021-03-22
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* rename :DEBIAN-SBCL -> :SBCL & use a property to install sbclSean Whitton2021-03-22
| | | | | | | Unconditionally calling apt was actually the only Debian-specific thing about the connection type. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :DEBIAN-SBCL connection: tidy up outputSean Whitton2021-03-21
| | | | | | | | - When there's an error, avoid printing passphrases. - Use INFORM and WITH-INDENTED-INFORM. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add facility for more regular progress and debug printingSean Whitton2021-03-21
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add and use :CONSFIGURATOR named readtableSean Whitton2021-03-20
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* hide sudo passwords in the debuggerSean Whitton2021-03-19
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :SUDO connection type: reset the working directorySean Whitton2021-03-19
| | | | | | | We want use of this connection type to be as close as possible to just SSHing in as root. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* chdir after chrootingSean Whitton2021-03-19
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add status output about forking into chrootSean Whitton2021-03-19
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix check for other threads on SBCLSean Whitton2021-03-19
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* update TODOsSean Whitton2021-03-13
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* combine CONNECTION-WRITEFILE implementations for :LOCALSean Whitton2021-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix variable reference in error messageSean Whitton2021-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* CONNECTION-WRITEFILE: deal in modes rather than umasksSean Whitton2021-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* CONNECTION.SHELL-WRAP: error checking in CONNECTION-WRITEFILESean Whitton2021-03-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* CHROOT.FORK: data TODOsSean Whitton2021-03-04
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* eliminate global value for *CONNECTION*Sean Whitton2021-02-28
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* tidy up entering and reentering Consfigurator's primary loopSean Whitton2021-02-28
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>