Bug 145434

Summary: [kernel] [patch] Kernel messages about processes don't include Jail Identifier
Product: Base System Reporter: David E. Cross <dcross>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me Keywords: patch
Priority: Normal    
Version: 8.0-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description David E. Cross 2010-04-06 15:50:04 UTC
Processes which exit abnormally display a kernel message to this effect that includes some basic information about the process.  Its PID, its UID, its name.

On a machine with a lot of jails, this information can be essentially useless.

Consider a webhost with 50 jails serving PHP via fastcgi and one is crashing, its near impossible to track it down with just the information as currently provided.

Fix: Apply the included patch.

Patch attached with submission follows:
How-To-Repeat: Try to trace down a coredump on a machine with lots of jails
Comment 1 Bjoern A. Zeeb freebsd_committer freebsd_triage 2010-04-06 20:48:08 UTC
On FreeBSD 8./9.x it might actually be more usefull to print the jail
name as it's always there (and would be the jid by default if not set).

For FreeBSD 7.x the jail_name is optional so the jid might be the
better info.

-- 
Bjoern A. Zeeb         It will not break if you know what you are doing.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:43 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:34:04 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>