Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387105 - corrections in Security Handbook regarding quota usage
Summary: corrections in Security Handbook regarding quota usage
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-14 08:31 UTC by Oleg Gawriloff
Modified: 2011-11-15 18:54 UTC (History)
1 user (show)

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 Oleg Gawriloff 2011-10-14 08:31:43 UTC
1. Regarding quotacheck cronjob.
0 3 * * 0 /usr/sbin/quotacheck -avug
its does not work because quota is enabled is filesystem is mounted rw.
proper line should be:
0 3 * * 0 quotaoff -a && quotacheck -avugm && quotaon -a
2. Regarding quota at boot level.
It does not work because system mounted rw and quotachechk fails.
should be added strings about modyfiying /etc/conf.d/quota: QUOTACHECK_OPTS="-avugm"


Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2011-11-15 18:44:24 UTC
Actually, quotacheck should never be scheduled. As long as your kernel supports quota's, it'll track the usage itself. quotacheck is when the quota files are corrupt. In that case, the user should bring the system in single user mode (or at least make sure no changes occur on the file system) and run quotacheck.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2011-11-15 18:54:35 UTC
Fixed in CVS, should show up on the site in an hour or so.