Bug 145434 - [kernel] [patch] Kernel messages about processes don't include Jail Identifier
Summary: [kernel] [patch] Kernel messages about processes don't include Jail Identifier
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-06 15:50 UTC by David E. Cross
Modified: 2018-01-03 05:13 UTC (History)
0 users

See Also:


Attachments
file.diff (790 bytes, patch)
2010-04-06 15:50 UTC, David E. Cross
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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