Your message dated Thu, 22 Oct 2020 13:04:40 +0000
with message-id <[email protected]>
and subject line Bug#944970: fixed in salt 3001.1+dfsg1-2
has caused the Debian Bug report #944970,
regarding salt: Modules access internal dpkg databases
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 [email protected]
immediately.)
--
944970: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944970
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: salt
Source-Version: 2018.3.4+dfsg1-7
Severity: important
User: [email protected]
Usertags: dpkg-db-access-blocker
Hi!
This package contains modules («salt/modules/dpkg.py» and
«salt/modules/alternatives.py»), which directly access the dpkg
internal database, instead of using one of the public interfaces
provided by dpkg.
In «salt/modules/dpkg.py» module, the function _get_pkg_install_time()
should be switched to use something like:
«dpkg-query --showformat '${Package} ${db-fsys:Last-Modified}\n' --show $pkg»
to get the mtime from .list files.
The function _get_pkg_ds_avail(), should be switched to use something
like:
«dpkg-query --print-avail»
to get the available database dump.
In the «salt/modules/alternatives.py», the show_link() function should
be switched to something like:
«update-alternatives --query $name»
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: salt
Source-Version: 3001.1+dfsg1-2
Done: Benjamin Drung <[email protected]>
We believe that the bug you reported is fixed in the latest version of
salt, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Benjamin Drung <[email protected]> (supplier of updated salt
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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 22 Oct 2020 11:29:16 +0200
Source: salt
Architecture: source
Version: 3001.1+dfsg1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Salt Team <[email protected]>
Changed-By: Benjamin Drung <[email protected]>
Closes: 944970
Changes:
salt (3001.1+dfsg1-2) unstable; urgency=medium
.
* Add patches to not access internal dpkg databases in the salt modules
alternatives and dpkg_lowpkg (Closes: #944970)
* Fix autopkgtest test suite failing with Python exit code 120
Checksums-Sha1:
f5023d5607bd78a402efb4b386d1dd2a105ed80e 4189 salt_3001.1+dfsg1-2.dsc
295e45ac20b1b2d853e2549e9d216a7ccae6201e 85708
salt_3001.1+dfsg1-2.debian.tar.xz
0f5fa443ef4888d0657df8b5890eeecf89e54f7e 14082
salt_3001.1+dfsg1-2_source.buildinfo
Checksums-Sha256:
01017eeb51a7f2261a7b992a8b681e06be56311431a5fea3bf662ace3d758e67 4189
salt_3001.1+dfsg1-2.dsc
54d500db77cf844bba284b6513571f253dae7e900d0031579ef06cfc1ca49653 85708
salt_3001.1+dfsg1-2.debian.tar.xz
66c083decbcd1a61dfc77dc6127de86ec7fce0e2dcccff8513e974c5334c7bc2 14082
salt_3001.1+dfsg1-2_source.buildinfo
Files:
0868ac1d54ecf33fbe5c5715ee676537 4189 admin optional salt_3001.1+dfsg1-2.dsc
9e6454cda624f1ee36bc60c047fd959b 85708 admin optional
salt_3001.1+dfsg1-2.debian.tar.xz
6171dd862755db53ad1e297a09d2ae1a 14082 admin optional
salt_3001.1+dfsg1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE5/q3CzlQJ15towl13YzVpd6MfnoFAl+RfgUACgkQ3YzVpd6M
fno0uQ/9FbivFtQ1A7jq0rP4CCsTh3O8vzGTPBx4TFzjR4bkgB7xQVYmSqCPzi6K
yEqviU0J44KpgQj3OiurBRqzDArIIjabVDchg/sCgy7IFg/0/ENsDxPdN88zC3BN
zfch6rBhxVcYHunNXWdVHp55FKK6p4GcEWZ1Q7hcNOhXuYtOyy51rKG3NQ/ekjcU
J8MoFITKiN8IVpFomc5YzLb+tu4s9abBfr4h7KMcsg8l04/ladOCLu/7pa218lmD
vo/SvItKp6TUluiSFFp9MLV8TwNcqR+qnY8f+UT+dSQNnDIEg4fkFVSaMjVFj+fV
4qX0enpj+plUEpeWhZivYEvM5UknewnzR8eK9D3PHulkhgmSF4cEIm+3S72snx7V
PsYx5bOXaj7UYU+hJdDShQF79fipTXtRtSiB45mPeAbVOlbnJkDSqug2yzSbue8G
GDhbZo/ke0FHHgZ2e7rLz6G11vK3GOyW0ChSO7TXSq3w6DsqtDzFhq19hO38ZtAY
ZLbGwHaitkJuAp7EjviWpSvTQAixwL8iDNxF1F3zqf/j+rgXd+UPCf2Y+q9eD42i
mqAail9CRZ2XK+q5L/kPCV5QDr/Zu6N9cYFBHOD4PrqDCIqgpREIZHpmyuHVOeF1
apmHkLgRHxDX+vrS3lEVcEAeKMDdNzatRJafi+tZO1g9hitdIqA=
=goc3
-----END PGP SIGNATURE-----
--- End Message ---