Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421165 - sys-apps/portage: unmerge orphan symlinks when CONTENTS lists directory instead
Summary: sys-apps/portage: unmerge orphan symlinks when CONTENTS lists directory instead
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on: 423127
Blocks: 428082 423075
  Show dependency tree
 
Reported: 2012-06-14 21:15 UTC by Zac Medico
Modified: 2012-07-25 18:57 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2012-06-14 21:15:00 UTC
For example, skype-2.2.0.35-r99 installs a /usr/share/skype -> /opt/skype symlink, and skype-4.0.0.7-r1 installs /usr/share/skype as a directory. If skype-4.0.0.7-r1 gets installed on top of the symlink, we want that orphan symlink to be unmerged if skype is unmerged.
Comment 2 Zac Medico gentoo-dev 2012-06-23 07:40:18 UTC
This is fixed in 2.1.11 and 2.2.0_alpha111.
Comment 3 Zac Medico gentoo-dev 2012-06-23 10:27:53 UTC
Since /lib is a symlink to /lib64 on my amd64 system, I'm getting a message like this when I rebuild my kernel modules:

 * One or more symlinks to directories have been preserved in order to
 * ensure that files installed via these symlinks remain accessible:
 * 
 *      /lib
 * 

I guess we can just whitelist /lib and /usr/lib here.
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2012-06-23 11:14:35 UTC
(In reply to comment #3)
> I guess we can just whitelist /lib and /usr/lib here.

Sounds good.