[Bug 191019] pgrep/pkill -j testcases fail on 11-CURRENT
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jul 7 23:20:18 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191019
--- Comment #4 from yaneurabeya at 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.
More information about the freebsd-bugs
mailing list