Source: util-vserver
Source-Version: 0.30.216-pre3120-1.4
Severity: important
User: debian-d...@lists.debian.org
Usertags: dpkg-db-access-blocker

Hi!

This package contains a script («scripts/vpkg»), which directly accesses
the dpkg internal database, instead of using one of the public interfaces
provided by dpkg. The code should be switched to use for conffiles:

  «dpkg-query --shoformat='${Conffiles}\n' --show»

which will print the conffiles for all installed packages.


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.

In addition the .conffiles files in the database never get updated even
after conffile take overs by another package.

Thanks,
Guillem

Reply via email to