Univention Bugzilla – Bug 31957
univention-user-quota throws exception when evaluating quota
Last modified: 2013-07-25 10:52:56 CEST
I created a separate partition for /home, enabled quota and assigned a quota policy to a share below /home. Finally, I ran /usr/sbin/univention-user-quota USERNAME on the command line and received the following traceback: /usr/sbin/univention-user-quota File "/usr/sbin/univention-user-quota", line 158, in <module> log.write('no quota for %s\n') % mountpoint_path TypeError: unsupported operand type(s) for %: 'NoneType' and 'str' The error is caused by this programming mistake: log.write('no quota for %s\n') % mountpoint_path It should be: log.write('no quota for %s\n' % mountpoint_path)
A typo. Fixed for ucs3-2.0 and errata3.1-1. No changelog entry for ucs-3.2-0 because the script has been rewritten since the last release in terms of Bug #30636, for which there is a note in the changelog already. Errata 3.1-1 YAML: ================== product: ucs release: "3.1" scope: ucs_3.1-0-errata3.1-1 src: univention-quota fix: 7.0.5-10.114.201307111315 note: version: [1] desc: | This errata update removes a typo which caused a traceback in the univention-user-quota script. bug: [31957]
FAIL - 3.2 changelog OK - errata3.1-1 OK - ucs3.2-0 OK - YAML
Added this bug number to 3.2 changelog entry for Bug #30636.
OK
http://errata.univention.de/ucs/3.1/154.html