Issued:
2011-05-19
Updated:
2011-05-19

RHBA-2011:0716 - quota bug fix and enhancement update


Synopsis

quota bug fix and enhancement update

Type/Severity

Bug Fix Advisory (none)

Topic

An updated quota package that fixes multiple bugs and adds various enhancements is now available for Red Hat Enterprise Linux 6.

Description

The quota utility provides system administration tools for monitoring and limiting user and group disk usage on file systems.

This update fixes the following bugs:

  • Previously, quota utilities did not recognize the file system as having quotas enabled and refused to operate on it due to incorrect updating of /etc/mtab. This update prefers /proc/mounts to get a list of file systems with enabled quotas. Now, quota utilities recognize file systems with enabled quotas as expected. (BZ#623656)

  • Previously, the manual pages for quota(1), edquota(8), and setquota(8) did not document the option "--always-resolve". This update adds this option to these manual pages. (BZ#662997)

  • Previously, the default configuration of the warnquota tool incorrectly advised to inspect possible non-existing block devices and tried to check for non-existing or not-configured devices. This update changes the default content of /etc/quotatab. (BZ#663027)

  • Previously, quota queries or limits for network-mounted file systems were not handled correctly if quota values were 2^32 or bigger. Due to this issue, values were not properly transported over RPC and interpreted by client. Mangled values (wrapped to 32 bits) were reported by the client. This update interprets the RPC values by the client correctly. Now, the block quota usage and limit values bigger than 2^32-1 are correctly reported by client. (BZ#667755)

  • Previously, another value than the one specified was stored in the quota file when the quota limit was set to a value bigger than supported by the quota file format on file system with disabled quota enforcing. With this update, such settings are not anymore accepted. (BZ#668709)

  • Previously, another value than the one specified was transmitted to the server and stored in the quota configuration when the quota limit was set to value 2^32 or bigger on an remote file system via RPC call. With this update, such settings are not anymore accepted. (BZ#668710)

  • Previously, the support for vsfv1 quota format contained a memory leak when working with on-disk quota file. This update frees the memory correctly once it's not needed anymore. Now, memory leaks no longer occur. (BZ#684017)

  • The repquota tool read data before synchronizing quota file with kernel. Prior to this update, the tool unexpectedly aborted on broken extended file system quota files. Now, repquota reads consistent quota files reflecting the latest state, the quota data for all users are reported as expected. (BZ#688161)

This update also adds the following enhancements:

  • This update allows for GFS2 file system quotas to be queried using quota utilities locally and via rpc.rquotad running on NFS server remotely. (BZ#547748)

  • With this update, the superuser can set block limits beyond 2^32-1 values if the file system utilizes the 64-bit quota format. For extended file systems, the quota format is called vfsv1 and must be explicitly enabled by mount options, e.g. mount -o jqfmt=vfsv1,usrjquota=aquota.user /dev/sdb1 /mnt/point. (BZ#609795, BZ#669598)

  • This update adds the new quota_nld system service to start the quota netlink daemon. The daemon listens to the kernel for disk quota excesses and notifies the user. The service can be configured in the /etc/sysconfig/quota_nld file. (BZ#634137)

  • This update allows for GFS2 quotas to be explicitly synchronized with the new quotasync(1) utility and manipulated by quota utilities. Quota enforcement can be switched on and off at mount time or by remounting the file system (quota=on, quota=off mount options) only. (BZ#658586)

All quota users are advised to upgrade to this updated quota package, which fixes these bugs and adds these enhancements.

Solution

Before applying this update, make sure all previously-released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at This content is not included.https://access.redhat.com/kb/docs/DOC-11259

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Scientific Computing6x86_64
Red Hat Enterprise Linux for Power, big endian6ppc64
Red Hat Enterprise Linux for IBM z Systems6s390x
Red Hat Enterprise Linux Workstation6x86_64
Red Hat Enterprise Linux Workstation6i386
Red Hat Enterprise Linux Server6x86_64
Red Hat Enterprise Linux Server6i386
Red Hat Enterprise Linux Server from RHUI6x86_64
Red Hat Enterprise Linux Server from RHUI6i386
Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems)6s390x
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)6s390x
Red Hat Enterprise Linux Desktop6x86_64
Red Hat Enterprise Linux Desktop6i386

Updated Packages

  • quota-devel-3.17-16.el6.s390.rpm
  • quota-3.17-16.el6.x86_64.rpm
  • quota-3.17-16.el6.ppc64.rpm
  • quota-3.17-16.el6.s390x.rpm
  • quota-debuginfo-3.17-16.el6.ppc64.rpm
  • quota-debuginfo-3.17-16.el6.x86_64.rpm
  • quota-debuginfo-3.17-16.el6.i686.rpm
  • quota-devel-3.17-16.el6.ppc64.rpm
  • quota-3.17-16.el6.i686.rpm
  • quota-debuginfo-3.17-16.el6.s390.rpm
  • quota-devel-3.17-16.el6.x86_64.rpm
  • quota-3.17-16.el6.src.rpm
  • quota-devel-3.17-16.el6.s390x.rpm
  • quota-devel-3.17-16.el6.i686.rpm
  • quota-devel-3.17-16.el6.ppc.rpm
  • quota-debuginfo-3.17-16.el6.ppc.rpm
  • quota-debuginfo-3.17-16.el6.s390x.rpm

Fixes

CVEs

(none)

References

(none)


Additional information