Bug 788549 - usrmove breaks /lib/cpp
Summary: usrmove breaks /lib/cpp
Keywords:
Status: CLOSED DUPLICATE of bug 787460
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: dracut-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-08 12:26 UTC by Richard W.M. Jones
Modified: 2012-02-08 12:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-08 12:51:00 UTC
Type: ---


Attachments (Terms of Use)

Description Richard W.M. Jones 2012-02-08 12:26:03 UTC
Description of problem:

This isn't a dracut bug, I'm just assigning it to
dracut because usrmove/convertfs caused the breakage.

$ touch test.x
$ rpcgen -h test.x
cannot find any C preprocessor (cpp)
[...]

It turns out that /lib/cpp symlink is broken:

$ ll /lib/cpp
lrwxrwxrwx. 1 root root 14 Feb  7 18:20 /lib/cpp -> ../usr/bin/cpp

That looks correct, but because /lib is a symlink to
/usr/lib, it's in fact wrong (because it goes to
/usr/usr/bin/cpp).

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

dracut-014-81.git20120202.fc17.noarch

How reproducible:

?

Steps to Reproduce:
1. do dracut convertfs
2. try to run rpcgen or just /lib/cpp
3.
  
Actual results:

Symlink to /lib/cpp is broken.

Expected results:

Not broken.

Additional info:

Comment 1 Harald Hoyer 2012-02-08 12:50:30 UTC
[harald@lenovo fedora]$ ls -l /lib/cpp 
lrwxrwxrwx 1 root root 10  8. Feb 13:17 /lib/cpp -> ../bin/cpp
[harald@lenovo fedora]$ rpm -qf /lib/cpp 
cpp-4.7.0-0.11.fc17.x86_64

Comment 2 Harald Hoyer 2012-02-08 12:51:00 UTC

*** This bug has been marked as a duplicate of bug 787460 ***


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