Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910682 - chpathtool cannot migrate some symlinks at etc/ssl/certs/
Summary: chpathtool cannot migrate some symlinks at etc/ssl/certs/
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-22 08:07 UTC by Yiyang Wu
Modified: 2023-07-22 08:07 UTC (History)
1 user (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 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