Bug 802836

Summary: Setting TMPDIR to path with length >74 cause hang of system utils
Product: Red Hat Enterprise Linux 5 Reporter: temp356
Component: gnome-terminalAssignee: Zeeshan Ali <zeenix>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8CC: mclasen, prc, temp356
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-02 13:17:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Demostration of steps shown above. none

Description temp356 2012-03-13 15:27:49 UTC
Created attachment 569702 [details]
Demostration of steps shown above.

Description of problem:
Commands such as "gnome-terminal --version" hang if length of fullpath to "$TMPDIR/orbit-<username>/bonobo-activation-register.lock" file greater than 121 

So, if aggragated length of $TMPDIR greater than 74 characters running of any system util cause hang.

Version-Release number of selected component (if applicable):


How reproducible:
> mkdir /tmp/folder_with_length_of_75_characters_or_more_....
> export TMPDIR=/tmp/folder_with_length_of_75_characters_or_more_....
> gnome-terminal --version
                             <<<<<< Hang. Press Ctrl-C to interrupt execution
> mkdir /tmp/folder_with_length_of_74_characters_or_less_....
> export TMPDIR=/tmp/folder_with_length_of_74_characters_or_less_....
> gnome-terminal --version
Gnome gnome-terminal 2.16.0  <<<<<< Expected result.
>

Steps to Reproduce:
1. Create folder <F> with length of 75 or more characters in fullpath
2. Set environment variable TMPDIR to point it: export TMPDIR=<F>
3. Run any system utility (e.g. "gnome-terminal --version")
  
Actual results:
Hang of system utility

Expected results:
Version of GUI environment is shown.

Additional info:
Limit shown above is created by lengh to following file
/path/to/orbit-<username>/bonobo-activation-register.lock
which is greater than 121 character in length to produce hang.

Comment 1 Roman Rakus 2012-03-16 10:22:30 UTC
How is this related to bash?

Comment 2 temp356 2012-04-01 08:05:48 UTC
I'm not experienced in Linux. So, after I faced the problem during work within shell, I submitted it on bash with hope that more experienced people reassign it on proper component.
It's not hard to reproduce, so, from my side it was important to narrow the scope and inform about steps leading to the issue.
I have different OS at home and can't spend additional time on investigation at work where issue was found. So, if you can, please, help to identify proper people for investigation or component to handle the issue further.
If this bugtracker is for expirience users only then sorry for disturbance (I haven't spent enough time to analyze tracker rools).

Comment 3 Roman Rakus 2012-04-02 12:15:54 UTC
Seems to be problem in gnome-terminal or something else in gnome.

Comment 4 RHEL Program Management 2014-03-07 13:42:33 UTC
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.

Comment 5 RHEL Program Management 2014-06-02 13:17:12 UTC
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).

Comment 6 Red Hat Bugzilla 2023-09-14 01:28:00 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days