Bug 14666
Summary: | missing symlinks in kernel-headers causes compiles to fail | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Paul C. DeLong <pdelong> | ||||
Component: | kernel | Assignee: | Pete Zaitcev <zaitcev> | ||||
Status: | CLOSED NOTABUG | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.2 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2000-07-27 21:02:36 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Paul C. DeLong
2000-07-26 15:16:00 UTC
I can not reproduce this bug. Installing "kernel-headers-2.2.16-i386.rpm" on my machine results in correct symlinks. Furthermore, a quick check of the rpm SPEC file shows the following commands being executed: cd /usr/include rm -f linux asm ln -snf ../src/linux/include/linux linux ln -snf ../src/linux/include/asm asm Were you running as root when you installed the rpm? I was running as "root" when I installed the RPM. However, unless you made a typo in your reply to me, it looks like you installed a different RPM than I did. I installed the RPM "kernel-headers-2.2.16-3.i386.rpm", whereas you're telling me that you installed an RPM by the name "kernel-headers-2.2.16-i386.rpm" (it's missing the "-3" suffix to the "2.2.16" version number). And when I do an "rpm -qlp" on the file, the two symlinks in-question are missing from the list. As far as I'm aware, this is the latest binary kernel RPM file. I got it off of the tux.org mirror, but I think it was also the latest according to a search I did on the RedHat updates page. I'll check again to see if another update was slipped by since I last checked. Are you sure you're using the latest RPM? You are right about the typo. However, I still get correct behavior from this RPM. Please execute the command: rpm -U -vv --force kernel-headers-2.2.16-3.i386.rpm and attach the last 50 or so lines of output to this bug report, along with the output of a 'uname -a' command. Created attachment 1613 [details]
gzipped tar of text files containing command output from rpm command-lines
Okay, I attached a gzipped-tar of command output that would help debug the problem. However, there were two snags. Firstly, in order for it to be useful, I gave more than just the last 50 lines of the rpm command output. Also, the command you told me to use failed due to dependency problems, so I had to install both "kernel-headers" and "kernel-source" on the same command-line. The output that you included shows that the symlinks were created on your machine. From the file typescript.3.txt: ... D: running preinstall script (if any) kernel-headers-2.2.16-3 GZDIO: 467 reads, 3817852 total bytes in 0.009 secs D: running postinstall scripts (if any) + cd /usr/src + rm -f linux + ln -snf linux-2.2.16 linux + cd /usr/include + rm -f linux asm + ln -snf ../src/linux/include/linux linux + ln -snf ../src/linux/include/asm asm ... Okay, I didn't notice that earlier. But that's on lines 1498 and 1499. Later on in "transcript.3.txt", on lines 2870 and 2871, the symlinks get removed again. It looks like there's an "order-of-operations" problem going on here. Perhaps the symlinks want to be created in the "postuninstall" stage. ... D: file: /usr/src/linux-2.2.14/README.kernel-sources action: remove D: file: /usr/src/linux-2.2.14 action: remove cannot remove /usr/src/linux-2.2.14 - directory not empty D: file: /usr/include/linux action: remove D: file: /usr/include/asm action: remove D: file: /boot/kernel.h action: remove D: running postuninstall script (if any) + [ -L /usr/src/linux ] ++ ls -l /usr/src/linux ++ awk { print $11 } + [ linux-2.2.16 = linux-2.2.14 ] + exit 0 D: removing database entry ... It looks like you forgot to enter a comment explaining why the bug is resolved. Is a new RPM being released with the bug fix? _____ Please go to this URL: http://www.redhat.com/swr/i386/kernel-headers-2.2.16-3.i386_fl.html This file list does not show the symlinks: /usr/include/asm /usr/include/linux |