Hi, On Monday, October 21, 2013 05:25:01 PM Olaf Hering wrote:
On Thu, Oct 17, Michal Vyskocil wrote:
there is a new request [1] for mkinitrd fixing few bugs for openSUSE Factory. If there are fixes for mkinitrd, they should still go in. It's still possible to switch back to mkinitrd, especially for finding issues/incompatibilities with dracut via: rpm -e dracut --nodeps zypper install mkinitrd
However there was a big effort to replace dracut as a default initrd tool, which seems to be turned on in Factory (see This will replace mkinitrd with dracut as the default initrd generator. in dracut.changes).
Now that I see what you mean with the last sentence, here are my thoughts about the switch:
Rather than pretend to be mkinitrd, dracut should just be what it is: dracut. As such it should create the filenames it creates per default (initramfs instead of initrd), and it should be called by its name (dracut instead of mkinitrd). That means at some point, when dracut is ready, the places where mkinitrd is called should be changed to call dracut instead. And where code looks for /boot/initrd* it should look for /boot/initramfs*. At rpm packaging level the Requires should be adjusted to point to dracut, perhaps also something like a Conflict: perl-Bootloader < $oldversion should be added as needed. I think mmarek has a better understanding about what places need adjustments.
Right now with dracut serving mkinitrd calls, every mkinitrd call should result in a syslog message with a short notice which program called mkinitrd and with which parameters. Yes, callers should be identified and adjusted to call dracut directly. Until these have been found and adjusted, dracut needs the mkinitrd wrapper.
If its done in such a way then mkinitrd can be used in parallel and no fileconflicts in /boot would occur. I do not see the advantage of having installed both mkinitrd and dracut. For debugging you could choose and let the initrd be built by the one or the other.
Thomas -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org