Bug#618730: marked as done (xfsprogs: xfs_quota -xc "report -Nt /xfs_test" i.e. cause error "XFS_GETQUOTA: No such process")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Your message dated Tue, 05 Apr 2011 10:37:37 +0000
with message-id <E1Q73dh-0001s6-E4@xxxxxxxxxxxxxxxxx>
and subject line Bug#618730: fixed in xfsprogs 3.1.5
has caused the Debian Bug report #618730,
regarding xfsprogs: xfs_quota -xc "report -Nt /xfs_test" i.e. cause error "XFS_GETQUOTA: No such process"
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 owner@xxxxxxxxxxxxxxx
immediately.)


-- 
618730: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618730
Debian Bug Tracking System
Contact owner@xxxxxxxxxxxxxxx with problems
--- Begin Message ---
Package: xfsprogs
Version: 3.1.4
Severity: normal
Tags: squeeze patch

Consider the following situation:

A block-device with xfs-filesystem is mounted on /xfs_test and the xfs_quota option is enabled (i.e. by mounting with option uqnoenforce).

Then if you use the prog. xfs_quota to get a report of the user quota on /xfs, you get sth. like this:

foobar:~#xfs_quota -xc "report -Nt /xfs_test"

root          2019836          0          0     00 [--------]

XFS_GETQUOTA: No such process
XFS_GETQUOTA: No such process
XFS_GETQUOTA: No such process
XFS_GETQUOTA: No such process
XFS_GETQUOTA: No such process

I have attached a patch which worked fine for me.

I want to thank Eric Sandeen for fixing this bug and refer to http://patchwork.xfs.org/patch/1714/


Regards, Thomas


-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xfsprogs depends on:
ii  libblkid1                     2.17.2-9   block device id library
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libreadline5                  5.2-7      GNU readline and history libraries
ii  libuuid1                      2.17.2-9   Universally Unique ID library

xfsprogs recommends no packages.

Versions of packages xfsprogs suggests:
pn  acl                           <none>     (no description available)
pn  attr                          <none>     (no description available)
pn  quota                         <none>     (no description available)
ii  xfsdump                       3.0.4      Administrative utilities for the X

-- no debconf information
diff -crB xfsprogs-3.1.4/quota/report.c xfsprogs-3.1.4_quota_fix/quota/report.c
*** xfsprogs-3.1.4/quota/report.c	2009-04-27 07:48:02.000000000 +0200
--- xfsprogs-3.1.4_quota_fix/quota/report.c	2011-03-17 23:03:06.479607647 +0100
***************
*** 302,308 ****
  	int		count;
  
  	if (xfsquotactl(XFS_GETQUOTA, dev, type, id, (void *)&d) < 0) {
! 		if (errno != ENOENT && errno != ENOSYS)
  			perror("XFS_GETQUOTA");
  		return 0;
  	}
--- 302,308 ----
  	int		count;
  
  	if (xfsquotactl(XFS_GETQUOTA, dev, type, id, (void *)&d) < 0) {
! 		if (errno != ENOENT && errno != ENOSYS && errno != ESRCH)
  			perror("XFS_GETQUOTA");
  		return 0;
  	}

--- End Message ---
--- Begin Message ---
Source: xfsprogs
Source-Version: 3.1.5

We believe that the bug you reported is fixed in the latest version of
xfsprogs, which is due to be installed in the Debian FTP archive:

xfslibs-dev_3.1.5_i386.deb
  to main/x/xfsprogs/xfslibs-dev_3.1.5_i386.deb
xfsprogs-udeb_3.1.5_i386.udeb
  to main/x/xfsprogs/xfsprogs-udeb_3.1.5_i386.udeb
xfsprogs_3.1.5.dsc
  to main/x/xfsprogs/xfsprogs_3.1.5.dsc
xfsprogs_3.1.5.tar.gz
  to main/x/xfsprogs/xfsprogs_3.1.5.tar.gz
xfsprogs_3.1.5_i386.deb
  to main/x/xfsprogs/xfsprogs_3.1.5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 618730@xxxxxxxxxxxxxxx,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nathan Scott <nathans@xxxxxxxxxx> (supplier of updated xfsprogs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@xxxxxxxxxx)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 31 Mar 2011 09:00:00 +1100
Source: xfsprogs
Binary: xfsprogs xfslibs-dev xfsprogs-udeb
Architecture: source i386
Version: 3.1.5
Distribution: unstable
Urgency: low
Maintainer: XFS Development Team <xfs@xxxxxxxxxxx>
Changed-By: Nathan Scott <nathans@xxxxxxxxxx>
Description: 
 xfslibs-dev - XFS filesystem-specific static libraries and headers
 xfsprogs   - Utilities for managing the XFS filesystem
 xfsprogs-udeb - A stripped-down version of xfsprogs, for debian-installer (udeb)
Closes: 618730
Changes: 
 xfsprogs (3.1.5) unstable; urgency=low
 .
   * New upstream release
   * No more xfsquota error message for non-quota mounts (closes: #618730)
Checksums-Sha1: 
 f1089452856d2cad4242c5ac95365c8dbf97c447 950 xfsprogs_3.1.5.dsc
 d14fc72b02d6af12050ee2dde253173cfc238dec 1413716 xfsprogs_3.1.5.tar.gz
 661b1922b958c2aa6ba7dbd93e8e4cea1e1d651b 1506078 xfsprogs_3.1.5_i386.deb
 2956ad2b34096a986ce3d5012c3c469237eceb92 31484 xfslibs-dev_3.1.5_i386.deb
 a9c575dbcecce83c8c4b467d882bee3902c51cec 119956 xfsprogs-udeb_3.1.5_i386.udeb
Checksums-Sha256: 
 1a5e10ea5e005647c102daa7773fada995d4743c77611c9a886b59c9ebd9cc08 950 xfsprogs_3.1.5.dsc
 88d52d58c28b702936f629e913f8e1a2890e35af3a488f557f16b273f7cac2a6 1413716 xfsprogs_3.1.5.tar.gz
 24578e5287698fbe403f0b0aecd62fc5fb9eaabb606e9d50c5d874c25d357826 1506078 xfsprogs_3.1.5_i386.deb
 aaca2a2955278b7e577bac75366d54187e29a68d84b99a32b2195b72bddfd83c 31484 xfslibs-dev_3.1.5_i386.deb
 fe4c61bb40407498631e6297320b41e5be8064750ba40c59db7fe54f164bee2d 119956 xfsprogs-udeb_3.1.5_i386.udeb
Files: 
 d3716a2b168ff2bed94d8a8a7531e343 950 admin optional xfsprogs_3.1.5.dsc
 3d496cfc155d9be9bfae6d6d8413f305 1413716 admin optional xfsprogs_3.1.5.tar.gz
 d57a2ecf3da808792631fae5f387129e 1506078 admin optional xfsprogs_3.1.5_i386.deb
 5c2b80c1bb05c2e5b8a1eaf86fec6126 31484 libdevel extra xfslibs-dev_3.1.5_i386.deb
 9e5913a15d1023ccdc78e2574ba3ad2b 119956 debian-installer optional xfsprogs-udeb_3.1.5_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk2a7CYACgkQm8fl3HSIa2PqogCgmXO7v497byit6ARD3aaHwrhE
kuQAnApXKzkxic3bpG33wVX30H7t917/
=M+/F
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux