FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 11-18-2009, 04:34 PM
John Dennis
 
Default does removing a package also remove package data?

I couldn't find this in the guidelines and I'm looking for clarification.

When a package generates data as a consequence of it's runtime operation
should the package data also be removed along with the package files
when the package is uninstalled (i.e. rpm -e)?


Issues:

* It may be a user expectation that removing a package removes all the
files associated with the package even if they are not package files
(listed in %files). Most people remove packages because they don't want
or need the package any more and don't want cruft left behind, they want
a clean uninstall which recovers the maximum disk space possible without
"orphans"


* Generated data may have value after the package is removed, for some
users it might be an unpleasant experience to discover after removing a
package the data files were wiped out too.


* It's not possible to query the user at uninstall time as to the
disposition of data files because the uninstall (like install's) may be
scripted.


My inclination is the packaging guidelines should encourage the removal
of data files generated by the package when the package is removed.


Comments?

--
John Dennis <jdennis@redhat.com>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/

--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
 

Thread Tools




All times are GMT. The time now is 05:33 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org