aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* release Consfigurator 0.9.0v0.9.0Sean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* debian/: update changelog for changes since last releaseSean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* tweak wording regarding inclusion of releases in Debian unstableSean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* call STRING-UPCASE when converting keywords to environment variablesSean Whitton2021-07-24
| | | | | | | In case the keyword was read with the reader configured not to upcase the names of symbols. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* POSTFIX:MAPPED-FILE: block capitalise parameter name in docstringSean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix comments about -c argument to su(1)Sean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* EVAL-IN-GRANDCHILD: call POSIX-LOGIN-ENVIRONMENT before PREREQUESTSean Whitton2021-07-24
| | | | | | | It's possible that the home directory or username have been changed since the fork control child was created, perhaps by INSTALLER:CLEANLY-INSTALLED-ONCE. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* INSTALLER:CLEANLY-INSTALLED-ONCE: reset some connattrsSean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* return type in FOREIGN-FUNCALL of geteuid(2) is unsignedSean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :SETUID: ensure we chdir(2) before we setuid(2)Sean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :SUDO: ensure that stdin is a pipe, never a real fileSean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* ensure subdeployment lines properly indentedSean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* drop completed TODO about data source for single local fileSean Whitton2021-07-24
| | | | | | Implemented by DATA.LOCAL-FILE. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* switch manual's Sphinx theme to sphinx_rtd_themeSean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add an overview of what's available for installing operating systemsSean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* :SETUID connection: also call initgroups(3)Sean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* MKTEMP: use more complex shell command to avoid hiding stderrSean Whitton2021-07-24
| | | | | | | | | | | This replaces two recent quick fixes: 58bcd1fa4a00c35492d6886c0f729974e7028136 350be6c791db8c943b284d8e53d768a1a2a1ee50 Thanks to Mark Wooding for help developing the technique used to detect whether or not m4(1) outputted anything to stderr. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* call POST-FORK before WITH-FORK-CONTROLSean Whitton2021-07-24
| | | | | | | This ensures that the fork control child is in the same context as its parent -- for example, that they're both chrooted. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add CRON:USER-CRONTABSean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add IMAGE-DUMPED and CRON:RUNS-CONSFIGURATORSean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* WITH-DEPLOYMENT-REPORT: use &BODY not &RESTSean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* CHROOT:DEPLOYS-THESE: accept a string for HOST parameterSean Whitton2021-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* UNWIND-PROTECT-IN-PARENT -> UNWIND-PROTECTSean Whitton2021-07-24
| | | | | | No longer needed thanks to f4e9170e73cb4bcfa7328422b4ff4f72d1339dd0. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* new approach to calling fork(2) in remote Lisp imagesSean Whitton2021-07-24
| | | | | | | | | | | Drop CAN-PROBABLY-FORK because we now only try to fork(2) in contexts in which there shouldn't ever be any other threads running, apart from Lisp implementation finaliser threads and the like. We no longer need to RESET-DATA-SOURCES before CONTINUE-DEPLOY* because we now only fork(2) in contexts in which *NO-DATA-SOURCES* is t. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DEFINE-PRINT-OBJECT-FOR-STRUCTLIKE: include slots without initargsSean Whitton2021-07-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* DEFINE-PRINT-OBJECT-FOR-STRUCTLIKE: respect *READ-EVAL*Sean Whitton2021-07-23
| | | | | | | In accordance with the "Notes" section of the standard's description of *READ-EVAL*. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* move remote Lisp images part of data.lisp to its own fileSean Whitton2021-07-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add mkfifo(3) wrapper & utilsSean Whitton2021-07-23
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* SBUILD:BUILT: default to the buildd debootstrap variantSean Whitton2021-07-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* firewalld rich rules: fix escapingSean Whitton2021-07-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* SSH:HAS-USER-KEY: fix application of FILE:SECRET-UPLOADEDSean Whitton2021-07-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* SSH:HAS-USER-KEY: require specification of destination pathSean Whitton2021-07-16
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* MKTEMP: avoid returning an empty stringSean Whitton2021-07-15
| | | | | | m4(1) can exit zero but fail to create a temporary file. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:HOST-DATA-UPLOADED: use DEFPROPLISTSean Whitton2021-07-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* GIT:SNAPSHOT-EXTRACTED: when root, don't preserve file ownershipSean Whitton2021-07-13
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* APT:RECONFIGURED: pass a string not a list as command inputSean Whitton2021-07-13
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* SSHD:CONFIGURED: when configuration is changed, restart ssh daemonSean Whitton2021-07-13
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* MKTEMP: avoid capturing echo builtin's stderrSean Whitton2021-07-13
| | | | | | | In the case where there is no m4(1) on PATH we get "sh: 1: echo: echo: I/O error" as the first line of output. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add idea about using arch-test(1)Sean Whitton2021-07-12
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* POSTFIX:{MAIN-CONFIGURED,MAPPED-FILE}: fix returning :NO-CHANGESean Whitton2021-07-12
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:UPDATE-UNIX-TABLE: replace sorting algorithm and refactorSean Whitton2021-07-12
| | | | | | | | | For /etc/fstab, new code should continue to handle ordinary block device mounts and swap files correctly, and also some cases the old code got wrong: when the SOURCEth and TARGETth fields are both paths, but the SOURCEth field is under a filesystem which is the TARGETth field of another line. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* factor out MOUNTPOINTPSean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* INSTALLER:CLEANLY-INSTALLED-ONCE: error when new-os DEST existsSean Whitton2021-07-10
| | | | | | This should not happen. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* INSTALLER:CLEANLY-INSTALLED-ONCE: handle /run using 'mount --move'Sean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* INSTALLER:CLEANLY-INSTALLED-ONCE: preserve /sysSean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* LINES: split on CRLF tooSean Whitton2021-07-10
| | | | | | Prompted by apt-get(8) output containing some lines ending CRLF. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:UPDATE-UNIX-TABLE end sort: handle comments and blank linesSean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* move /run out from MOUNT:*STANDARD-LINUX-VFS*Sean Whitton2021-07-10
| | | | | | Bind-mounting /run is really a chroot connection-specific operation. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* FILE:UPDATE-UNIX-TABLE: add sorting of lines at endSean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add INSTALLER:BOOTLOADERS-INSTALLED & example usageSean Whitton2021-07-10
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>