From: Lennart Poettering Date: Thu, 29 Mar 2018 15:47:03 +0000 (+0200) Subject: update TODO X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b57b962de23cca6e679ac52873d0f11822dad9d3;p=elogind.git update TODO --- diff --git a/TODO b/TODO index 91f70f546..c62ed3403 100644 --- a/TODO +++ b/TODO @@ -24,6 +24,28 @@ Janitorial Clean-ups: Features: +* list the exit codes from the BSD/glibc in our own + exit-codes.[ch] tables. + +* introduce Ephemeral= unit file switch, that creates an ephemeral copy of all + files and directories that are left writable for a unit, and which are + removed after the unit goes down again. A bit like --ephemeral for + elogind-nspawn but for system services. If used together with RootImage= this + should reflink the image file itself. + + Related: add Ephemeral= … which would allow marking + specific paths only like this. + +* when RootImage= is used, mark the loopback device read-only if the other + settings permit it (i.e. if ProtectSystem=strict is set, and no directory if + the image is writable) + +* add CopyFile= or so as unit file setting that may be used to copy files or + directory trees from the host to te services RootImage= and RootDirectory= + environment. Which we can use for /etc/machine-id and in particular + /etc/resolv.conf. Should be smart and do something useful on read-only + images, for example fallback to read-only bind mounting the file instead. + * nspawn's console TTY should be allocated from within the container, not mounted in from the outside