Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367331 - sys-fs/quotatool-1.4.6: quotatool doesnt skip "rootfs / rootfs" mount entry
Summary: sys-fs/quotatool-1.4.6: quotatool doesnt skip "rootfs / rootfs" mount entry
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-15 08:09 UTC by Marek Królikowski
Modified: 2011-05-17 18:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Królikowski 2011-05-15 08:09:49 UTC
After upgrade to stable openrc, command mount show new rootfs:
WIZJA2 ~ # mount
rootfs on / type rootfs (rw)
/dev/sda2 on / type reiserfs (rw,noatime,usrquota,grpquota)

Problem is with quotatool he try use quota for rootfs not for partition /dev/sda2

Reproducible: Always

Steps to Reproduce:
1. Upgrade to stable OpenRC
2. /usr/bin/quotatool -v -u taken  -bq 150M -l 200M /
3.
Actual Results:  
quotatool: using uid taken
quotatool: setting block limit
quotatool: setting soft limit to 150M
quotatool: setting hard limit to 200M
quotatool: using filesystem /
quotatool: user 'taken' has uid 1000
quotatool: filesystem / has device node rootfs
quotatool: Error while detecting kernel quota version: No such file or directory


Expected Results:  
Set quota for user on / filesystem
Comment 1 Marek Królikowski 2011-05-15 08:14:07 UTC
I check unstable version of quotatool got this same problem:
WIZJA2 ~ # quotatool -V
  quotatool version 1.4.11
  Copyright (c) 1999-2009 Mike Glover / Johan Ekenberg
  Distributed under the GNU General Public License
  http://quotatool.ekenberg.se
WIZJA2 ~ # /usr/bin/quotatool -v -u taken  -bq 150M -l 200M /
quotatool: using uid taken
quotatool: setting block limit
quotatool: setting soft limit to 150M
quotatool: setting hard limit to 200M
quotatool: using filesystem /
quotatool: user 'taken' has uid 1000
quotatool: filesystem / has device node rootfs
quotatool: Error while detecting kernel quota version: No such file or directory
Comment 2 Marek Królikowski 2011-05-15 08:18:49 UTC
i find how to set quota don`t use a mountpoint start use a fs:
/usr/bin/quotatool -v -u taken  -bq 150M -l 200M /dev/sda2

But i think this is a bug because quotatool try set a quota for rootfs when u use a mountpoint
Comment 3 SpanKY gentoo-dev 2011-05-17 18:14:10 UTC
quotatool should skip the rootfs mount entry