Bug 45767 - print stderr of failed setquota call in
print stderr of failed setquota call in
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - Quota
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-23 14:22 CET by Felix Botner
Modified: 2020-09-28 17:04 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Feature Request
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?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017102521000382
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 Felix Botner univentionstaff 2017-11-23 14:22:26 CET
univention-quota/umc/python/quota/user.py.users_set() should also show stderr of a failed setquota call.

 raise UMC_Error(_('Failed t.... (%(stderr)s)...
Comment 1 Jürn Brodersen univentionstaff 2020-09-28 16:39:01 CEST
I second this for all subprocess calls in the quota module.

For example in tools.py the `/sbin/quotacheck` command fails if a process is using the partition that should be checked. In that case the user only gets a very generic error message.