Bug 35306 - Traceback univention-user-quota
Traceback univention-user-quota
Status: RESOLVED DUPLICATE of bug 33174
Product: UCS
Classification: Unclassified
Component: Quota
UCS 3.2
All Linux
: P5 minor (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-08 10:52 CEST by Philipp Hahn
Modified: 2014-07-08 12:52 CEST (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 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 ***