]> git.ipfire.org Git - thirdparty/dracut.git/blobdiff - TODO
dracut-install: Add support for compressed kernel modules
[thirdparty/dracut.git] / TODO
diff --git a/TODO b/TODO
index a8b6e8a12f5dd6a1ad4fb1cadfd837e0063d0965..f4fc208aaad539eaf18e77784003ac091821fc5a 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,40 +1,51 @@
 Current TODO list, broken into things which are relevant for the
-initramfs itself (/init et al) vs the generator.  A lot of things
-are/should be marked with "FIXME" in the code
+initramfs itself (/init et al) vs the generator.
+A lot of things are/should be marked with "FIXME" in the code.
+
+Items are ordered in priority.
 
 INITRAMFS TODO
---------------
-* Currently, our switch_root command uses nash's switchroot.  Getting
-a reasonable switchroot implementation into util-linux-ng is a
-pre-condition for support on other distros.  pjones has a basic
-implementation at
-http://pjones.fedorapeople.org/mkstart/usr/lib/mkstart/switchroot.c
-and I've asked kzak about util-linux inclusion
-* The hard-coded list of udev rules that we care about is kind of
-lame.  See about getting /lib/udev/initrules.d or similar for storing
-the rules that we care about in the initramfs.  These could be
-symlinks/hardlinks to the main rules in some cases or special-cased
-ones
-* LVM activation by udev is a bit of a large hammer right now
-* dm-crypt (luks) depends on plymouth
-* plymouth is hard-coded... this may be reasonable as modesetting goes
-into the upstream kernel as a way to get off of fb-splash stuff, but I
-can see this being a point of contention for other distros
-  * plymouth --show-splash should be done as a udev rule so that we
-  can switch modes first
-* root= parsing should be done with udev creating /dev/root symlink
-for us appropriately
-* Support thaw (resume from hibernate)
-* Proving some support with a simple network based root would be good
-  * Do we just call dhclient, etc or try to get NetworkManager going?
-* Would be nice not to have to kill and restart udev across switchroot 
-* mdraid
-* dmraid
-* multipath
-* Should SELinux policy be done in the initramfs or from the real rootfs?
 
+- search domain string
+- allow dual stack configuration (IPv4, IPv6) for the same interface
+- "bind-mount" kernel drivers in real root for the rescue image,
+  if the real root does not have any kernel modules for this kernel
+  https://bugzilla.redhat.com/show_bug.cgi?id=1046510
+- use info and warn prefix
+- generate systemd unit dracut-initramfs-restore in /run/systemd dynamically
+- put "root=" parsing hooks in separate hook dir
+- call "root=" parsing hooks after getting new rootpath from dhcp
+- put mount hook in main initqueue loop / careful about resume!
+- the hard-coded list of udev rules that we care about is kind of lame.
+- panic fallback
+- progress indication for fsck https://bugzilla.redhat.com/show_bug.cgi?id=827118
+- domain, searchdomain https://bugzilla.redhat.com/show_bug.cgi?id=840778
+- probably fix "--include" https://bugzilla.redhat.com/show_bug.cgi?id=849338
 
 GENERATOR TODO
---------------
-* Default module specificatoin could use some work
-* udev rule copying, as mentioned above, is a bit too hard-coded
+
+- report errors on missing files in check()
+- remove wait for swap devs, if no "resume=" is given on the kernel command line
+- remove wait for swap devs, if the "resume" dracut module is not included (omitted)
+- add presets (predefined set of modules)
+- add interpreter/plugin-scripts to be sourced at the beginning or end (can use dracut-functions)
+- add mechanism for module specific command line options
+- pkg-config integration, to make it easy for other packages to use us.
+- default module specification could use some work
+- udev rule copying, as mentioned above, is a bit too hard-coded
+
+- dracut-install parse LD_SHOW_AUXV="" AT_PLATFORM for lib install
+
+CODE TODO
+
+- document more functions
+- make function vars local, and prefix with "_"
+
+Future Enhancement Requests
+
+- run ssh server to enter crypto password or perform debugging (supported by debian)
+- https://bugzilla.redhat.com/show_bug.cgi?id=524727 - dracut + encrypted root + networking
+
+- lsinitrd --print-cmdline
+- dracut --print-cmdline error if additional arguments
+- library for cmdline