Bug 132503 - tmpfs says invalid option for uid and gid options
Summary: tmpfs says invalid option for uid and gid options
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: kernel
Version: 2.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jim Paradis
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-14 06:53 UTC by Hannu Liljemark
Modified: 2013-08-06 01:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-12-05 22:17:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Hannu Liljemark 2004-09-14 06:53:10 UTC
Description of problem:

tmpfs mounts don't seem to care about uid= and gid= options so mounts
like:

none /var/spool/spamassassin/scandir tmpfs
mode=700,size=128M,uid=spamd,gid=spamd 0 0

do not work.


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

Red Hat Enterprise Linux ES release 2.1 (Panama). Tested with kernel
2.4.9-e.40smp and 2.4.9-e.48.

How reproducible:

Put that mount line shown above into fstab and try to mount. Seems to
do the same thing every time.


Actual results:

# mount /var/spool/spamassassin/lala
mount: wrong fs type, bad option, bad superblock on none,
       or too many mounted file systems

I also see 'tmpfs invalid option' in the logs at the same time.

Expected results:

I guess it should work with gid and uid, right? It works fine on AS2.1
server and older Redhats (tested with RH8 and RH9), it's just this
2.1ES that refuses to co-operate.

Additional info:

Something like 

none /var/spool/spamassassin/lala tmpfs mode=777,size=128M 0 0

in fstab works okay, but this isn't exactly what I want.

Comment 2 Jim Paradis 2005-12-05 22:17:34 UTC
This issue is outside the scope of the current support status for RHEL2.1.  No
fix is planned.





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