Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15421 - postfix apache & postgresql unmerge leaves files (in /etc and in some cases in /var/lib/..)
Summary: postfix apache & postgresql unmerge leaves files (in /etc and in some cases i...
Status: RESOLVED DUPLICATE of bug 8423
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-10 03:04 UTC by klavs klavsen
Modified: 2007-09-22 23:11 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 klavs klavsen 2003-02-10 03:04:26 UTC
When uninstalling Postfix it does not remove files in /etc nor in
/var/lib/postfix. This creates a problem if one wants to reinstall, and get the
new and updated configure files. a new emerge doesn't even create a
._cfg0001_main.cf (or master.cf) - so one does not have the possibility to see
the new files - but must rename the old dir - to get the new files.
Also /var/lib/postfix has the same problem.

Same goes for apache, and postgresql I have verified.
Comment 1 SpanKY gentoo-dev 2003-02-11 13:03:15 UTC
if you touch a file in any way, unmerging it will not remove those files ...

maybe some kind of option (--nuke or something) so that the user can have the pkg
*completely* removed from their system ... sometimes i want this done ...
Comment 2 klavs klavsen 2003-02-12 03:56:07 UTC
a --nuke wouldn't be bad. f.ex. also, if one is having kde problems - it can often help to REALLY uninstall old versions - and then install the new one from scratch.

Also it would be cool, if portage could store the md5sum of files, and ctime - and if these hasn't changed (or atleast the md5sum hasn't) - it can safely overwrite them when upgrading - and safely remove them if uninstalling. And if they have changed, it should rename them to .old or .backup or .unmerged - as they no longer belong on the system IMHO. This is also what rpm does actually - and it could be a very nice feature.

Ofcourse, if portage were to store md5sum and ctime (+ other properties of the package's files?) we would also have a built in File IDS - just as RPM has - and we could add cool features, as signing of the portage database, so it had built in Tripwire equivalent security features. A great step up IMHO.
Comment 3 SpanKY gentoo-dev 2003-02-12 09:43:34 UTC
md5sums and ctimes are already stored, thats how portage determines whether to 
leave a file 
Comment 4 SpanKY gentoo-dev 2003-02-25 15:32:21 UTC

*** This bug has been marked as a duplicate of 8423 ***