Re: [Vserver] fstab.remote + smbmount

2006-06-21 Thread Falk Hamann
On Tue, 20 Jun 2006 17:52:35 +0200
Daniel Hokka Zakrisson [EMAIL PROTECTED] 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

-- 

[EMAIL PROTECTED] chown linux.users /world

Falk Hamann
db audiotechnik AG, Eugen-Adolff-Str. 134, 71522 Backnang, Germany
http://www.dbaudio.com, mailto:[EMAIL PROTECTED]

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] fstab.remote + smbmount

2006-06-21 Thread Guenther Fuchs
Hi there,

on Wednesday, June 21, 2006 at 9:55:57 AM there was posted:

FH .: invalid option -- n
FH Who produce this output ???

Guess: /usr/sbin/chbind needs -- to split between it's own
parameters and the command to be issued, followed by that one's
parameters. You may need to add this in your command before the
/usr/lib/util-vserver/secure-mount command.

-- 
regards 'n greez,

Guenther Fuchs
(aka muh and powerfox)

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] fstab.remote + smbmount

2006-06-21 Thread Falk Hamann
On Wed, 21 Jun 2006 10:33:59 +0200
Guenther Fuchs [EMAIL PROTECTED] wrote:

 Guess: /usr/sbin/chbind needs -- to split between it's own
 parameters and the command to be issued, followed by that one's
 parameters. You may need to add this in your command before the
 /usr/lib/util-vserver/secure-mount command.
 

I insert -- before the secure-mount.

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

Still the same behaviour. :-(

Falk

-- 

[EMAIL PROTECTED] chown linux.users /world
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] fstab.remote + smbmount

2006-06-21 Thread Guenther Fuchs
Hi there,

on Wednesday, June 21, 2006 at 10:46:14 AM there was posted:

FH I insert -- before the secure-mount.

Try another one here:

vnamespace -e 181 -- /usr/sbin/chbind ...

(Still guessing, not debugging)

-- 
regards 'n greez,

Guenther Fuchs
(aka muh and powerfox)

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] fstab.remote + smbmount

2006-06-21 Thread Falk Hamann
On Wed, 21 Jun 2006 10:52:09 +0200
Guenther Fuchs [EMAIL PROTECTED] wrote:

 Try another one here:
 
 vnamespace -e 181 -- /usr/sbin/chbind ...
 
 (Still guessing, not debugging)
 
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

It's again the same. :-(
Falk

-- 

[EMAIL PROTECTED] chown linux.users /world
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] fstab.remote + smbmount

2006-06-21 Thread Guenther Fuchs
Hi there,

on Wednesday, June 21, 2006 at 11:12:29 AM there was posted:

FH .: invalid option -- n
FH It's again the same. :-(

Sorry, was just guessing 

-- 
regards 'n greez,

Guenther Fuchs
(aka muh and powerfox)

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] fstab.remote + smbmount

2006-06-21 Thread Daniel Hokka Zakrisson

Falk Hamann wrote:

On Tue, 20 Jun 2006 17:52:35 +0200
Daniel Hokka Zakrisson [EMAIL PROTECTED] 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



I'd guess smbmount. An strace -fF -o mount.trace vnamespace... should 
help you pinpoint which binary is printing it.


--
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] (no subject)

2006-06-21 Thread Christopher Baptista
Hi,

I have a Fedora Core 5 box and I followed the instructions to install VServer 
and its utilities on it.  Everything seems fine, but when I try to build a new 
virtual server, I've been getting errors.  And those errors also change based 
on whether I'm on the machine itself or going through SSH to it.

Here are the errors:

ERROR: Can not find configuration for the distribution 'fc5';
  please read http://linux-vserver.org/HowToRegisterNewDistributions
  for information how to add support for your own distribution.

/usr/lib/util-vserver/vserver-build.functions: line 191: setattr: command not 
found

Any ideas? I used the RPM install as mentioned in th3 FC5 installation guide 
(http://linux-vserver.org/VServer+installation+Fedora+Core+5)

Chris
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] (no subject)

2006-06-21 Thread Daniel Hokka Zakrisson

Christopher Baptista wrote:

Hi,

I have a Fedora Core 5 box and I followed the instructions to install VServer 
and its utilities on it.  Everything seems fine, but when I try to build a new 
virtual server, I've been getting errors.  And those errors also change based 
on whether I'm on the machine itself or going through SSH to it.

Here are the errors:

ERROR: Can not find configuration for the distribution 'fc5';
  please read http://linux-vserver.org/HowToRegisterNewDistributions
  for information how to add support for your own distribution.


What does rpm -q util-vserver say?


/usr/lib/util-vserver/vserver-build.functions: line 191: setattr: command not 
found


Thanks, will be fixed in the next build.



Any ideas? I used the RPM install as mentioned in th3 FC5 installation guide 
(http://linux-vserver.org/VServer+installation+Fedora+Core+5)

Chris


--
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver