#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 , 13 years ago
comment:4 by , 10 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.
follow-up: 7 comment:5 by , 10 years ago
Priority: | major → Feedback Pending |
---|
@Dave is this bug still there with latest python?
comment:6 by , 10 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
It works here with 1.2.1, closing.
comment:7 by , 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 , 10 years ago
Cc: | added |
---|
Changing the following vars has no effect:
When setting in addition the following environment variable installation succeeds: