RE: smb mounted shares under chroot
Thanks for the responses folks....
Ok, I got it working as a separate bind mounts as suggested.
My fstab now includes the smb shares as follows:
/home/username/smbshare /var/chroot/sarge-ia32/home/username/smbshare none
noauto,user,bind 0 0
worked great and I now have openoffice and other chroot programs able to see
mounted shares from my home dir.
Thanks heaps for the help
From: Sven Krahn [mailto:firstname.lastname@example.org]
Sent: Wednesday, 15 June 2005 4:51 PM
Subject: Re: smb mounted shares under chroot
On 6/15/05, Takis Diakoumis <email@example.com> wrote:
> /home /var/chroot/sarge-ia32/home none bind 0 0
Just a stupid thing to check (which I was stumbling over some time
ago): if your user's home directory is on a different partition which
is mounted below the home directory (in this case you probably do not
see your user's home dir at all in the chroot), then this must be
specified additionally for the chroot fstab entries as well:
/home/username /var/chroot/sarge-ia32/home/username none
bind 0 0
Possibly this is similar for samba shares, and you have to bind-mount
the smb shares explicitely in your fstab as well, something like
/var/chroot/sarge-ia32/home/username/smb-share none bind
(in addition to your already exisiting entry). I did not check this as
I currently don't use samba shares on my amd64, but maybe you could
give it a try.
Best regards / Mit den besten Grüssen