summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorJoey Hess2017-12-30 21:04:08 -0400
committerJoey Hess2017-12-30 21:04:08 -0400
commit54a85b53f65a5b11168223c9ff6157d13cf975cc (patch)
tree07f7e138be66f20c6c25865769443a0785e6d0b8 /doc/todo
parenta83be9e1428afc7829f46ca4cf9722082ed3e378 (diff)
response
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/chroot_localdir_issue.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/todo/chroot_localdir_issue.mdwn b/doc/todo/chroot_localdir_issue.mdwn
new file mode 100644
index 00000000..497c7a93
--- /dev/null
+++ b/doc/todo/chroot_localdir_issue.mdwn
@@ -0,0 +1,15 @@
+Running "sudo ./propellor" is documented as a way to provision the local
+host. However, properties involving chroots and docker hard code localdir,
+so run /usr/local/propellor/propellor inside the chroot. When running
+propellor this way, that may not exist, or may be from some other propellor
+configuration and not know how to privision the chroot correctly.
+
+Should this stuff look at the path to the propellor executable that's
+really being run and use it? There's also the shimdir, which is under
+/usr/local/propellor and gets bind mounted into the chroot, so using
+something close to the executable run by "sudo ./propellor" may be
+surprising. And, exposeTrueLocaldir also uses the localdir.
+
+It may make more sense to detect when propellor is run this way and refuse
+to provision chroots. Or to eliminate this little-used way of running
+propellor entirely.. --[[Joey]]