Bug 1331012

Summary: kernel-core should depend on /bin/kernel-install (or systemd-udev)
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-4.5.3-300.fc24 kernel-4.4.9-300.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-12 07:30:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2016-04-27 12:55:34 UTC
Description of problem:

When installing the kernel (in Koji):

DEBUG util.py:417:  /var/tmp/rpm-tmp.VStBY0: line 1: /bin/kernel-install: No such file or directory
DEBUG util.py:417:  warning: %posttrans(kernel-core-4.6.0-0.rc5.git0.1.fc25.x86_64) scriptlet failed, exit status 127

This seems to be because kernel-core needs to have an explicit
dependency on /bin/kernel-install (or the package that currently
provides it which is systemd-udev).

Version-Release number of selected component (if applicable):

kernel-core-4.6.0-0.rc5.git0.1.fc25.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Install kernel in a fresh chroot.

Additional info:

https://kojipkgs.fedoraproject.org//work/tasks/3900/13823900/root.log

Comment 1 Richard W.M. Jones 2016-04-27 12:57:14 UTC
Note this results in /boot being unpopulated.

Comment 2 Josh Boyer 2016-04-27 13:02:04 UTC
Hm.  This must be because of a change in systemd packaging because it's been working up until this point.  I'm a bit frustrated at the lack of coordination but whatever, that seems normal these days.  Thanks for the report.

I'll try and get this fixed with today's build.

Comment 3 Richard W.M. Jones 2016-04-27 13:20:15 UTC
Probably this change:
http://pkgs.fedoraproject.org/cgit/rpms/systemd.git/commit/?id=7f4276c41767f2264c6cc7a7a6cea5f30dc68022

Not sure why a libguestfs build didn't pick this up earlier - it
could be because libguestfs depends on systemd-udev itself.

The build that failed for me today was a supermin build, where the
tests require a kernel in /boot.

Comment 4 Josh Boyer 2016-04-27 15:32:52 UTC
(In reply to Richard W.M. Jones from comment #3)
> Probably this change:
> http://pkgs.fedoraproject.org/cgit/rpms/systemd.git/commit/
> ?id=7f4276c41767f2264c6cc7a7a6cea5f30dc68022

Yes.

I opted for Requires: /usr/bin/kernel-install as it's probably more future proof against further package swizzling.  It should be fixed in rawhide in tomorrow's compose.  I'll probably backport it to f23 and f24 later today too.

Comment 5 Fedora Update System 2016-05-05 12:15:40 UTC
kernel-4.5.3-300.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4ce97823af

Comment 6 Fedora Update System 2016-05-05 17:12:28 UTC
kernel-4.4.9-300.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-7d900003e6

Comment 7 Fedora Update System 2016-05-06 11:28:22 UTC
kernel-4.5.3-300.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4ce97823af

Comment 8 Fedora Update System 2016-05-06 20:55:09 UTC
kernel-4.4.9-300.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-7d900003e6

Comment 9 Fedora Update System 2016-05-08 10:28:43 UTC
kernel-4.5.3-300.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-05-09 17:00:49 UTC
kernel-4.4.9-200.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a159c484e4

Comment 11 Fedora Update System 2016-05-10 19:29:17 UTC
kernel-4.4.9-200.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-a159c484e4

Comment 12 Fedora Update System 2016-05-12 07:29:48 UTC
kernel-4.4.9-300.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2016-05-16 14:53:47 UTC
kernel-4.4.9-200.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.