Bug 25430 - Quota RPC-Dienst wird nicht gestartet
Quota RPC-Dienst wird nicht gestartet
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Quota
UCS 3.0
Other Linux
: P2 normal (vote)
: UCS 3.1
Assigned To: Felix Botner
Florian Best
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-12 13:54 CET by Andreas Büsching
Modified: 2012-12-12 21:08 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Büsching univentionstaff 2011-12-12 13:54:51 CET
Ich habe auf einem DC Master zwei Freigaben angelegt:

root@master:/shares1# cat /etc/exports  | grep -v ^#
"/shares1"  *(rw,no_root_squash,sync,no_subtree_check) # LDAP:cn=ShareOne,cn=shares,dc=quota,dc=test
"/shares3"  *(rw,no_root_squash,sync,no_subtree_check) # LDAP:cn=ShareThree,cn=shares,dc=quota,dc=test


Das init-Skript /etc/init.d/quotarpc started den rpc.quotad aber nicht, da die Überprüfung, ob in der /etc/exports Freigaben stehen falsch ist.

Auf einem NFS-Client bekommt man dann bei der Abfrage der Quota folgende Meldung:

root@member:/shares3# LANG=C quota
quota: error while getting quota from 10.200.15.90:/shares1 for root (id 0): Connection refused

Die Abfrage


# check if quota are enabled
need_rquotad=0
if test -f /etc/exports && grep -q '^/' /etc/exports; then

muss geändert werden auf

# check if quota are enabled
need_rquotad=0
if test -f /etc/exports && egrep -q '^"?/' /etc/exports; then
Comment 1 Stefan Gohmann univentionstaff 2012-07-17 17:09:36 CEST
UCS 3.1 will be the next release.
Comment 2 Felix Botner univentionstaff 2012-10-29 17:33:10 CET
Das init Skript /etc/init.d/quotarpc aus univention-quota wurde auf den aktuellen Stand gebracht und entsprechend angepasst. Der Dienst wird nun gestartet, wenn ein Eintrag in /etc/exports existiert.
Comment 3 Florian Best univentionstaff 2012-11-20 15:26:08 CET
(In reply to comment #2)
> Das init Skript /etc/init.d/quotarpc aus univention-quota wurde auf den
> aktuellen Stand gebracht und entsprechend angepasst. Der Dienst wird nun
> gestartet, wenn ein Eintrag in /etc/exports existiert.
OK

Changelog OK
Comment 4 Stefan Gohmann univentionstaff 2012-12-12 21:08:45 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

If this error occurs again, please use "Clone This Bug".