[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#944968: marked as done (popularity-contest: Program accesses internal dpkg database)



Your message dated Wed, 03 Nov 2021 17:35:27 +0000
with message-id <E1miKAZ-000F1r-FI@fasolo.debian.org>
and subject line Bug#944968: fixed in popularity-contest 1.73
has caused the Debian Bug report #944968,
regarding popularity-contest: Program accesses internal dpkg database
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
944968: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944968
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: popularity-contest
Source-Version: 1.69
Severity: important
User: debian-dpkg@lists.debian.org
Usertags: dpkg-db-access-blocker

Hi!

This package contains the «popularity-contest» program, which directly
accesses the dpkg internal database, instead of using one of the public
interfaces provided by dpkg.

The program should stop reading the files list files, and switched to
use something like:

  «dpkg-query \
    --showformat 'Package: ${Package}\nFiles:\n${db-fsys:Files}\n' \
    --show»

to get them.


This is a problem for several reasons, because even though the layout and
format of the dpkg database is administrator friendly, and it is expected
that those might need to mess with it, in case of emergency, this
“interface” does not extend to other programs besides the dpkg suite of
tools. The admindir can also be configured differently at dpkg build or
run-time. And finally, the contents and its format, will be changing in
the near future.

Thanks,
Guillem

--- End Message ---
--- Begin Message ---
Source: popularity-contest
Source-Version: 1.73
Done: Bill Allombert <ballombe@debian.org>

We believe that the bug you reported is fixed in the latest version of
popularity-contest, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 944968@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bill Allombert <ballombe@debian.org> (supplier of updated popularity-contest package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 02 Nov 2021 17:49:47 +0100
Source: popularity-contest
Architecture: source
Version: 1.73
Distribution: unstable
Urgency: medium
Maintainer: Popularity Contest Developers <debian-popcon@lists.debian.org>
Changed-By: Bill Allombert <ballombe@debian.org>
Closes: 944968 977984 987425
Changes:
 popularity-contest (1.73) unstable; urgency=medium
 .
   * Updated Croatian by Valentin Vidic. Closes: #987425
   * Update example server-side scripts to popcon.d.o version:
     - popanal.py, popanal3.py: bump stable version to 1.71
   * debian/postinst: use "command -v" instead of "which"
   * popularity-contest:
     - get files list by using dpkg-query ${db-fsys:Files} instead of
       reading /var/lib/dpkg/info. Closes: #944968. Thanks Niels Thykier
     for suggesting a workable strategy.
   * debian/cron.daily:
     - use unique name for POPCONNEW to allow for atomic update.
     Closes: #977984. Thanks Ben Hutchings
Checksums-Sha1:
 aa5eedda6567884d1e87aad692d8f58a4ae7d4cb 1731 popularity-contest_1.73.dsc
 ffc288a90e9ab9289b65b1f55b9db9830aecd6d4 78436 popularity-contest_1.73.tar.xz
 f7da6c4b4cd7d7ecd3bcb31abbbecc5fbfb441cf 5479 popularity-contest_1.73_source.buildinfo
Checksums-Sha256:
 8ef342fe395f14cfd2deac52d060418a83a12c11258a68596f6cfcdaa7d4ed4b 1731 popularity-contest_1.73.dsc
 0f5f161111639dabf64a7cb7ec59cd2e99a5871cfb0b33b4fbb048ea1605fde5 78436 popularity-contest_1.73.tar.xz
 83fc04875c719196b6e48bcc0bd9e1c1c4b881df6d78217b3b93ef7e6522a59b 5479 popularity-contest_1.73_source.buildinfo
Files:
 315ba450365151d96c4b42536eecdcc0 1731 misc optional popularity-contest_1.73.dsc
 f92603eaa2aca63c44c8641728bf1f9b 78436 misc optional popularity-contest_1.73.tar.xz
 4b94fef5a415fd9e568d65207a9bd3f5 5479 misc optional popularity-contest_1.73_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEQgKOpASi6dgKxFMUjw58K0Ui44cFAmGCwmYACgkQjw58K0Ui
44d+1w//T8BBcpF5ujD2jAPpOx1ZPhabcZmSEmfAFMS7Qa2I/0A9L8ix22+qkNJ4
t9NQJlX6/2GL5VKs6BHmxbTvTVf7E6aSdyGisBN+nurm1tFlBKXNywkCrbB5rCm7
UMRSDNWM5OcWPeJoWpXShTjk2UvRw6SbNTarMd/dfDsgF74yuKDjZHQlmnAHh9oK
seyZZxhR0aAgYZhWd5eJg0n41A9P0janhg0yXFjI8OyCLBPyDmbMtqApzzimybPw
ov/qe9zUj1IXwaZcp5d/QhLvSqq95WZ3ZTLTJSB74cWT9JQ1hFZp1vTq2NPMrCX6
5oUKj7b/lxbE85fcpQ9xzgjkJ82wdA4Y16QGrVmtAKXPuvDQ/AAZupP50RIrweNk
/SlliTurGn4NJvMgz0KK2TQ3lDoRRLUZXiTI+iF1fp5gP8vhsLQfQ8vPDwSX4fcB
xYdgrFpdWgkYkdgsw0ZPodJskpR6E21e4eBuOXjrEA6s+OTHWJv0TKd3HxZDbRG9
xbTouV2tS/EsnZnM78NikOhgiVqffTcGE1WeSOnKykc8PSg/MvRp7lWoTaF/8Ses
ZljcGb7AVhhhPGrHaJf4ppZCLdxMHZuImzJgYf9nYCleXn6n3mjZnicAIklJ527P
+er7C9ahFDR/Cl6+JV06lW/QYCuUdK3hn0BAplhsMfpOlBokH44=
=mz9+
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: