Bug 1380200 - After upgrade to F24 not possible to rebuild the kernel init ramdisk due to missing udevadm
Summary: After upgrade to F24 not possible to rebuild the kernel init ramdisk due to m...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: dracut-maint-list
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-28 22:59 UTC by Michal Ambroz
Modified: 2017-08-08 19:14 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-08 19:14:55 UTC
Type: Bug


Attachments (Terms of Use)

Description Michal Ambroz 2016-09-28 22:59:31 UTC
Description of problem:
After upgrade from Fedora 23 to Fedora 24 I was having problems with re-generating the initramdisk with dracut. The utility udevadm moved to systemd-udev, which didn't get installed by default.


Version-Release number of selected component (if applicable):
systemd-udev-229-13.fc24.x86_64 


How reproducible:
I guess it is 100% upgrading from the minimal installation

Steps to Reproduce:
1. Install Fedora 23 minimal installation (cloud or server)
2. Upgrade to Fedora 24
3. try to reinstall the kernel-core package
dnf reinstall kernel-core

Actual results:
the ramdisk fails to rebuild because dracut fails reporting that the udevadm is missing

Expected results:
the boot ramdisk should be rebuilt.

Additional info:
# dnf -y reinstall kernel-core-4.7.4-200.fc24.x86_64
Last metadata expiration check: 3:26:05 ago on Wed Sep 28 19:17:50 2016.
Dependencies resolved.
=================================================================================================================================================================================================
 Package                                         Arch                                       Version                                            Repository                                   Size
=================================================================================================================================================================================================
Reinstalling:
 kernel-core                                     x86_64                                     4.7.4-200.fc24                                     updates                                      19 M

Transaction Summary
=================================================================================================================================================================================================

Total download size: 19 M
Downloading Packages:
kernel-core-4.7.4-200.fc24.x86_64.rpm                                                                                                                             41 MB/s |  19 MB     00:00    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                             14 MB/s |  19 MB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Reinstalling: kernel-core-4.7.4-200.fc24.x86_64                                                                                                                                            1/2 
  Erasing     : kernel-core-4.7.4-200.fc24.x86_64                                                                                                                                            2/2 
/usr/lib/dracut/dracut-init.sh: line 410: udevadm: command not found
/usr/lib/dracut/dracut-init.sh: line 423: [: -ge: unary operator expected
/usr/lib/dracut/dracut-init.sh: line 410: udevadm: command not found
/usr/lib/dracut/dracut-init.sh: line 423: [: -ge: unary operator expected
dracut-install: ERROR: installing 'udevadm'
dracut: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.PiL8te/initramfs -a udevadm cat uname blkid
dracut: Cannot find [systemd-]udevd binary!
mkinitrd failed
warning: %posttrans(kernel-core-4.7.4-200.fc24.x86_64) scriptlet failed, exit status 1
Non-fatal POSTTRANS scriptlet failure in rpm package kernel-core
Non-fatal POSTTRANS scriptlet failure in rpm package kernel-core
  Verifying   : kernel-core-4.7.4-200.fc24.x86_64                                                                                                                                            1/2 
  Verifying   : kernel-core-4.7.4-200.fc24.x86_64                                                                                                                                            2/2 

Reinstalled:
  kernel-core.x86_64 4.7.4-200.fc24                                                                                                                                                              

Complete!

Comment 1 Harald Hoyer 2016-10-12 12:21:05 UTC
$ rpm -qf /usr/bin/udevadm
systemd-udev-....

How did you end up without udev?

Seems to be a major upgrade failure... your system would not boot anyway without udev.

Comment 2 Fedora End Of Life 2017-07-25 23:16:36 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2017-08-08 19:14:55 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.