Skip to content

Commit b0362cc

Browse files
Merge pull request #1370 from evgenyz/chroot
Fix #1173, RHBZ#1603347: Double chdir/chroot in probe rpmverifypackage
2 parents 8374f96 + 11e4873 commit b0362cc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/OVAL/probes/unix/linux/rpmverifypackage_probe.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,7 @@ static int rpmverify_collect(probe_ctx *ctx,
314314

315315
int rpmverifypackage_probe_offline_mode_supported()
316316
{
317-
// TODO: Switch this to OFFLINE_MODE_OWN once rpmtsSetRootDir is fully supported by librpm
318-
return PROBE_OFFLINE_CHROOT;
317+
return PROBE_OFFLINE_OWN;
319318
}
320319

321320
void *rpmverifypackage_probe_init(void)

0 commit comments

Comments
 (0)