[Pkg-varnish-devel] Bug#698577: varnish: prompting due to modified conffiles which were not modified by the user
Julien Cristau
jcristau at debian.org
Sun Jan 27 17:43:17 UTC 2013
On Sun, Jan 20, 2013 at 18:12:54 +0100, Andreas Beckmann wrote:
> Setting up varnish (3.0.2-2) ...
> Installing new version of config file /etc/init.d/varnishncsa ...
> Installing new version of config file /etc/init.d/varnish ...
> Installing new version of config file /etc/init.d/varnishlog ...
> Installing new version of config file /etc/varnish/default.vcl ...
> Installing new version of config file /etc/default/varnishncsa ...
>
> Configuration file `/etc/default/varnish'
> ==> Modified (by you or by a script) since installation.
> ==> Package distributor has shipped an updated version.
> What would you like to do about it ? Your options are:
> Y or I : install the package maintainer's version
> N or O : keep your currently-installed version
> D : show the differences between the versions
> Z : start a shell to examine the situation
> The default action is to keep your current version.
> *** varnish (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing varnish (--configure):
> EOF on stdin at conffile prompt
>
> This was observed on an upgrade from lenny to squeeze to wheezy.
>
So what happens is when upgrading from lenny, the varnish/squeeze
postinst runs:
upgrade_enable_varnishd() {
sed -i '/^START=/s/no/yes/g' /etc/default/varnish
}
which thus modifies the conffile, and the upgrade to wheezy barfs on
that.
This is icky, but I'm not sure we should consider this serious.
Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-varnish-devel/attachments/20130127/6c3c160f/attachment.pgp>
More information about the Pkg-varnish-devel
mailing list