fix configtest stalled with scanMode=fast-root (#1339)

* fix configtest stalled with scanMode=fast-root

* repoquery does not require sudo privileges on centos
This commit is contained in:
kurita0
2021-12-26 08:31:11 +09:00
committed by GitHub
parent 6bc4850596
commit 1eb5d36668
6 changed files with 6 additions and 8 deletions

View File

@@ -86,7 +86,7 @@ func (o *rhel) sudoNoPasswdCmdsFastRoot() []cmd {
{"stat /proc/1/exe", exitStatusZero},
{"ls -l /proc/1/exe", exitStatusZero},
{"cat /proc/1/maps", exitStatusZero},
{"lsof -i -P", exitStatusZero},
{"lsof -i -P -n", exitStatusZero},
}
}
return []cmd{