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
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
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
quotatool should skip the rootfs mount entry