]> git.ipfire.org Git - thirdparty/dracut.git/blobdiff - TODO
travis: reshuffle tests
[thirdparty/dracut.git] / TODO
diff --git a/TODO b/TODO
index 589719e7b22bea046384b52d10919f75c8c1ea98..f4fc208aaad539eaf18e77784003ac091821fc5a 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,60 +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
---------------
-* 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
-* root= parsing should be done with udev creating /dev/root symlink
-for us appropriately
-* 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 newer versions will be completly event based
-* multipath
-* Should SELinux policy be done in the initramfs or from the real
-rootfs?
-* Keyboard layout/consolefont setup is Fedora/RHEL-specific.  
-* iSCSI
-* NFS, NBD
-* parse root parameters from DHCP
-* s390
+
+- 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
-* pkg-config integration, to make it easy for other packages to use us.
-* Autotool-izing the package is probably overkill, but making the Makefile
-  vaguely autotools-compatible and adding a configure script would probably
-  be a good thing.
 
+- 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
 
-Special cases to revisit later
-------------------------------
-* livecd (/ on dm-snapshot over ext3 on squashfs on iso9660)
-* installer
-* kdump 
+- dracut-install parse LD_SHOW_AUXV="" AT_PLATFORM for lib install
 
-Other tasks performed by the initrd other than mounting rootfs 
---------------------------------------------------------------
-*  restore from hibernate
-* kdump
-* Loading initial SELinux policy. 
+CODE TODO
 
+- document more functions
+- make function vars local, and prefix with "_"
 
 Future Enhancement Requests
----------------------------
 
-Note that our main concern, especially right now, is proving viability of some of the ideas and then showing it with the things that we already support. If things work out, then it should be doable to start putting in support for new things that we don't already have support for. Nothing in this list is guaranteed but if people have ideas about new things, put them here and they'll at least be considered.
+- 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
 
-* run ssh server to enter crypto password or perform debugging (supported by debian)
-* Make it possible to easily extend the initramfs, e.g. by packages that provide additional features to the initramfs, e.g. an ssh server (partly? supported by initramfs-tools in debian. e.g. with /etc/initramfs-tools/hooks)
-* Hook in overlay filesystem like aufs/unionfs (necessary for Debian/Ubuntu LTSP and LiveCD etc.)
-* switchroot without re-running daemons like udev again (not sure if this is possible) -- maybe using something based on /dev/ksm ( http://lwn.net/Articles/306704/ )?
+- lsinitrd --print-cmdline
+- dracut --print-cmdline error if additional arguments
+- library for cmdline