About this list Date view Thread view Subject view Author view Attachment view

From: Arjen (arjen_at_renegade.demon.nl)
Date: Wed 27 Apr 2005 - 21:02:37 BST


Hi list,

First of, this is for fun and learning, so do not break your head about this
;) I'm trying to setup a debian vserver on a gentoo host. After some
googling (where did I read this before:) I found the debian-newvserver.sh
script, a script that debootstraps a debian vserver on a given dir. I guess
there are people here that know this script ;P. I changed it to install a
debian-amd64 sarge system (at least I tried to..). But the script breaks
while excuting the (/usr/lib64/debootstrap/scripts/)sarge install script, it
breaks doing the (dpkg) extract part, note I added the DBG ;)

Bla bla,
I: Validating wget
I: Validating whiptail
I: Validating zlib1g
I: Validating zlib1g
I: Validating zlib1g
DBG: extract required
I: Extracting base-files...
tar: ./lib: Cannot mkdir: Permission denied
tar: Error exit delayed from previous errors
debian-newvserver.sh.1: error: debootstrap failure. Cannot continue.
# ls -al
total 1
drwxr-xr-x 34 root root 856 Feb 18 15:59 .
d--------- 7 root root 280 Apr 27 20:42 ..
drwxr-xr-x 2 root root 48 Feb 18 15:59 bin
drwxr-xr-x 2 root root 48 Feb 18 15:59 boot
drwxr-xr-x 2 root root 48 Feb 18 15:59 dev
drwxr-xr-x 4 root root 248 Feb 18 15:59 etc
drwxrwsr-x 2 root 50 48 Feb 18 15:59 home
drwxr-xr-x 2 root root 48 Feb 18 15:59 mnt
drwxr-xr-x 2 root root 48 Feb 18 15:59 proc
drwxr-xr-x 2 root root 48 Feb 18 15:59 root
drwxr-xr-x 2 root root 48 Feb 18 15:59 sbin
drwxr-xr-x 2 root root 48 Apr 26 23:52 test
drwxrwxrwt 2 root root 48 Feb 18 15:59 tmp
drwxr-xr-x 11 root root 264 Feb 18 15:59 usr
drwxr-xr-x 11 root root 264 Feb 18 15:59 var
# mkdir lib
mkdir: cannot create directory `lib': Permission denied
# rmdir test
# mkdir test
# mkdir lib
mkdir: cannot create directory `lib': Permission denied
# ls -al ./lib
ls: ./lib: Permission denied
# ls -al
total 1
drwxr-xr-x 34 root root 856 Apr 27 21:17 .
d--------- 7 root root 280 Apr 27 20:42 ..
drwxr-xr-x 2 root root 48 Feb 18 15:59 bin
drwxr-xr-x 2 root root 48 Feb 18 15:59 boot
drwxr-xr-x 2 root root 48 Feb 18 15:59 dev
drwxr-xr-x 4 root root 248 Feb 18 15:59 etc
drwxrwsr-x 2 root 50 48 Feb 18 15:59 home
drwxr-xr-x 2 root root 48 Feb 18 15:59 mnt
drwxr-xr-x 2 root root 48 Feb 18 15:59 proc
drwxr-xr-x 2 root root 48 Feb 18 15:59 root
drwxr-xr-x 2 root root 48 Feb 18 15:59 sbin
drwxr-xr-x 2 root root 48 Apr 27 21:17 test
drwxrwxrwt 2 root root 48 Feb 18 15:59 tmp
drwxr-xr-x 11 root root 264 Feb 18 15:59 usr
drwxr-xr-x 11 root root 264 Feb 18 15:59 var
#

Is it me, my system or does dpkg play tricks on me ;)?

I've been playing with this and done it multiple times, umounting the
partition helped getting rid of this error (I also assumed it tried to
create ./lib in the vserver root dir) and I could mkdir ./lib by hand in the
vserver root dir. Although the error didn't change while ./lib existed, I
would have expected a already exists error, but it kept repeating whats
above.

Its along time since I've setup or used a debian system since i started
emerging my software ;), so I'm not sure whats going on here. There are
quiet some pitfalls here I guess, so my obvious question, has anyone done
this and willing to share experiences? If not what do you think could be
going on here?

Cheers,
-Arjen

Oh just thought of this, would it be a problem trying to do this using
reiserfs like I do, I don't think so but you never know ;)

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 27 Apr 2005 - 21:03:00 BST by hypermail 2.1.3