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

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Sat 14 Jun 2003 - 16:26:54 BST


On Fri, Jun 13, 2003 at 05:08:04PM +0200, Florian Wilkemeyer wrote:
> Hello, i have a problem qiith quota, i īve satupīd vroot etc.. when i
> run quotacheck then:

Hi Florian!

I guess I try to answer the second posting, and ignore
the first one ;)

> vserver0052:~/quota-tools# quotacheck -mavug
> Cannot get exact used space... Results might be inaccurate.
> quotacheck: Scanning /dev/hdv1 [/] quotacheck: Cannot open file auto:
> Permission denied

assuming that you use the 3.0.8 quota-tools (we compiled
yesterday *hint*) this message aoriginates from line 255

        if ((fd = open(fname, O_RDONLY)) == -1)
                die(2, _("Cannot open file %s: %s\n"), fname, strerror(errno));

which in turn is within getqsize() called from scan_dir()
searching some directories ...

therefore I conclude that you hit a file named 'auto'
which could not be read (due to lack of permissions and
capabilities) within the vserver ...

your options are:

  - do it from outside the vserver (good)
    best done in the vserver start script, right
    before the vserver is started
  - ensure that vserver-root has read permission
    on 'all' files ...
  - raise the capabilities (not good)

> vserver0052:~/quota-tools#
> Quota support is ON vroot Module is loadet.. shellscript is running
> but what can i do?

hth,
Herbert

PS: please give a short overview/survey how
    to use vroot/quota on loop devices ...

> M.F.G Sirius


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 Sat 14 Jun 2003 - 16:38:37 BST by hypermail 2.1.3