Bug 35306

Summary: Traceback univention-user-quota
Product: UCS Reporter: Philipp Hahn <hahn>
Component: QuotaAssignee: Bugzilla Mailingliste <bugzilla>
Status: RESOLVED DUPLICATE QA Contact:
Severity: minor    
Priority: P5 CC: damrose
Version: UCS 3.2   
Target Milestone: ---   
Hardware: All   
OS: Linux   
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:

Description Philipp Hahn univentionstaff 2014-07-08 10:52:06 CEST
# univention-user-quota y23j4odaqi
Traceback (most recent call last):
  File "/usr/sbin/univention-user-quota", line 168, in <module>
    mountpoints = get_mountpoints_with_quota(user, shares)
  File "/usr/sbin/univention-user-quota", line 135, in get_mountpoints_with_quota
    if _mountpoints[attrs['mountpoint']][policy_value] == '0' or int(attrs[policy_value]) < int(_mountpoints[attrs['mountpoint']][policy_value]):
KeyError: '/'

I don't know what this should tell me, but as a user-callable tool in /usr/sbin/ it shouldn't print a traceback, but report some proper error
Comment 1 Erik Damrose univentionstaff 2014-07-08 12:52:00 CEST
This refers to the unreleased fix at Bug #33174. I will mark this as duplicate and REOPEN the original bug

*** This bug has been marked as a duplicate of bug 33174 ***