Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2013-01-26 Thread Ivo De Decker
Hi, On Tue, Jan 22, 2013 at 07:10:37PM +0100, gregor herrmann wrote: 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

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2013-01-26 Thread Andreas Beckmann
Hi Ivo, doing a sponsoring review I find this: On 2013-01-26 17:10, Ivo De Decker wrote: +head -28 /etc/nut/nut.conf /etc/nut/nut.conf.new mv /etc/nut/nut.conf.new /etc/nut/nut.conf insecure tempfile, maybe file owner lost, maybe file permissions lost, ... sed -i '29,$ d'

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2013-01-26 Thread Ivo De Decker
Hi Andreas, On Sat, Jan 26, 2013 at 07:42:26PM +0100, Andreas Beckmann wrote: doing a sponsoring review I find this: Thanks for the review. On 2013-01-26 17:10, Ivo De Decker wrote: +head -28 /etc/nut/nut.conf /etc/nut/nut.conf.new mv /etc/nut/nut.conf.new /etc/nut/nut.conf

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2013-01-26 Thread gregor herrmann
On Sat, 26 Jan 2013 17:10:29 +0100, Ivo De Decker wrote: Now, I'm not sure how to fix this in a sane way. It seems this can be fixed by just keeping the first part of the config file in the preinst. The attached patch fixes the piuparts error. Ah, yes, this should work. Thanks for coming up

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2013-01-26 Thread Andreas Beckmann
On 2013-01-26 20:22, Ivo De Decker wrote: I uploaded a new version to mentors (debdiff attached): http://mentors.debian.net/debian/pool/main/n/nut/nut_2.6.4-2.3.dsc May thanks for tracking this down! Sponsored and uploaded to DELAYED/2 - I hope that delay is OK, otherwise I can still change

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2013-01-22 Thread gregor herrmann
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

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2013-01-21 Thread gregor herrmann
On Sun, 20 Jan 2013 18:31:09 +0100, Andreas Beckmann wrote: I can still reproduce the problem in a lenny-squeeze-wheezy upgrade: Setting up nut-client (2.6.4-2.2) ... Configuration file `/etc/nut/nut.conf' == Modified (by you or by a script) since installation. == Package

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2013-01-21 Thread Andreas Beckmann
Followup-For: Bug #677054 Hi, start with lenny chroot: installation in lenny: /etc/nut/ is empty distupgrade to squeeze: 331cca39153f451c2968f4b734c1cf3f /etc/nut-l2s/nut.conf -rw-r--r-- 1 root root 2647 Jan 21 19:48 /etc/nut-l2s/nut.conf attached nut.conf.lenny2squeeze Distupgrade to

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2012-11-26 Thread Arnaud Quette
Hi Sebastien 2012/11/23 Sébastien Villemot sebast...@debian.org Control: tags -1 + patch Laurent Bigonville bi...@debian.org writes: The bug (maintainer script modifying conffile) that bring us to this situation (prompting the user for a file he has not modified himself) is not

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2012-11-23 Thread Sébastien Villemot
Control: tags -1 + patch Laurent Bigonville bi...@debian.org writes: The bug (maintainer script modifying conffile) that bring us to this situation (prompting the user for a file he has not modified himself) is not happening in the version in wheezy and the root cause is fixed (bug #684392)

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2012-11-15 Thread Stefano Zacchiroli
On Thu, Aug 09, 2012 at 05:04:00PM +0200, Laurent Bigonville wrote: the best would be to patch nut.conf to have spaces already removed. I don't see anything else. In the current version in wheezy/sid, this is already done. Should we do this also in stable to limit the number of people

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2012-11-15 Thread Julien Cristau
On Thu, Nov 15, 2012 at 11:57:09 +0100, Stefano Zacchiroli wrote: On Thu, Aug 09, 2012 at 05:04:00PM +0200, Laurent Bigonville wrote: the best would be to patch nut.conf to have spaces already removed. I don't see anything else. In the current version in wheezy/sid, this is already

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2012-11-15 Thread Laurent Bigonville
Le Thu, 15 Nov 2012 11:57:09 +0100, Stefano Zacchiroli z...@debian.org a écrit : On Thu, Aug 09, 2012 at 05:04:00PM +0200, Laurent Bigonville wrote: the best would be to patch nut.conf to have spaces already removed. I don't see anything else. In the current version in wheezy/sid,

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2012-08-10 Thread Laurent Bigonville
Hi, I'm tempted to close that bug as WONTFIX. The original issue is IMHO that the post-install script is modifying nut.conf in the version present in squeeze (see #684392). I see no easy way (not involving a dirty hack[0]) to fix this. Moreover it's very unlikely that the user has NOT modified

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2012-08-09 Thread Laurent Bigonville
Hi, It seems that the issue is that the nut-server postinst script in the version currently in squeeze is modifying the freshly installed /etc/nut/nut.conf (to remove the white spaces around the equal sign) which means that md5 doesn't match anymore. I'm not too sure how this could be fixed.

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2012-08-09 Thread Arnaud Quette
2012/8/9 Laurent Bigonville bi...@debian.org Hi, Hi Laurent, It seems that the issue is that the nut-server postinst script in the version currently in squeeze is modifying the freshly installed /etc/nut/nut.conf (to remove the white spaces around the equal sign) which means that md5

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2012-08-09 Thread Laurent Bigonville
Le Thu, 9 Aug 2012 16:54:33 +0200, Arnaud Quette aquette@gmail.com a écrit : 2012/8/9 Laurent Bigonville bi...@debian.org Hi, Hi Laurent, It seems that the issue is that the nut-server postinst script in the version currently in squeeze is modifying the freshly installed

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2012-08-09 Thread Arnaud Quette
2012/8/9 Laurent Bigonville bi...@debian.org Le Thu, 9 Aug 2012 16:54:33 +0200, Arnaud Quette aquette@gmail.com a écrit : 2012/8/9 Laurent Bigonville bi...@debian.org Hi, Hi Laurent, It seems that the issue is that the nut-server postinst script in the version

Bug#677054: nut-client: prompting due to modified conffiles which were not modified by the user

2012-06-11 Thread Andreas Beckmann
Package: nut-client Version: 2.6.4-1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts Hi, during a test with piuparts I noticed your package failed the piuparts upgrade test because dpkg detected a conffile as being modified and then prompted the user for an action. As there