diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-05-20 09:28:22 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-05-20 09:28:22 -0400 |
| commit | 24e789a2ac981b3d4b2dfaf1af359c4407587a00 (patch) | |
| tree | e676038cd69b8ff91efc3b7b5a85e63aad5214d4 /doc/todo | |
| parent | d499d8d668fa8ec32833edb4b7a5677dcbf75c56 (diff) | |
| parent | 3dd36f7e922b0dfdde54420a931e77fd02e6b83c (diff) | |
Merge branch 'joeyconfig' of ssh://propellor.branchable.com into joeyconfig
Diffstat (limited to 'doc/todo')
5 files changed, 54 insertions, 0 deletions
diff --git a/doc/todo/initial_spin_compile_failure_recovery.mdwn b/doc/todo/initial_spin_compile_failure_recovery.mdwn new file mode 100644 index 00000000..423b279c --- /dev/null +++ b/doc/todo/initial_spin_compile_failure_recovery.mdwn @@ -0,0 +1,5 @@ +When initial propellor --spin host fails to compile propellor +perhaps due to a ghc compatability bug, spinning again doesn't fix the +problem. IIRC /usr/local/propellor has a git repo set up, but no remote +set, and so the subsequent spin doesn't update it, since propellor is not +running there to receive a git push into the repo. --[[Joey]] diff --git a/doc/todo/property_to_install_propellor.mdwn b/doc/todo/property_to_install_propellor.mdwn new file mode 100644 index 00000000..184977f5 --- /dev/null +++ b/doc/todo/property_to_install_propellor.mdwn @@ -0,0 +1,16 @@ +This seems redundant, since propellor must be running to ensure such a +Property, but a Property to install propellor is useful when eg, creating a +disk image that itself will need to run propellor. --[[Joey]] + +Should support: + +* Cloning the git repo propellor is running in. (Using eg `hostChroot`) +* Cloning some other git repo. +* Installing the precompiled propellor binary. +* Installing the propellor haskell library using cabal/stack/apt. + +Much of this is already implemented, in non-Property form, in +Propellor.Bootstrap, but will need adjustments for this new context. +--[[Joey]] + +> [[done]] diff --git a/doc/todo/property_to_install_propellor/comment_1_b05e9a44e5c7130d9cc928223cd82d78._comment b/doc/todo/property_to_install_propellor/comment_1_b05e9a44e5c7130d9cc928223cd82d78._comment new file mode 100644 index 00000000..5a826fea --- /dev/null +++ b/doc/todo/property_to_install_propellor/comment_1_b05e9a44e5c7130d9cc928223cd82d78._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2017-04-09T17:42:10Z" + content=""" +Making this work when propellor is setting up a chroot is difficult, +because the localdir is bind mounted into the chroot. + +Hmm, `unshare` could be helpful. Run shell commands to clone the localdir +inside `unshare -m`, prefixed with a `umount localdir`. This way, the bind +mount is avoided, and it writes "under" it. Limits the commands that can be +run to set up the localdir to shell commands, but bootstrap already +operates on terms of shell commands so that seems ok. + +`unshare` is linux-specific; comes in util-linux on modern linuxes. +"""]] diff --git a/doc/todo/property_to_install_propellor/comment_2_9fea601af57777e1cb49952483f4da63._comment b/doc/todo/property_to_install_propellor/comment_2_9fea601af57777e1cb49952483f4da63._comment new file mode 100644 index 00000000..f862f79b --- /dev/null +++ b/doc/todo/property_to_install_propellor/comment_2_9fea601af57777e1cb49952483f4da63._comment @@ -0,0 +1,7 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 2""" + date="2017-04-09T20:49:04Z" + content=""" +Well, seems that `unshare` does not work in a chroot. Hmm. +"""]] diff --git a/doc/todo/spin_failure_HEAD.mdwn b/doc/todo/spin_failure_HEAD.mdwn new file mode 100644 index 00000000..c131591b --- /dev/null +++ b/doc/todo/spin_failure_HEAD.mdwn @@ -0,0 +1,10 @@ +Seen recently on 2 hosts: + + Sending privdata (73139 bytes) to kite.kitenet.net ... done + fatal: Couldn't find remote ref HEAD + propellor: <stdout>: hPutStr: illegal operation (handle is closed) + fatal: The remote end hung up unexpectedly + Sending git update to kite.kitenet.net ... failed + +Despite the error, HEAD seems to be updated to the commit that is being spun, +but the rest of the propellor runs doesn't happen. --[[Joey]] |
