<div dir="ltr">I posted this question in the fedora mailing list a few months ago and go no response, so I thought I'd try here.<div><br></div><div>I use k12linux to boot our labs but point the workstations to a (currently)  fedora 18 applications server. This works well enough except for mounting of USB drives. The USB drives get mounted OK on the server, but the last step of moving the mount to media fails.</div>

<div><br></div><div>Here is how I put the question to the fedora mailing list:</div><div><br></div><div><div>When using fedora and ltspfs, ltsp clients want to fuse mount their USB</div><div>drives onto the system into the /media directory. This mostly works except</div>

<div>for the last step of move mounting into the /media.</div><div><br></div><div>The part that fails is the equivalent of the last line in these steps:</div><div><br></div><div> mkdir -p /tmp/testing</div><div> cd /tmp/testing/</div>

<div> mkdir -p foo bar</div><div> mount -t tmpfs tmpfs foo/</div><div> mount --move foo bar/</div><div><br></div><div>The last step will give the error:</div><div><br></div><div>mount: wrong fs type, bad option, bad superblock on /tmp/testing/foo,</div>

<div>       missing codepage or helper program, or other error</div><div>       In some cases useful info is found in syslog - try</div><div>       dmesg | tail or so</div><div><br></div><div>This worked (the mount --move) in Fedora 16 (without sandbox installed) and</div>

<div>Fedora 17. But not in fedora 18.</div><div><br></div><div>When the bug appeared briefly in F16, this bug:</div><div><br></div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=838447">https://bugzilla.redhat.com/show_bug.cgi?id=838447</a></div>

<div><br></div><div>was logged. As noted there removing sandbox fixed the problem.</div><div><br></div><div>F18 seems to make use of pam_sandbox which is probably want is stopping the</div><div>mount --move this time.</div>

<div><br></div><div>So how do I configure/remove pam_sandbox so the mounts will work again?</div><div><br></div>-- <br>Norman Gaywood, Computer Systems Officer<br>University of New England, Armidale,<br>NSW 2351, Australia<br>

<br><a href="mailto:ngaywood@une.edu.au" target="_blank">ngaywood@une.edu.au</a>            Phone: +61 (0)2 6773 2412<br><a href="http://mcs.une.edu.au/~norm" target="_blank">http://mcs.une.edu.au/~norm</a>    Fax:   +61 (0)2 6773 3312<br>

<br>Please avoid sending me Word or Power Point attachments.<br>See <a href="http://www.gnu.org/philosophy/no-word-attachments.html" target="_blank">http://www.gnu.org/philosophy/no-word-attachments.html</a><br>
</div></div>