Your message dated Fri, 10 Jun 2011 11:59:50 +0200
with message-id <[email protected]>
and subject line Re: [Hostname-devel] Bug#626292: explanation
has caused the Debian Bug report #629903,
regarding Quota not working in openVZ CT due to switch to /proc/mounts
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
629903: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629903
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
package: quota
version: 4.00~pre1-6


When using OpenVZ on a physical host, it is possible to create a CT
(openVZ container for a virtual host) and enable user/group quota inside
this container so the virtual guest can manage quotas for itself.

Then inside the virtual guest the package "quota" is used to manage quotas.


BUT, when user/group quotas are enabled for a virtual guest
(second-level vzquotas) it is in fact not usable anymore inside the
virtual guest since those changes in the quota package :
quota (4.00~pre1-1) unstable; urgency=low
   * New Upstream version:
     - Don't try to set inode flags when getting them failed (Closes:
#569570)
     - Use /proc/mounts for mountpoint scanning (Closes: #38817)
   * Bumped Standards-Version to 3.8.4, no changes needed.
   * Added watch file.
   * Fixed typo in manpage.
 -- Michael Meskes <[email protected]>  Wed, 17 Feb 2010 16:31:59 +0100


VzQouta sets quota configuration in /etc/mtab inside the virtual guest
but quota v4.00~pre1.X now uses /proc/mounts to check for quota-enabled
filesystems.
So commands like "edquota" are not aware of any quota-enabled FS inside
an openvz virtual guest.

It makes quotas unusable inside an OpenVZ virtual guest (CT).


There is a bug report on the subject here :
http://bugzilla.openvz.org/show_bug.cgi?id=1721


I'm using Debian 6 Squeeze i386, kernel 2.6.32-5-openvz-686.

Best regards,
Dag



--- End Message ---
--- Begin Message ---
On Thu, Jun 09, 2011 at 04:30:14PM +0200, den mail wrote:
> Because the compilation option "--enable-proc-mounts=/etc/mtab" was
> changed for "--enable-proc-mounts=/proc/mounts" so now openvz guests
> can't have quota working.

Which is a bug in OpenVZ. This is more or less explicitely stated in the bug
report you cite. So why should this be a bug in quota? I don't think adding a
workaround for an OpenVZ bug is worth opening problems on other systems.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL


--- End Message ---

Reply via email to