Opened 13 years ago

Closed 10 years ago

Last modified 10 years ago

#33 closed defect (worksforme)

Installation fails when TMP is on ram disk

Reported by: cinc Owned by: Yuri Dario
Priority: Feedback Pending Milestone:
Component: yum Version:
Severity: Keywords:
Cc: Dave Yeo

Description

Using bootstrap V1.3 installation fails when temp dir is located on a ram drive provided by RAMFS107.IFS.

The error message is:

[...]
Installieren      52 Paket(e)
Upgrade       0 Paket(e)

Gesamtgrösse: 27 M
Installed size: 72 M
Ist dies in Ordnung? [j/N] :j
Lade Pakete herunter:
Führe rpm_check_debug durch
Führe Verarbeitungstest durch


[Errno 13] Permission denied: 'r:/temp/tmpo9q8rm'

[L:\]

Note that the bootstrap files are on drive L:\tmp\yumbt despite the tempdir settings in config.sys.

Config.sys:

REM ****** TEMP on RAM-Disk *********
IFS=E:\system\ramfs107\ramfs.ifs /Q /S:150M
call=l:\os2\cmd.exe /C md R:\temp
SET TEMP=R:/temp
SET TMP=R:\temp
SET TMPDIR=R:/temp

Change History (8)

comment:1 by cinc, 13 years ago

Changing the following vars has no effect:

TEMPDIR=l:\tmp
TEMP=l:\tmp
TMP=l:\tmp

When setting in addition the following environment variable installation succeeds:

SET TMPDIR=l:\tmp

comment:2 by Dave Yeo, 13 years ago

Should not it be SET TMPDIR=l:/tmp

comment:3 by Yuri Dario, 13 years ago

Did you upgrade to ramfs 1.2.1 too?

comment:4 by Dave Yeo, 11 years ago

This is actually a Python bug that I see when installing packages with or without yum. Either way the workaround is to set %TMPDIR% to a real drive.

comment:5 by Silvan Scherrer, 10 years ago

Priority: majorFeedback Pending

@Dave is this bug still there with latest python?

comment:6 by Yuri Dario, 10 years ago

Resolution: worksforme
Status: newclosed

It works here with 1.2.1, closing.

in reply to:  5 comment:7 by Dave Yeo, 10 years ago

Replying to diver:

@Dave is this bug still there with latest python?

Sorry, I only just now noticed this question.
Yes, to build Mozilla I have to have %TMP%, %TMPDIR% etc pointed to a real drive otherwise it fails with the permission denied error.

comment:8 by Dave Yeo, 10 years ago

Cc: Dave Yeo added
Note: See TracTickets for help on using tickets.