| Summary: | Missing kernel source file crypto/signature/key.h | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | William Boyle <woboyle> |
| Component: | kernel | Assignee: | Jarod Wilson <jarod> |
| Status: | CLOSED NOTABUG | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
x86_64 RHEL 6.2 installed in VirtualBox VM.
|
|
| Last Closed: | 2012-03-06 22:27:37 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
William Boyle
2012-02-28 17:09:50 UTC
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Source rpm installed and built in local ~/rpmbuild tree. Compilation of kernel fails when it tries to build crypto/signature files. Copying key.h from 2.6.32-131 source rpm into crypto/signature allows the build to continue and successfully complete. This seemed safe to me since no other files in that directory had changed between the 131 and 220 kernels.
$ rpm -ivh kernel-2.6.32-220.el6.src.rpm ... $ rpmbuild -bp kernel.spec ... $ ls ~/rpmbuild/BUILD/kernel-2.6.32-220.el6/ linux-2.6.32-220.el6.x86_64 vanilla-2.6.32-220.el6 $ ls ~/rpmbuild/BUILD/kernel-2.6.32-220.el6/linux-2.6.32-220.el6.x86_64/crypto/signature/ dsa.c key.h ksign.c ksign-keyring.c ksign-parse.c ksign-publickey.c local.h Makefile As you can see, key.h is there. Its not in the vanilla-* dir, because its generated on the fly by kernel.spec: $ grep key.h kernel.spec scripts/bin2c ksign_def_public_key __initdata <extract.pub >crypto/signature/key.h There's no bug here, looks like you're just looking in the wrong place. Note also, that building out-of-tree modules isn't generally supposed to be done against a full rebuild of the running kernel, but rather against the running kernel's kernel-devel package. Deleted Technical Notes Contents. Old Contents: Source rpm installed and built in local ~/rpmbuild tree. Compilation of kernel fails when it tries to build crypto/signature files. Copying key.h from 2.6.32-131 source rpm into crypto/signature allows the build to continue and successfully complete. This seemed safe to me since no other files in that directory had changed between the 131 and 220 kernels. Ok. I was not using rpmbuild to prep the OS, extracting some of those pesky missing parts. Interesting that the kernel built as soon as the key.h file had been restored. Anyway, sorry for the panic. |