Skip Menu | Logged in as guest | Logout
 
Ticket metadata
Id: 2865
Status: resolved
Priority: 4/0
Queue: vdt-internal

Fixed in: 1.8.1
Fix scheduled: 1.8.1

Owner: Scot Kronenfeld
Requestors: Alain Roy
Cc:
AdminCc:

New reminder:

Created: Fri Aug 03 15:34:10 2007
Starts: Not set
Started: Wed Aug 29 11:22:57 2007
Last Contact: Not set
Due: Not set
Closed: Fri Sep 14 11:36:36 2007
Updated: Fri Sep 14 11:36:43 2007 by kronenfe



History Brief headersFull headers
Subject: Consider effect of updating on configuration (esp for Gratia probes)
Download (untitled) / with headers
text/plain 1.6k
We should reconsider the effect of updating on configuration.

We recently had a problem: VDT 1.6.1k updated the Graita probes but the
"pacman -update" operation didn't preserve the configuration of the
probes. We amended our documentation to tell people how to preserve the
configuration by hand (copy the configuration files before the update,
copy them back afterwards), and we told people how to fix their broken
configuration if they had already done the update.

This rightfully upset the Gratia developers when we stopped getting data
from more than 50 sites. They would like to make sure this problem never
happens again.

This ticket has two possible goals: we need to discuss and figure out
what our goal is. (And maybe create more tickets to address them.)

Possible Goal 1: Fix the Gratia Probes so that updates are safe.
Possible Solution for Goal 1, from Chris Green:
>I think the best long term way forward is to have the probes install
>with ProbeConfig.vdtnew and urCollector.conf.vdtnew; and have
>configure_gratia configure the .vdtnew version and *only* copy it to
>the default location if it doesn't already exist.

Possible Goal 2: Figure out a more general fix. As Chris pointed out to
me, "In RPM, it's simple: %config(noreplace)". No immediately obvious,
simple, general fix occurs to me.

Thought: could our package lists someone be capable of marking a file as
a configuration file that shouldn't be replaced? vdt-uninstall wouldn't
remove it, and pacman -remove would fail to remove it. I'm not sure what
would happen on the update though, since the probes currently include
the configuration file: would it just get overridden? Hmmm... my thought
is not fully thought out.