Opened 8 years ago

Closed 5 years ago

Last modified 5 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 Changed 8 years ago by cinc

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 Changed 8 years ago by Dave Yeo

Should not it be SET TMPDIR=l:/tmp

comment:3 Changed 8 years ago by Yuri Dario

Did you upgrade to ramfs 1.2.1 too?

comment:4 Changed 6 years ago by Dave Yeo

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 Changed 6 years ago by Silvan Scherrer

Priority: majorFeedback Pending

@Dave is this bug still there with latest python?

comment:6 Changed 5 years ago by Yuri Dario

Resolution: worksforme
Status: newclosed

It works here with 1.2.1, closing.

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

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 Changed 5 years ago by Dave Yeo

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