Red Hat Bugzilla – Bug 132503
tmpfs says invalid option for uid and gid options
Last modified: 2013-08-05 21:08:07 EDT
Description of problem:
tmpfs mounts don't seem to care about uid= and gid= options so mounts
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.
Put that mount line shown above into fstab and try to mount. Seems to
do the same thing every time.
# 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.
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.
none /var/spool/spamassassin/lala tmpfs mode=777,size=128M 0 0
in fstab works okay, but this isn't exactly what I want.
This issue is outside the scope of the current support status for RHEL2.1. No
fix is planned.