Date: Mon, 07 Jul 2014 23:20:19 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 191019] pgrep/pkill -j testcases fail on 11-CURRENT Message-ID: <bug-191019-8-9yVUmk1n6d@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-191019-8@https.bugs.freebsd.org/bugzilla/> References: <bug-191019-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191019 --- Comment #4 from yaneurabeya@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191019-8-9yVUmk1n6d>