https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191019

--- Comment #4 from yaneurab...@gmail.com ---
Adding more data to the pgrep failures, it's jail(8) that does the forking:

575         pid = fork();
576         if (pid < 0)
577                 err(1, "fork");
578         if (pid > 0) {
579                 if (bg || !add_proc(j, pid)) {
580                         free(j->comline);
581                         j->comline = NULL;
582                         return 0;
583                 } else {
584                         paralimit--;
585                         return 1;
586                 }
587         }
588         if (bg)
589                 setsid();

I fixed the issues with the pgrep -j testcases here:

https://github.com/yaneurabeya/freebsd/commit/95191312475104e2e7afd7cdec1452a031500d33

I'm starting to wonder if this forking in jail(8) is at the cruxt of the issue
with "none" as the pkill testcases work by killing the jail process, not the
sleep process running in the jail.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to