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

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

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)" 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 >> syslog-ng-core.

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 pre

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 o

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 syml

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 packag

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

2013-03-05 Thread Michael Biebl
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: > > acpid: > /etc/systemd/system/sockets.target.wants/acpid.socket > avahi-daemon: > /etc/systemd/system/d

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

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

2013-03-03 Thread Michael Biebl
On 03.03.2013 22:53, Michael Biebl wrote: > syslog-ng-core: > /etc/systemd/system/multi-user.target.wants/syslog-ng.service > /etc/systemd/system/syslog-ng.service > Oh, and btw, converting the /etc/systemd/system/syslog.service symlink to a real file named /etc/systemd/system/syslog-ng.service

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

2013-03-03 Thread Michael Biebl
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. That will only cause problems in the future. Specifically the syslog.se