Bug#690067: Bug#702195: symlink conffiles are not supported, causing problems for dpkg on upgrade/removal and incorrect debsums reports

2013-03-25 Thread Michael Biebl
Hi, Am 09.03.2013 20:27, schrieb Laszlo Boszormenyi (GCS): On Wed, 2013-03-06 at 22:31 +0100, Michael Biebl wrote: On Thu, 2013-03-07 at 15:53 +0100, Gergely Nagy wrote: I checked just now, and some things were picked from the merge-queue/3.5 branch (the default branch on github), namely

Bug#690067: Bug#702195: symlink conffiles are not supported, causing problems for dpkg on upgrade/removal and incorrect debsums reports

2013-03-25 Thread Michael Biebl
Am 25.03.2013 23:23, schrieb Michael Biebl: Hi, Am 09.03.2013 20:27, schrieb Laszlo Boszormenyi (GCS): On Wed, 2013-03-06 at 22:31 +0100, Michael Biebl wrote: On Thu, 2013-03-07 at 15:53 +0100, Gergely Nagy wrote: I checked just now, and some things were picked from the merge-queue/3.5

Bug#690067: Bug#702195: symlink conffiles are not supported, causing problems for dpkg on upgrade/removal and incorrect debsums reports

2013-03-25 Thread Laszlo Boszormenyi (GCS)
On Mon, 2013-03-25 at 23:34 +0100, Michael Biebl wrote: Am 25.03.2013 23:23, schrieb Michael Biebl: Am 09.03.2013 20:27, schrieb Laszlo Boszormenyi (GCS): On Wed, 2013-03-06 at 22:31 +0100, Michael Biebl wrote: On Thu, 2013-03-07 at 15:53 +0100, Gergely Nagy wrote: I checked just now, and

Bug#690067: Bug#702195: symlink conffiles are not supported, causing problems for dpkg on upgrade/removal and incorrect debsums reports

2013-03-20 Thread Michael Biebl
Hi, Am 12.03.2013 18:16, schrieb Michael Biebl: On 09.03.2013 20:27, Laszlo Boszormenyi (GCS) wrote: It builds fine in Wheezy pbuilder and if you do agree, I'll upload it[1]. looks good to me. Did you have a chance to prepare the upload in the mean time? Michael -- Why is it that all

Bug#690067: Bug#702195: symlink conffiles are not supported, causing problems for dpkg on upgrade/removal and incorrect debsums reports

2013-03-12 Thread Michael Biebl
On 09.03.2013 20:27, Laszlo Boszormenyi (GCS) wrote: On Wed, 2013-03-06 at 22:31 +0100, Michael Biebl wrote: I think something like this should do: if [ $1 = upgrade ] dpkg --compare-versions $2 lt 3.3.5-3; then .. fi Done. On Thu, 2013-03-07 at 15:53 +0100, Gergely Nagy wrote: I

Bug#690067: Bug#702195: symlink conffiles are not supported, causing problems for dpkg on upgrade/removal and incorrect debsums reports

2013-03-09 Thread Laszlo Boszormenyi (GCS)
On Wed, 2013-03-06 at 22:31 +0100, Michael Biebl wrote: I think something like this should do: if [ $1 = upgrade ] dpkg --compare-versions $2 lt 3.3.5-3; then .. fi Done. On Thu, 2013-03-07 at 15:53 +0100, Gergely Nagy wrote: I checked just now, and some things were picked from the

Bug#690067: Bug#702195: symlink conffiles are not supported, causing problems for dpkg on upgrade/removal and incorrect debsums reports

2013-03-07 Thread Gergely Nagy
Laszlo Boszormenyi (GCS) g...@debian.hu writes: On Wed, 2013-03-06 at 13:17 +0100, Michael Biebl wrote: 1/ as you no longer mark the symlinks as conffiles, the cleanup in syslog-ng-core.postrm is not necessary. Removed. 2/ you need to remove the existing conffile symlinks in

Bug#690067: Bug#702195: symlink conffiles are not supported, causing problems for dpkg on upgrade/removal and incorrect debsums reports

2013-03-06 Thread Michael Biebl
On 05.03.2013 23:10, Laszlo Boszormenyi (GCS) wrote: [1] dget -x http://www.barcikacomp.hu/gcs/syslog-ng_3.3.5-3.dsc A couple of comments: 1/ as you no longer mark the symlinks as conffiles, the cleanup in syslog-ng-core.postrm is not necessary. 2/ you need to remove the existing conffile

Bug#690067: Bug#702195: symlink conffiles are not supported, causing problems for dpkg on upgrade/removal and incorrect debsums reports

2013-03-06 Thread Laszlo Boszormenyi (GCS)
On Wed, 2013-03-06 at 13:17 +0100, Michael Biebl wrote: 1/ as you no longer mark the symlinks as conffiles, the cleanup in syslog-ng-core.postrm is not necessary. Removed. 2/ you need to remove the existing conffile symlinks in syslog-ng-core.preinst so dpkg converts it to non-conffiles on

Bug#690067: Bug#702195: symlink conffiles are not supported, causing problems for dpkg on upgrade/removal and incorrect debsums reports

2013-03-06 Thread Michael Biebl
I'd say, we're almost there On 06.03.2013 18:45, Laszlo Boszormenyi (GCS) wrote: On Wed, 2013-03-06 at 13:17 +0100, Michael Biebl wrote: 2/ you need to remove the existing conffile symlinks in syslog-ng-core.preinst so dpkg converts it to non-conffiles on upgrades Remove those in preinst.

Bug#690067: Bug#702195: symlink conffiles are not supported, causing problems for dpkg on upgrade/removal and incorrect debsums reports

2013-03-06 Thread Michael Biebl
On 06.03.2013 20:44, Michael Biebl wrote: I'd say, we're almost there On 06.03.2013 18:45, Laszlo Boszormenyi (GCS) wrote: On Wed, 2013-03-06 at 13:17 +0100, Michael Biebl wrote: 2/ you need to remove the existing conffile symlinks in syslog-ng-core.preinst so dpkg converts it to

Bug#690067: Bug#702195: symlink conffiles are not supported, causing problems for dpkg on upgrade/removal and incorrect debsums reports

2013-03-06 Thread Michael Biebl
On 06.03.2013 21:36, Michael Biebl wrote: On 06.03.2013 20:44, Michael Biebl wrote: I'd say, we're almost there On 06.03.2013 18:45, Laszlo Boszormenyi (GCS) wrote: On Wed, 2013-03-06 at 13:17 +0100, Michael Biebl wrote: 2/ you need to remove the existing conffile symlinks in

Bug#690067: Bug#702195: symlink conffiles are not supported, causing problems for dpkg on upgrade/removal and incorrect debsums reports

2013-03-05 Thread Laszlo Boszormenyi (GCS)
On Tue, 2013-03-05 at 21:05 +0100, Michael Biebl wrote: On 03.03.2013 22:53, Michael Biebl wrote: Seeing the poor handling of symlinked conffiles, I'm wondering if we should also remove them for the other affected packages, which do that: [...] After a closer look, all those packages do

Bug#690067: Bug#702195: symlink conffiles are not supported, causing problems for dpkg on upgrade/removal and incorrect debsums reports

2013-03-04 Thread Julien Cristau
On Sun, Mar 3, 2013 at 22:53:50 +0100, Michael Biebl wrote: found 690067 3.3.5-3 thanks I quickly talked to algernon on IRC and did let him know that the proposed fix to use real conffiles for the systemd symlinks is not good. symlinks in .wants directories should never be real files.