On Mon, 21 Jan 2013 21:09:31 +0100, Andreas Beckmann wrote:

> Followup-For: Bug #677054
> Hi,

Hi Andreas,

thanks for this additional information!
 
> start with lenny chroot:
> 
> installation in lenny:
> /etc/nut/ is empty
> distupgrade to squeeze:
> 331cca39153f451c2968f4b734c1cf3f  /etc/nut-l2s/nut.conf

> start with squeeze chroot:
> installation in squeeze:
> f9b571ae65952e3a761fac2202633478  /etc/nut-s/nut.conf

Now that's fancy that the file differs between those two cases ...
After staring a bit at the package, I think I found the reason:

The squeeze version has a nut.postinst that converts /etc/default/nut
to /etc/nut/nut.conf, so probably the fragments shown in your
lenny2squeeze file come from there; on a new squeeze install this
does not happen.

And now the nut-client.preinst in wheezy and sid [0] reverts some
mangling but only for an md5sum of f9b571ae65952e3a761fac2202633478,
i.e. for configs from fresh squeeze installs, and not for
upgraded-from-lenny files.

At least that's my guess now - maybe I got something wrong :)

Now, I'm not sure how to fix this in a sane way.


Cheers,
gregor


[0] this also indicates that the problem is present in 2.6.4-2.1,
    since the preinst was last touched in -2.1
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Rolling Stones: Everyday

Attachment: signature.asc
Description: Digital signature

Reply via email to