Am Samstag, den 26.11.2011, 12:15 +0000 schrieb Sam Morris: > On Fri, 2011-11-25 at 14:04 +0100, Michael Biebl wrote: > > That's the code in preinst. So either your system-tools-backends.conf > > file was modified, or the sha1 in preinst is incorrect. > > The diff between the file shipped by system-tools-backend in lenny and > the obsolete file on my system: > > $ diff -u /tmp/foo/etc/dbus-1/system.d/system-tools-backends.conf > /etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove > --- /tmp/foo/etc/dbus-1/system.d/system-tools-backends.conf > 2010-01-04 19:54:42.000000000 +0000 > +++ /etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove > 2009-04-14 20:32:56.150110375 +0100 > @@ -22,10 +22,8 @@ > <allow > send_interface="org.freedesktop.SystemToolsBackends.Platform" > send_member="getPlatform"/> > --> > > - <!-- configuration modules can't be accessed directly... --> > - <deny send_destination="org.freedesktop.SystemToolsBackends"/> > - <deny > send_destination="org.freedesktop.SystemToolsBackends.Platform"/> > - <deny send_destination="org.freedesktop.SystemToolsBackends"/> > + <!-- Only allow talking to the dispatcher --> > + <allow send_destination="org.freedesktop.SystemToolsBackends"/> > </policy> > > <policy user="0"> > @@ -60,8 +58,4 @@ > <allow > send_destination="org.freedesktop.SystemToolsBackends.UserConfig"/> > <allow > send_destination="org.freedesktop.SystemToolsBackends.UsersConfig"/> > </policy> > - <policy group="stb-admin"> > - <!-- be able to speak to the dispatcher --> > - <allow send_destination="org.freedesktop.SystemToolsBackends"/> > - </policy> > </busconfig>
I have the same leftover file and the checksum therefore differs.
$ sha1sum /etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove
1be2394739e54132aebed6ea579c9de5e10cefa0
/etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove
$ LANG=C ls -l
/etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove
-rw-r--r-- 1 root root 3386 Mar 12 2009
/etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove
> I'm guessing this came from a version of the package in-between the one
> in lenny and the one in squeeze. If that's the case then the upgrade
> code wouldn't remove the file since it only expects you to upgrade from
> lenny to squeeze.
>
> Assuming that dbus ignores configuration files files named *.dpkg-*, it
> seems un-necessary to fix the package to handle this upgrade (assuming
> that that is where this version of the file even came from), so I'm
> closing the bug.
True. But it would be nice to also have this file removed. Maybe add a
note to `README.Debian`?
Thanks,
Paul
signature.asc
Description: This is a digitally signed message part

