OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_1pre2-79-g4ea64ce

Gerrit Code Review gerrit@openafs.org
Thu, 15 Mar 2012 08:53:56 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 4ea64ceb0b1e45820646a7d310f1172d230bd4bf
Author: Jonathan Billings <jsbillin@umich.edu>
Date:   Thu Mar 8 09:23:40 2012 -0500

    redhat: Don't replace modified configuration files during rpm update
    
    The previous setting for three %config files mentioned in the spec file:
    
    %config /etc/sysconfig/openafs
    %config %{_prefix}/vice/etc/ThisCell
    %config %{_prefix}/vice/etc/cacheinfo
    
    When using an unadorned %config, it's possible that these files will
    be replaced by the packaged version during a package update.  Changing
    %config to %config(noreplace) means that the packaged file will be
    installed with the extension .rpmnew if there is already a modified
    (from the existing package's version) file with the same name on the
    installed machine.
    
    The concern here is that updating an existing system could potentially
    change the configuration if the person installing doesn't pay close
    attention.  The Rule of Least Surprise indicates that we should
    try to preserve existing configuration changes whenever possible.
    
    Change-Id: Ie132c12a3c5defe9bf6fec9ec0f8bd08f3d98646
    Reviewed-on: http://gerrit.openafs.org/6887
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    Tested-by: Derrick Brashear <shadow@dementix.org>
    Reviewed-on: http://gerrit.openafs.org/6889
    Tested-by: BuildBot <buildbot@rampaginggeek.com>

 src/packaging/RedHat/openafs.spec.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

-- 
OpenAFS Master Repository