[Rpm-ecosystem] Using librpm directly to parse RPM databases

Richard W.M. Jones rjones at redhat.com
Fri Mar 26 10:45:28 UTC 2021


On Fri, Mar 26, 2021 at 12:18:24PM +0200, Panu Matilainen wrote:
> Note that I'm quite sure I don't fully understand the use-case with
> libguestfs. If you can link to librpm and isolate it to its own
> process, couldn't you just exec the actual rpm binary for queries?
> The command line query interface is essentially compatible till the
> beginning of times.

No, we don't trust the guest and don't want to run programs from the
guest.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW



More information about the Rpm-ecosystem mailing list