When using fedora and ltspfs, ltsp clients want to fuse mount their USB
drives onto the system into the /media directory. This mostly works except
for the last step of move mounting into the /media.
The part that fails is the equivalent of the last line in these steps:
mkdir -p /tmp/testing
cd /tmp/testing/
mkdir -p foo bar
mount -t tmpfs tmpfs foo/
mount --move foo bar/
The last step will give the error:
mount: wrong fs type, bad option, bad superblock on /tmp/testing/foo,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
This worked (the mount --move) in Fedora 16 (without sandbox installed) and
Fedora 17. But not in fedora 18.
When the bug appeared briefly in F16, this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=838447
was logged. As noted there removing sandbox fixed the problem.
F18 seems to make use of pam_sandbox which is probably want is stopping the
mount --move this time.
So how do I configure/remove pam_sandbox so the mounts will work again?
--
Norman Gaywood, Computer Systems Officer
University of New England, Armidale,
NSW 2351, Australia
ngaywood(a)une.edu.au Phone: +61 (0)2 6773 2412
http://mcs.une.edu.au/~norm Fax: +61 (0)2 6773 3312
Please avoid sending me Word or Power Point attachments.
See
http://www.gnu.org/philosophy/no-word-attachments.html