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

Bug 910682

Summary: chpathtool cannot migrate some symlinks at etc/ssl/certs/
Product: Portage Development Reporter: Yiyang Wu <xgreenlandforwyy>
Component: CoreAssignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: normal CC: prefix
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Yiyang Wu 2023-07-22 08:07:38 UTC
I tried to migrate a fresh stage3 prefix to another location with same prefix length. Most things works smoothly, expect some symlinks not properly migrated, e.g.

etc/ssl/certs/XRamp_Global_CA_Root.pem is pointing to the original prefix, and will break if the original prefix is gone.

Reproducible: Always

Steps to Reproduce:
1. cp -a /the/old/prefix /foo
2. cd ${EPREFIX}/usr/lib/portage/python3.11/usr/lib/portage/python3.11
3. python3 chpathtool.py /foo /the/old/prefix /the/new/prefix