Files
gentoo/net-analyzer/fprobe/files/fprobe-1.1-setgroups.patch
David Seifert 416d9a6613 net-analyzer/fprobe: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
2022-07-30 11:20:08 +02:00

16 lines
436 B
Diff

This seems to fail after the chroot(), so just squelch the exit for now.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
--- a/src/fprobe.c
+++ b/src/fprobe.c
@@ -1543,7 +1543,7 @@
if (pw) {
if (setgroups(0, NULL) < 0) {
my_log(LOG_CRIT, "setgroups: %s", strerror(errno));
- exit(1);
+ //exit(1);
}
if (setregid(pw->pw_gid, pw->pw_gid)) {
my_log(LOG_CRIT, "setregid(%u): %s", pw->pw_gid, strerror(errno));