dracut hang in %posttrans of Rawhide kernel install?

Dan Mashal dan.mashal at gmail.com
Tue Jul 16 22:07:03 UTC 2013


On Sat, Jul 13, 2013 at 12:09 AM, Adam Williamson <awilliam at redhat.com> wrote:
> Hey, folks - I have my desktop on Rawhide now, and on trying to install
> the latest kernel build from Koji today -
> http://koji.fedoraproject.org/koji/buildinfo?buildID=433327 - the yum
> process seemed to hang indefinitely at '  Cleanup    :
> kernel-3.10.0-1.fc20.x86_64                                  3/3' . I
> saw several stuck dracut processes:
>
> root     22006  0.0  0.0 113752  2188 pts/0    S+   Jul12
> 0:00 /bin/bash /sbin/dracut
> -f /boot/initramfs-3.11.0-0.rc0.git7.1.fc20.x86_64.img
> 3.11.0-0.rc0.git7.1.fc20.x86_64
>
> all that same command, apparently spawned by:
>
> root     21986  0.0  0.0 113316  1720 pts/0    S+   Jul12
> 0:00 /bin/bash /sbin/new-kernel-pkg --package kernel --mkinitrd --dracut
> --depmod --update 3.11.0-0.rc0.git7.1.fc20.x86_64
>
> I left them for several hours, none ever finished. Then I kill'ed them
> all - kill -9 was not necessary - and the yum process completed,
> complaining of:
>
> /sbin/dracut: line 871: /etc/crypttab: No such file or directory
> /sbin/new-kernel-pkg: line 496: 22006 Terminated              $tool
> mkinitrd failed
> warning: %posttrans(kernel-3.11.0-0.rc0.git7.1.fc20.x86_64) scriptlet
> failed, exit status 1
> Non-fatal POSTTRANS scriptlet failure in rpm package
> kernel-3.11.0-0.rc0.git7.1.fc20.x86_64
>
> and indeed, no initramfs existed for the new kernel.
>
> Has anyone else seen this? Any ideas on the cause, for a bug report?

I just upgraded to rawhide with 3.11.0-0.rc0.git7.1.fc20. I didnt get
any issues with dracut but Fedora would not boot. I am currently on
3.10.0-0.rc7.git0.2.fc20:

No dracut or post trans errors when upgrading to this:

Dependencies Resolved

================================================================================
 Package                      Arch   Version                      Repository
                                                                           Size
================================================================================
Installing:
 kernel                       x86_64 3.11.0-0.rc0.git7.1.fc20     rawhide  31 M
 kernel-devel                 x86_64 3.11.0-0.rc0.git7.1.fc20     rawhide 8.4 M

I'll try and build the kernel manually and report back.

Dan


More information about the devel mailing list