hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joep Rottinghuis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7387) Change rpm to ignore configuration files when uninstalling
Date Tue, 14 Jun 2011 16:49:47 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049264#comment-13049264
] 

Joep Rottinghuis commented on HADOOP-7387:
------------------------------------------

If I read the rpm_config page you referred to correctly, that specifies the behavior when
a package is updated, not what happens if it is uninstalled.
I'd say if a config file has been unchanged from the original installation then uninstall
should actually delete the config file (you can always get it back by re-installing the package
again).
If a config file has been modified and differs from the version in the pacakge, it could be
renamed to .rpmsave.

I think it is important that uninstalling packages leaves the system as close as possible
to the state it was in before the package was installed in the first place.
When you want to upgrade from one version to the next you really do not want any artifacts
to linger around and mess up things in an unexpected way.

Specifically:
Install version A, uninstall version A, install version B
should be the same as:
Install version B

> Change rpm to ignore configuration files when uninstalling
> ----------------------------------------------------------
>
>                 Key: HADOOP-7387
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7387
>             Project: Hadoop Common
>          Issue Type: Improvement
>         Environment: Java 6, RHEL 5.5
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Minor
>
> When uninstalling RPM files, the config files are renamed from core-site.xml to core-site.xml.rpmsave.
 It would be nice if config file does not get renamed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message