ProcEnviron should include DISPLAY among other things
Bug #868501 reported by
Brian Murray
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
http://
Here we can see that DISPLAY isn't being collected which would be useful. In addition to some other things mentioned by jhunt.
09:08 < jhunt> bdmurray: how about DISPLAY and TERM then? Re env names only, would
be useful to just know that LD_LIBRARY_PATH was set to any value I
09:08 < jhunt> bdmurray: and LD_PRELOAD :)
Changed in apport (Ubuntu): | |
importance: | Undecided → Low |
Changed in apport (Ubuntu): | |
status: | Expired → New |
To post a comment you must log in.
We can infer from ProcMaps when LD_* libraries were used to load libraries from e. g. /usr/local or /home. The generic hook already does that check and tags a bug with "local-libs" if that happens:
------------------ 8< ------- ------- ------ r'\s(/[ ^ ]+\.so[.0-9]*)$', report['ProcMaps'], re.M): fileutils. likely_ packaged( lib.group( 1)):
local_ libs.add( lib.group( 1))
# using local libraries?
if 'ProcMaps' in report:
local_libs = set()
for lib in re.finditer(
if not apport.
if local_libs:
if not ui.yesno('''The crashed program seems to use third-party or local libraries:
%s
It is highly recommended to check if the problem persists without those first.
Do you want to continue the report process anyway? local_libs) ):
raise StopIteration
report[ 'LocalLibraries '] = ' '.join(local_libs)
report[ 'Tags'] = (report.get('Tags', '') + ' local-libs' ).strip( ) ------- ------
''' % '\n'.join(
------------------ 8< -------
Is that sufficient for your purpose?
What do you want to get out of $DISPLAY, just knowing that it's set? The particular value probably isn't very interesting?