Red Hat Bugzilla – Bug 802836
Setting TMPDIR to path with length >74 cause hang of system utils
Last modified: 2016-09-19 21:41:32 EDT
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):
> 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")
Hang of system utility
Version of GUI environment is shown.
Limit shown above is created by lengh to following file
which is greater than 121 character in length to produce hang.
How is this related to bash?
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).
Seems to be problem in gnome-terminal or something else in gnome.
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.
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).