[Pkg-nagios-devel] Bug#488822: Bug#488822: nagios-plugins: overwrites configuration on upgrade
Jan Wagner
waja at cyconet.org
Tue Jul 1 14:43:05 UTC 2008
tags 488822 + moreinfo unreproducible
thanks
On Tuesday 01 July 2008 15:58, Jan Wagner wrote:
> Hi Andreas,
>
> On Tuesday 01 July 2008 15:17, Andreas Unterkircher wrote:
> > During upgrade, nagios-plugins has replaced all config files in
> > /etc/nagios-plugins/config with that files provided in the dist package.
> > The upgrade sequence did not asked me to keep my local changes which I
> > made to these files.
> >
> > So maybe they are not treated as config files? Upgrade was done with
> > "aptitude safe-upgrade".
>
> it would be nice to know, which version of the packages you had installed
> before the upgrade and maybe, which files was overwritten
Okay ... I double checked it here. The files are handled correct when
upgrating from 1.4.11-2 to 1.4.12-1. ucf opens a debconf dialog for asking
how to handle the file(s).
root 22893 2.9 28.1 51264 36876 ttyp1 Sl+ 16:37 0:00 aptitude
safe-upgrade
root 22938 0.0 1.6 3444 2164 ttyp3 Ss+ 16:37
0:00 /usr/bin/dpkg --status-fd 34 --configure nagios-plugins-basic
nagios-plugins-standard nagios-plugins
root 22939 0.0 0.7 2568 1044 ttyp3 S+ 16:37
0:00 /bin/sh -e /var/lib/dpkg/info/nagios-plugins-basic.postinst configure
1.4.11-2
root 22940 0.0 0.4 2576 644 ttyp3 S+ 16:37
0:00 /bin/sh -e /var/lib/dpkg/info/nagios-plugins-basic.postinst configure
1.4.11-2
root 23074 0.8 5.8 9464 7668 ttyp3 S+ 16:37
0:00 /usr/bin/perl -w /usr/share/debconf/frontend /usr/bin/ucf
dummy.cfg /etc/nagios-plugins/config/dummy.cfg
root 23082 0.0 0.9 2704 1252 ttyp3 S+ 16:37
0:00 /bin/bash /usr/bin/ucf dummy.cfg /etc/nagios-plugins/config/dummy.cfg
root 23111 0.0 1.4 3744 1920 ttyp3 S+ 16:37 0:00
whiptail --backtitle Package configuration --title Modified configuration
file --output-fd 11 --nocancel --default-item keep_current --menu A new
version of configuration file /etc/nagios-plugins/config/dummy.cfg is
available, but the version installed currently has been locally
modified.??What would you like to do about dummy.cfg? 15 154 5 -- install_new
keep_current diff sdiff shell
I guess there is anything messed on your system.
With kind regards, Jan.
--
Never write mail to <waja at spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20080701/3e0cb3a6/attachment.pgp
More information about the Pkg-nagios-devel
mailing list