[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: personalbackup



On Fri, Sep 08, 2006 at 10:01:47AM +1000, Matthew Palmer wrote:
> On Thu, Sep 07, 2006 at 05:26:53PM -0500, Luis Rodrigo Gallardo Cruz wrote:
> > On Thu, Sep 07, 2006 at 08:27:43PM +0200, kku wrote:
> > > Now to detect that the user did (not) change the conf file, I check the 
> > > md5sum of the content of the appropriate conf file 'except' for the Alias 
> > > line.
> > > And as far as I can see this is something ucf cannot handle...or am I wrong 
> > > here?
> > 
> > Uhh. From apt-cache show ucf
> 
> Luis, I think you missed a critical bit of what's being done with the config
> file -- the md5sum of only part of the config file is being checked, which
> (unless it's has had some *very* interesting features added lately) ucf
> can't do.

Indeed. Must read more carefuly next time.

Now, from a mentoring point of view, what should kku do? Create the
file on first install acording to the user's answer, then consider the
*resulting* file a conffile and treat it accordingly?

-- 
Rodrigo Gallardo
GPG-Fingerprint: 7C81 E60C 442E 8FBC D975  2F49 0199 8318 ADC9 BC28

Attachment: signature.asc
Description: Digital signature


Reply to: