Ok, I've just changed the classic mount to a bind-mount, for the home partition.
But there's still the error a mentioned. Regarding the twice
auto-mounted remote shares, I believe that if you're right about twice
mounted filesystem, it should not be good to do so with autofs too.
But I don't how to deal with all that. The problem with bind-mounted
folders is that it seems not to be correctly sync'ed : I mean remote
shares auto-mounted in the original folder are not visible in the
bind-mounted one.

tom

2006/4/28, Eduardo M KALINOWSKI <[EMAIL PROTECTED]>:
thomas parquier wrote:

>Hello everybody,
>
>I'm having problem with openoffice, which is launched in a chroot'ed
>environment.
>I automount a remote directory in my home partition which is mounted
>twice, once in the host environment and once in the chroot :
>fstab :
>/dev/sda10 /home ...
>/dev/sda10 /var/chroot/sarge-ia32/home
>
>then I put two mount points in auto.master with the same map :
>/mnt/cassiopee   /etc/auto.line.classe   --timeout=60
>/var/chroot/sarge-ia32/mnt/cassiopee   /etc/auto.line.classe   --timeout=60
>
>In openoffice, files from the remote directory can only be opened in
>read-only mode, and new files can't be saved in that directory
>correctly : an empty file is saved whereas a input/output error poped
>up.
>
>Has someone any idea to open and save correctly those files from and
>to the remote point ?
>thanks in advance
>
>
>
I don't think you can mount a file system twice. You can, however,
bind-mount /home so that it appears in /var/chroot/sarge-ia32/home. It's
all explained in the amd64 howto.


--
"Pascal is Pascal is Pascal is dog meat."
                -- M. Devine and P. Larson, Computer Science 340

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to