Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166695 - Clean out stale files from the stage-target dir before capturing the stage
Summary: Clean out stale files from the stage-target dir before capturing the stage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-02-13 18:28 UTC by Christian Heim (RETIRED)
Modified: 2007-03-20 17:17 UTC (History)
0 users

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


Attachments
catalyst-2.0.2-clean-stale-files.patch (catalyst-2.0.2-clean-stale-files.patch,1014 bytes, patch)
2007-02-13 18:28 UTC, Christian Heim (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Heim (RETIRED) gentoo-dev 2007-02-13 18:28:28 UTC
Currently, when catalyst installs packages modifying /etc/group, /etc/passwd or /etc/shadow, the old file is getting copied as $name-.

This files are still present when the stage is being captured and thus being present in the final stage.

Find attached a patch against catalyst-2.0.2 to clean those old files.
Comment 1 Christian Heim (RETIRED) gentoo-dev 2007-02-13 18:28:52 UTC
Created attachment 110086 [details, diff]
catalyst-2.0.2-clean-stale-files.patch
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-03-06 17:27:48 UTC
OK.  I've added this to subversion now...
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-03-20 17:17:24 UTC
This is fixed in 2.0.3 which should be hitting the tree shortly.