Bug 1306195 - repquota on xfs doesn't report LDAP users if sssd is used.
Summary: repquota on xfs doesn't report LDAP users if sssd is used.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: quota
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://sourceforge.net/p/linuxquota/...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-10 09:52 UTC by Petr Pisar
Modified: 2016-02-26 08:36 UTC (History)
2 users (show)

Fixed In Version: quota-4.03-3.fc25
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-26 08:36:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1305968 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1305968

Description Petr Pisar 2016-02-10 09:52:20 UTC
If passwd database is remote, enumerating all users is expensive. Then repquota tool cannot list quota entries for filesystems that do not export list of users with quota in use. That's the case of XFS.

Recently, Linux gained new Q_XGETNEXTQUOTA and Q_GETNEXTQUOTA qutoactls to enumerate file system users with quota in use. Once this kernel interface appears in Fedora, we can extend user space quota tools to utilize the new feature.

It has already been implemented in upstream with commits:

commit 7367f5d511ec4555fbb7a87c1c1853fd4fd01712
Author: Jan Kara <jack>
Date:   Tue Jan 26 14:06:59 2016 +0100

    Add support for scanning using Q_XGETNEXTQUOTA
    
    Add support for scanning of all available quota structures using
    Q_XGETNEXTQUOTA quotactl.
    
    Signed-off-by: Jan Kara <jack>

commit 85687833434d50e3f5fd4b849e543eb505bf5a20
Author: Jan Kara <jack>
Date:   Tue Jan 26 13:10:59 2016 +0100

    Scan dquots using Q_GETNEXTQUOTA
    
    Check for new kernel quotactl Q_GETNEXTQUOTA and if available use it for
    scanning all dquot structures.
    
    Signed-off-by: Jan Kara <jack>

Comment 1 Petr Pisar 2016-02-26 08:36:00 UTC
This feature requires a new kernel interface that will be available probably in linux-4.6.


Note You need to log in before you can comment on or make changes to this bug.