Bug#762364: gnome-panel-data: doesn't clean up old config file :

2014-09-26 Thread Dmitry Shachnev
Hi,

Control: close -1

On Wed, Sep 24, 2014 at 9:26 PM, Christoph Anton Mitterer
cales...@scientia.net wrote:
 Even if that's a long while ago, why does it mean that it can't be
 cleaned up anymore?

Yes. We keep transitional stuff only for one Debian release.

 I mean it happens every now and then that maintainers forget to properly
 handle old config files, which they do then in on of the next releases -
 what's the difference if there is two weeks in between or 4 years?
 There should be dh helper routines to mark such file obsolete, and if
 its there it's removed and if not nothing happens.

 Otherwise all people who ever had gnome-panel-data installed will live
 with stale:
 /etc/dbus-1/system.d/org.gnome.ClockApplet.Mechanism.conf
 /etc/dbus-1/system.d/
 /etc/dbus-1/

I checked Svn and found out that on Debian side that directory was
dropped in revision 27005. That probably means that you had that
configuration file modified, and thus it was not removed. (Also, apt
should have warned you in any case, about not removing directory
/etc/dbus-1/system.d/ which has modified files).

There is really nothing I can do *now* to remove that file from your system.

--
Dmitry Shachnev


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#762364: gnome-panel-data: doesn't clean up old config file :

2014-09-26 Thread Emilio Pozuelo Monfort
Control: reopen -1

On 26/09/14 13:07, Dmitry Shachnev wrote:
 Hi,
 
 Control: close -1
 
 On Wed, Sep 24, 2014 at 9:26 PM, Christoph Anton Mitterer
 cales...@scientia.net wrote:
 Even if that's a long while ago, why does it mean that it can't be
 cleaned up anymore?
 
 Yes. We keep transitional stuff only for one Debian release.
 
 I mean it happens every now and then that maintainers forget to properly
 handle old config files, which they do then in on of the next releases -
 what's the difference if there is two weeks in between or 4 years?
 There should be dh helper routines to mark such file obsolete, and if
 its there it's removed and if not nothing happens.

 Otherwise all people who ever had gnome-panel-data installed will live
 with stale:
 /etc/dbus-1/system.d/org.gnome.ClockApplet.Mechanism.conf
 /etc/dbus-1/system.d/
 /etc/dbus-1/
 
 I checked Svn and found out that on Debian side that directory was
 dropped in revision 27005. That probably means that you had that
 configuration file modified, and thus it was not removed. (Also, apt
 should have warned you in any case, about not removing directory
 /etc/dbus-1/system.d/ which has modified files).
 
 There is really nothing I can do *now* to remove that file from your system.

There's dpkg-maintscript-helper's rm_conffile. That won't help in cases where
the user has *already* removed the package, but for those that still have it, it
will work, and is the right thing to do. So we should do it.

You can find examples of this in other GNOME packages, e.g.
gnome-settings-daemon. In many cases, this was only noticed after the file had
been removed, but that doesn't mean we can't fix it after the fact, as Christoph
suggests.

Regards,
Emilio


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#762364: gnome-panel-data: doesn't clean up old config file :

2014-09-26 Thread Christoph Anton Mitterer
On Fri, 2014-09-26 at 15:07 +0400, Dmitry Shachnev wrote: 
 Yes. We keep transitional stuff only for one Debian release.
Sure, but since GNOME maintainers forgot to do in in the last release
(respectively that release which applied) it should be appropriate to
finish homeworks now.


 I checked Svn and found out that on Debian side that directory was
 dropped in revision 27005.
I'm *quite* sure that I haven't touched anything there =)


 That probably means that you had that
 configuration file modified, and thus it was not removed.
Even then, if it would have been properly handled with dh helper
scripts, it would have been moved out of the way and renamed to
xxx.dpkg-old, wouldn't it?


  (Also, apt
 should have warned you in any case, about not removing directory
 /etc/dbus-1/system.d/ which has modified files).
Actually I'm one of the (probably) few people who really carefully look
for such messages in their long outputs of dpkg (it's not apt who warns
about this),... which is also one of the reason, why I open so very
often bugs about legacy config files, that aren't cleaned up ;) 

But of course... most people would simply oversee such a small error
line in the thousands of lines of output generated during an upgrade.


 There is really nothing I can do *now* to remove that file from your
 system.
Well for the reasons outlined in my previous email, I do not quite see
why you coudln't do anything (from a technical POV) apart from the
GNOME maintainers not willing to clean up their stuff.

Maybe we should rededicate this bug then to add a release notes item for
jessie, that people please manually clean up this file ;-)


smime.p7s
Description: S/MIME cryptographic signature


Bug#762364: gnome-panel-data: doesn't clean up old config file /etc/dbus-1/system.d/org.gnome.ClockApplet.Mechanism.conf

2014-09-24 Thread Dmitry Shachnev
Control: tags -1 moreinfo

Hi,

On Sun, Sep 21, 2014 at 6:45 PM, Christoph Anton Mitterer
cales...@scientia.net wrote:
 Package: gnome-panel-data
 Version: 3.8.1-2
 Severity: normal

 Apparently in some version, 
 /etc/dbus-1/system.d/org.gnome.ClockApplet.Mechanism.conf
 was dropped but not cleaned up correctly with the package management system.

It was dropped in 2010 (see [1]), and wheezy doesn't have that file.
So too late to fix it, even if it is a bug.

[1] https://git.gnome.org/browse/gnome-panel/commit/?id=4362e6cfafee8aeb

--
Dmitry Shachnev


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#762364: gnome-panel-data: doesn't clean up old config file :

2014-09-24 Thread Christoph Anton Mitterer
On Wed, 2014-09-24 at 14:37 +0400, Dmitry Shachnev wrote: 
 It was dropped in 2010 (see [1]), and wheezy doesn't have that file.
 So too late to fix it, even if it is a bug.
Even if that's a long while ago, why does it mean that it can't be
cleaned up anymore?

I mean it happens every now and then that maintainers forget to properly
handle old config files, which they do then in on of the next releases -
what's the difference if there is two weeks in between or 4 years?
There should be dh helper routines to mark such file obsolete, and if
its there it's removed and if not nothing happens.

Otherwise all people who ever had gnome-panel-data installed will live
with stale:
/etc/dbus-1/system.d/org.gnome.ClockApplet.Mechanism.conf
/etc/dbus-1/system.d/
/etc/dbus-1/

forever.


Cheers,
Chris.


smime.p7s
Description: S/MIME cryptographic signature


Bug#762364: gnome-panel-data: doesn't clean up old config file /etc/dbus-1/system.d/org.gnome.ClockApplet.Mechanism.conf

2014-09-21 Thread Christoph Anton Mitterer
Package: gnome-panel-data
Version: 3.8.1-2
Severity: normal


Hi.

Apparently in some version, 
/etc/dbus-1/system.d/org.gnome.ClockApplet.Mechanism.conf
was dropped but not cleaned up correctly with the package management system.

Cheers,
Chris.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_DE.utf8, LC_CTYPE=en_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-panel-data depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.20.0-2

Versions of packages gnome-panel-data recommends:
ii  gnome-panel  3.8.1-2

gnome-panel-data suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org