Re: [Vserver] fstab.remote + smbmount

From: Falk Hamann <Falk.Hamann_at_dbaudio.com>
Date: Wed 21 Jun 2006 - 08:55:57 BST
Message-ID: <20060621095557.4516ef1e@falk>

On Tue, 20 Jun 2006 17:52:35 +0200
Daniel Hokka Zakrisson <daniel@hozac.com> wrote:

> Falk Hamann wrote:
> > I try to mount a smb-share at guest-start.
> > It failed with: ".: invalid option -- n".
> >
> > #cat fstab.remote
> > //fsuser/grp /home/messdb/fsuser smbfs
> > uid=101,gid=users,username=user,password=XXX 0 0
> >
> > #vserver --debug vtest start
> > ++ /usr/sbin/chbind --silent --nid 181 --ip
> > 192.168.1.181/23 /usr/lib/util-vserver/secure-mount -a --chroot
> > --fstab /etc/vservers/vmessdb/fstab.remote --rootfs no .: invalid
> > option -- n
>
> Seeing the rest of the trace might help, what actually prints the
> invalid option?
>

If I start the following command, it produce the same output.
#vnamespace -e 181 /usr/sbin/chbind --silent --nid 181 --ip 192.168.1.181/23 /usr/lib/util-vserver/secure-mount -a --chroot --fstab /etc/vservers/vmessdb/fstab.remote --rootfs no

.: invalid option -- n

Who produce this output ???

#find . -exec grep -I -H "invalid option" {} \;
./util-vserver-0.30.210/src/secure-mount.c: WRITE_MSG(2, "secure-mount: invalid option for '--rootfs': '");
./util-vserver-0.30.210/config.guess: echo "$me: invalid option $1$help" >&2
./util-vserver-0.30.210/config.sub: echo "$me: invalid option $1$help"

Comes this output from util-vserver ? I can't imagine. See output of find !
Or from kernelpatch ? Or from another binary, perhaps smbmount ?

Any help is welcome. Falk

-- 
[root@Linux] chown linux.users /world
Falk Hamann
d&b audiotechnik AG, Eugen-Adolff-Str. 134, 71522 Backnang, Germany
http://www.dbaudio.com, mailto:Falk.Hamann_at_dbaudio.com
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Jun 21 08:56:46 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 21 Jun 2006 - 08:56:52 BST by hypermail 2.1.8