[Vserver] quota and webmin on debian etch host&guest

From: ADNET Ghislain <gadnet_at_aqueos.com>
Date: Fri 20 Jul 2007 - 09:44:30 BST
Message-ID: <46A075EE.9070601@aqueos.com>

Hi,

 I have successfully installed a vserver on it's own partition and used
a vroot device to add the quota to it. It works but i have two issues:

1/ i cannot do repquota /, only repquota /dev/hdv1 work
2/ webmin 1.350 quota extention does not work with the setup

i have :

Versions:
                   Kernel: 2.6.21.5-vs2.2.0
                   VS-API: 0x00020200
             util-vserver: 0.30.213; Jul 14 2007, 19:48:12

Features:
                       CC: gcc, gcc (GCC) 4.1.2 20061115 (prerelease)
(Debian 4.1.1-21)
                      CXX: g++, g++ (GCC) 4.1.2 20061115 (prerelease)
(Debian 4.1.1-21)
                 CPPFLAGS: ''
                   CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W
-funit-at-a-time'
                 CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W
-fmessage-length=0 -funit-at-a-time'
               build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
             Use dietlibc: yes
       Build C++ programs: yes
       Build C99 programs: yes
           Available APIs: v13,net,v21
            ext2fs Source: e2fsprogs
    syscall(2) invocation: alternative
      vserver(2) syscall#: 273/glibc

Paths:
                   prefix: /usr/local
        sysconf-Directory: ${prefix}/etc
            cfg-Directory: ${prefix}/etc/vservers
         initrd-Directory: /etc/init.d
       pkgstate-Directory: ${prefix}/var/run/vservers
          vserver-Rootdir: /vservers

disk:

/dev/mapper/volume1-vservers on /vservers/myvserver01 type ext3
(rw,noatime,usrquota,grpquota)

/usr/local/etc/vservers/monte03/fstab

none /proc proc
defaults 0 0
none /dev/pts devpts
gid=5,mode=620 0 0
/dev/volume1/tmp40284 /tmp ext3
defaults,rw,noatime,nodev,noexec,nosuid 0 2

> more /usr/local/etc/vservers/monte03/ccapabilities
quota_ctl

> more /usr/local/etc/vservers/monte03/apps/init/mtab
/dev/hdv1 / ufs
defaults,noatime,usrquota,grpquota 0 0

in the guest i have:

monte03:/%(root)> mount
/dev/hdv1 on / type ufs (defaults,noatime,usrquota,grpquota)
none on /proc type proc (defaults)
none on /dev/pts type devpts (gid=5,mode=620)
/dev/volume1/tmp40284 on /tmp type ufs
(defaults,rw,noatime,nodev,noexec,nosuid)

So i wonder what i missed here, why does the repquota command does not
work with the '/' and why webmin refuse to work on this setup :(

-- 
Cordialement,
Ghislain

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

Received on Fri Aug 3 08:17:51 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 03 Aug 2007 - 08:17:59 BST by hypermail 2.1.8