Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 330221

Summary: etc-update clobbers symlinks
Product: Portage Development Reporter: Justus Ranvier <gentoo>
Component: ToolsAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 485598    

Description Justus Ranvier 2010-07-28 13:20:35 UTC
Most of the files in my /etc/portage/package.* are symlinks to files stored on an NFS shared directory so that I only need to maintain one copy.

Whenever a profile update that changes package names comes around etc-update updates any affected files in /etc/portage/package.* but when it does so it overwrites the symlink with a regular file.

If etc-update encounters a symlink it should update the target instead of overwriting the link.

Reproducible: Always