[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] mount --move in fedora 18

I posted this question in the fedora mailing list a few months ago and go no response, so I thought I'd try here.

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.

Here is how I put the question to the fedora mailing list:

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:


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 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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]