Well 1 problem and 1 suggestion really. Here goes...
(1)
Look at this. A rather confusing error message isn't it?...
[admin@krusty /root]$ /usr/sbin/quotastats
=================+========+=============+============
User name | Uid | Limit | Current use
=================+========+=============+============
mysql| 1005| 51199K| 124K
majordomo| 1004| 0K| 400K
ftp| 1003| 4K| 0K
web| 1002| 4096K| 92K
mail| 1001| 1024K| 0K
admin| 1000| 10240K| 2184K
=================+========+=============+============
Allocated/used | | 66563K| 2800K
Max/available | | 819200K| 816400K
=================+========+=============+============
[admin@krusty /root]$ /usr/sbin/setquota mysql -9999M
Quota would exceed virtual server allocation
[admin@krusty /root]$
No it wouldnt! However, it would give "mysql" a negative quota.
(2)
When you create a VS with quotas enabled, by default, the 'mysql' user
(and 'majordomo' from the freeVSD 6.2-1 CD) start with a 0k quota. I am
lead to believe that this stands for "no quota set" (the same as using a
0 quota in the "svsdadm vs_create" command.) However, the "setquota"
command will not allow you to set a 0k quota. Why is this?
I think that the admin user of a VS should be allowed to set a 0k quota
for users if he/she decides (for example, they might give the web user a
0k quota so they dont have to worry too much about the web logs getting
too large preventing any further logging.)
Perhaps the following...
[admin@krusty]$ setquota web 0K
NB: User 'web' now has NO quota limit
[admin@krusty]$ _
(3)
OK so I shoved an unrelated 3rd suggestion on the end. So sue me ;-)
After 'telnetting' in to krusty (a VS), the admin doesn't have
"/usr/sbin" or "/sbin" in his/her path. I know that this can be changed
with the line "PATH=$PATH:/sbin:/usr/sbin" in "/root/.bash_profile" but
shouldnt this be the default in freeVSD skels and the skel-repo??
Regards,
Ben Kennish
[EMAIL PROTECTED]
www.fubra.com
------------------------- The freeVSD Support List --------------------------
Subscribe: mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives: http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------