Make verification with --root reliable (rhbz#434150)
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 24 Apr 2008 09:49:58 +0000 (12:49 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 24 Apr 2008 09:49:58 +0000 (12:49 +0300)
commit0ec3352e8b1b1f622e1577c67d0a3303422d4b77
tree1760fd942dc94ea85d5abf4e6848e19f47ea6ddc
parent39b75d24cfe50e65ca940cc5466beb03c801d033
Make verification with --root reliable (rhbz#434150)
- use chroot() instead of vain path manipulation games, otherwise we'll get
  bogus results from users and groups not matching etc
- non-priviledged verification is unreliable anyway but running rpm under
  fakechroot (unpriviledged) gives much better results than just prepending
  root to paths
lib/verify.c