Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2014 13:17:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 193116] pgrep -f init doesn't show pid = 1, but pgrep -af init does
Message-ID:  <bug-193116-8-7xxH7Sjg1k@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193116-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193116-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=193116

Jilles Tjoelker <jilles@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jilles@FreeBSD.org

--- Comment #1 from Jilles Tjoelker <jilles@FreeBSD.org> ---
This was deliberately changed in SVN r192242, which excludes the pkill process
itself and its ancestors, unless -a is given. Do you think a special case
should be added here, or r192242 should be reverted? Note that the main sshd
process may somewhat similarly be an ancestor (or not, even if the user is
logged in via ssh).

Why are you using pgrep on init anyway, given that its PID is always 1?

-- 
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-193116-8-7xxH7Sjg1k>