Issue 2274 - Use $TMPDIR rathern than $TEMP as the temporary direcotry during installs
Summary: Use $TMPDIR rathern than $TEMP as the temporary direcotry during installs
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Installation
Classification: Application
Component: ui (show other issues)
Version: 638
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: bettina.haberer
QA Contact: issues@installation
URL:
Keywords: needmoreinfo, oooqa
Depends on:
Blocks:
 
Reported: 2001-11-26 12:31 UTC by Unknown
Modified: 2005-09-28 08:35 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2001-11-26 12:31:50 UTC
While installing on a Linux system that had a fairly small /tmp, but a large
/var/tmp, I discovered that unlike most software which hnors $TMPDIR, the
install/setup binary wants to use $TEMP instead.  I  had to run 'strings' on the
binary and do some creative guessing to figure this out.
Comment 1 Olaf Felka 2001-11-26 14:34:53 UTC
Hi Falko,
here's an idea from Valdis. Sounds good to me.
Comment 2 falko.tesch 2002-01-02 10:36:43 UTC
This issue is re-assigned to Christian Jansen for further evaluation.
Comment 3 christian.jansen 2002-01-07 09:51:17 UTC
We should evalute this. I will forward this to the responsible engineer.
Comment 4 christian.jansen 2003-01-30 11:18:27 UTC
Reassigned to Bettina.
Comment 5 christian.jansen 2003-02-10 10:56:46 UTC
 Reassigned to Bettina
Comment 6 christian.jansen 2003-02-10 12:28:00 UTC
Reassigned to Bettina.
Comment 7 Unknown 2003-09-28 09:12:37 UTC
Installation works well on a linux system using $TEMP. Furthermore,
the whole application needs this assignment with a system having a
small /tmp.    export TMP=/var/tmp soffice

Everything seems to work ... except printing to a file which hardcodes
the temp directory as /tmp. 
Comment 8 pmladek 2004-08-24 12:37:44 UTC
I think that the directory for temporary files used for printing can be changed
by the evironment variable TMPDIR.

But the hardcoded path /tmp is used in sal/osl/unx/signal.c in the method
ReportCrash.

I vote to use the functions like tempnam, tmpnam, mkdtemp, mkstemp instead of an
own solution.
Comment 9 rvojta 2004-11-02 15:48:26 UTC
What's the status of this Issue? Looks like that the problem of Valdis 
is solved. Suggestion from pmladek should be filled in a different issue 
(if it is not still fixed). 
 
This bug is going to be closed in a two feeks if there will be no answer. 
Comment 10 flibby05 2005-09-28 08:34:28 UTC
>>This bug is going to be closed in a two feeks if there will be no answer. 

closing now as obsolete,
for 2.0 there is no seperate installer anymore.
Comment 11 flibby05 2005-09-28 08:35:08 UTC
.