Re: [Vserver] Abnormal NFS behaviour

2007-06-27 Thread Ben Green
On Wed, 27 Jun 2007 10:02:56 +0100, Jim Wight [EMAIL PROTECTED] wrote:

 I have upgraded a host and transferred its services into a guest; both
 run CentOS 5. Two other (Fedora Core 4) guests remain unchanged. Since
 the change, NFS mounting fails to work in any of the guests. The new one
 uses ccapabilities with SECURE_MOUNT, SECURE_REMOUNT and BINARY_MOUNT,
 while the other two use CAP_SYS_ADMIN. I am using 2.6.20.11-vs2.2.0 with
 util-vserver 0.30.213.
I have discovered, though, that NFS mounting works in the guests if the
 host runs as an NFS server (with no exports).
What could be responsible for this abnormal behaviour? I can't think of
 anything I have done differently this time.
Jim

Is the NFS server a vserver guest or standalone machine?

If a guest is the NFS server, have you tried using a user space NFS server such 
as nfs-user-server or unfs3?

-- 
 From Ben Green

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


Re: [Vserver] Abnormal NFS behaviour

2007-06-27 Thread Ben Green
On Wed, 27 Jun 2007 12:10:38 +0100, Jim Wight [EMAIL PROTECTED] wrote:

 No, because my aim is not to run a server. I simply want the guests to
 be able to mount NFS filesystems from other hosts elsewhere on the
 nework. I have guests on other systems doing this without requiring NFS
 servers on their hosts.
Jim

What I am getting at is that it might be the NFS server that is disfunctional, 
rather than the NFS client trying to mount it.

-- 
 From Ben Green

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


Re: [Vserver] Debian guest on a Gentoo Host?

2007-06-13 Thread Ben Green
On Wed, 13 Jun 2007 09:26:27 +0100, jepa kazol [EMAIL PROTECTED] wrote:

 Hi guys,
 I am trying to move all of my gentoo servers to debian and for now I am 
 trying to install a Debian guest vserver on a gentoo host. But I couldn't 
 find out how to do that. Is there anyone on this list did the job? Please 
 share your experiences with me...

You can just pop a Debian vserver image in the relevant directory. Create a 
normal vserver, then replaces it's files with a vserver of your choice. There 
are some stock images here: http://debian.marlow.dk/vserver/guest/ and probably 
elsewhere, you'll probably want an 'etch' image though, as it is the current 
stable. It may be best to use an 'etch' machine to create one then copy it 
across.

-- 
 From Ben Green

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


Re: [Vserver] fuse ( sshfs ) in guests

2007-05-23 Thread Ben Green
On Wed, 23 May 2007 18:13:44 +0100, Roderick A. Anderson [EMAIL PROTECTED] 
wrote:

 Before I start messing around with systems is anyone running fuse-sshfs from 
 inside a guest?
I see the fuse module, so I assume :-), all I need to do is get it loaded then 
install fuse-sshfs, fuse, fuse-libs into a guest.
I am a little concerned that fuse and fuse-libs might clash with the vs2 
module?
Rod

You will need to see /dev/fuse and be able to write to it. You may copy the 
file from the host, but have to make it so that it is owned by owner root and 
group fuse inside the client (this is the standard set up SFAIK).

I order to get a fuse program working in a recent LTSP set up I also needed to 
add to the ccapabilities that guest. I needed to add both SECURE_MOUNT and 
BINARY_MOUNT.

cheers

-- 
 From Ben Green

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


Re: [Vserver] Hashify 'etch' trouble?

2007-05-11 Thread Ben Green
On Fri, 11 May 2007 04:05:21 +0100, Corey Wright [EMAIL PROTECTED] wrote:

 the only problems i've encounter without COW is:
1. slapping my forehead when i accidentally vhashify /etc, try to modify a
 config file, and spend several minutes trying to figure out why i can't
 modify the file though i've set it u+w.  (that happened sometime in the
 beginning and only happened once. ;-)
2. upon upgrading or uninstall a package containing set[ug]id files, dpkg
 tries to unset the set[ug]id bit of the files (as a security precaution in
 case someone has hardlinked it and is keeping it around waiting for an
 exploit to be found in it).  of course this fails as the hashified file
 cannot be modified, but even worse dpkg stumbles on making a mess without
 reporting an error/failure.  i patched dpkg to not unset the file.  another
 debian user patched vhashify to skip set[ug]id files, which is the more
 proper solution (i only patched dpkg because it was the easier solution
 having already found the problematic code in dpkg while debugging the
 problem).  see the vserver mailing list archives for our patches.  see bug
 http://bugs.debian.org/382760 for my dpkg bug report.
those are the two problems i've ever found.
a tip is to rehashify your vservers and prune your .hash directory after
 package updates.  you can find a discussion on pruning scripts that i
 prompted on the mailing list sometime ago.

Excellent, thankyou for that, those were exactly the sorts of problems I 
expected.

I'd like to read the thread about pruning and the patches. The archive doesn't 
search well through google and has no inbuilt search. Any idea when the 
discussion was? I would prefer not to load anyones servers (and my HD) by 
downloading the lot.

When the archive says email me for the mbox, who is me?

Cheers,


-- 
 From Ben Green

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


[Vserver] Hashify 'etch' trouble?

2007-05-10 Thread Ben Green
Hi,

I have been using Debian unstable kernel and a few vservers to try out the 
memory saving effects of vhashify. Great results, 4 servers each running 
apache2 take 80mb less RAM than they did before. I feel safe messing about in 
these servers as COW is working, and I should be able to ammend files and have 
them automatically unlinked.

What I want to know is can vhashify be used within older vserver setups, 
specifically Debian 'etch' with it's none COWed kernel. What precautions would 
I need to take and what things can't I do inside these guest servers?

Cheers

-- 
 From Ben Green

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


Re: [Vserver] Linux-VServer Live CD?

2007-04-20 Thread Ben Green
On Fri, 20 Apr 2007 07:06:01 +0100, Herbert Poetzl [EMAIL PROTECTED] wrote:

 Has anyone made a LiveCD for Linux-VServer?
as mentioned on IRC, Knoppix should have some support
 for booting a Linux-VServer enabled kernel, although
 I do not have the details and/or know what version ...

According to this release announcement, the 5.2 release comes with vserver.

http://www.knopper.net/knoppix/knoppix52-en.html

Not sure if the vserver kernel is booted by default or needs a cheatcode. The 
only source for the DVD image is here SFAIK:

http://www.linuxtracker.org/download.php?id=3759name=Knoppix_5.2.iso.torrent

-- 
 From Ben Green

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