Bug 62670 - 2.4.18-0.4 has troubles with tmpfs
Summary: 2.4.18-0.4 has troubles with tmpfs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-04 01:04 UTC by Michal Jaegermann
Modified: 2007-04-18 16:41 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-04-04 01:04:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2002-04-04 01:04:37 UTC
Description of Problem:

With /tmp mounted as 'tmpfs' file system one can see instances of a random
file corruption for files in /tmp.  It is probably the easiest to observe
by doing ./config for a bigger software package.  There are pretty good
chances for strange failures recorded in 'config.log' with obviously
corrupted test sources.  If /tmp is on disk then ./config does not have
any problems.

Mounting /tmp as 'tmpfs' works just fine with various 2.4.9-... kernels.

Version-Release number of selected component (if applicable):
2.4.18-0.4

How Reproducible:
At random.  I noticed that also on other occasions (extra lines show up
in a text file from /tmp re-read into an editor).

Comment 1 Arjan van de Ven 2002-04-04 12:24:57 UTC
While I don't have corruption reports for tmpfs in 0.4 I have a boatload of
other "it's broke" ones; this was due to a bad patch and should be fixed in
2.4.18-0.12 and later (rawhide/skipjack SE)

Note: We recommend to NOT use tmpfs for /tmp since it's not a complete
filesystem. Some things will break subtly.

Please reopen this bug if 2.4.18-0.12 or later don't fix this.

Comment 2 Michal Jaegermann 2002-04-04 18:07:00 UTC
There is a marked improvement with 2.4.18-0.13 from beta4.  Cannot guarantee
all corner cases but things which were giving me troubles before now work
just fine.

One of possible test cases is 'texconfig' which was unexpectedly aborting
in the middle with 2.4.18-0.4 unless TMP env variable set to some "real"
directory.  Now it runs without any hiccups.


Note You need to log in before you can comment on or make changes to this bug.