On Tuesday, November 12, 2013 12:45:24 PM Jeff Mahoney wrote:
On 11/12/13, 11:44 AM, Olaf Hering wrote:
On Wed, Oct 23, Michal Marek wrote:
On 23.10.2013 09:32, Olaf Hering wrote:
On Mon, Oct 21, Thomas Renninger wrote:
Yes, callers should be identified and adjusted to call dracut directly. Until these have been found and adjusted, dracut needs the mkinitrd wrapper.
No, until callers have been identified and adjusted to use dracut, its not yet the time to make dracut the default.
Let me repeat: I am not going to change the kernel %post script to call dracut directly instead of mkinitrd, at least not as long the kernel package otherwise works on older distributions.
Due to bugs in the implementation its not easy to change from /boot/initrd* to /boot/initramfs*: rpm/post.sh calls /usr/lib/module-init-tools/weak-modules2 which defaults to /boot/initrd-<version> when it runs mkinitrd. Later rpm/post.sh calls "/usr/lib/bootloader/bootloader_entry ... initrd-<version>". If that string is changed to something else, the bootloader config entry and the actual filename in /boot will differ.
So if its a hard requirement to let Kernel:HEAD work out of the box in older dists we are stuck with /boot/initrd and the currently implemented package conflict.
We've never had a hard requirement that Kernel:HEAD couldn't require updated dependencies. In the past we've required newer mkinitrd and newer udev pretty regularly.
... and that was not nice. I hit that often in the past, I ignored the dependency and fortunately the stuff still came up. I also think that if we really want to switch to initramfs instead of initrd name, it should be done in a second step, before running into above or possible other issues where tools we did not even think about expect the initrd being named /boot/initrd*. I am currently looking at adjusting kdump (mkdumprd) to dracut. There may be others , at least for openSUSE factory not elementary features which need to get adjusted now one by one. Olaf's list of possibly affected packages is perfect for finding these. It should get concentrated on those instead of opening another construction site. Maybe I should write a short Wiki article how to switch back to mkinitrd by ignoring package dependencies if someone runs into such issues. It's not more than: #> rpm -e dracut --nodeps #> zypper install mkinitrd #> mkinitrd Thomas -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org