aboutsummaryrefslogtreecommitdiff
path: root/src/package.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-09-28 12:50:27 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-10-23 11:18:07 -0700
commit6c1e44b950e64588c403510a9f20048f2d69d240 (patch)
tree22e1fa0874efaa3c0a6556b6e4cb04261502e269 /src/package.lisp
parent0d186cbbc8088e505f3d77e18fe8b17b22cfcfb5 (diff)
downloadconsfigurator-6c1e44b950e64588c403510a9f20048f2d69d240.tar.gz
:CHROOT.FORK: unshare mount namespace before making temporary mounts
This avoids some cases of interference between the deployment of the chroot and other system activity. For example, before this change, the :ALWAYS-DEPLOYS option to LIBVIRT:KVM-BOOTS-CHROOT{,-FOR} could interact with Virtiofs in such a way as to break the running VM. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/package.lisp')
-rw-r--r--src/package.lisp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/package.lisp b/src/package.lisp
index dba79ec..111b25a 100644
--- a/src/package.lisp
+++ b/src/package.lisp
@@ -82,6 +82,9 @@
#:compile-file*
#:compile-file-pathname*
+ ;; libc.lisp
+ #:+CLONE_NEWNS+
+
;; util.lisp
#:multiple-value-mapcan
#:lines
@@ -129,6 +132,7 @@
#:define-error-retval-cfun
#:chroot
+ #:unshare
;; connection.lisp
#:establish-connection