Bug 54419 - quota/partitions/query: ValueError: invalid literal for int() with base 10: 'password=****'
quota/partitions/query: ValueError: invalid literal for int() with base 10: '...
Status: NEW
Product: UCS
Classification: Unclassified
Component: Quota
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-02-04 12:46 CET by Maximilian Janßen
Modified: 2023-07-06 14:12 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
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: 2022020321000295, 2023042721000333
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Janßen univentionstaff 2022-02-04 12:46:20 CET
Version: 5.0-1 errata203

Error: 
Internal server error during "quota/partitions/query".
Request: quota/partitions/query

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 344, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 247, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/quota/partition.py", line 53, in partitions_query
    fs = fstab.File('/etc/fstab')
  File "%PY3%/univention/lib/fstab.py", line 62, in __init__
    self.load()
  File "%PY3%/univention/lib/fstab.py", line 71, in load
    line = self.__parse(_line)
  File "%PY3%/univention/lib/fstab.py", line 152, in __parse
    return Entry(*fields, comment=rem)  # type: ignore
  File "%PY3%/univention/lib/fstab.py", line 187, in __init__
    self.dump = int(dump) if dump is not None else None
ValueError: invalid literal for int() with base 10: 'password=****'

Role: domaincontroller_master


note: the censored part looks like an actual unhashed password
Comment 1 Maximilian Janßen univentionstaff 2023-07-06 14:12:16 CEST
Version: 4.4-9 errata1250 (Blumenthal)

Error:
Internal server error during "quota/partitions/query".
Request: quota/partitions/query

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY2.7%/univention/management/console/base.py", line 262, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/quota/partition.py", line 56, in partitions_query
    fs = fstab.File()
  File "%PY2.7%/univention/lib/fstab.py", line 52, in __init__
    self.load()
  File "%PY2.7%/univention/lib/fstab.py", line 64, in load
    self.append(self.__parse(line))
  File "%PY2.7%/univention/lib/fstab.py", line 141, in __parse
    entry.dump = int(dump)
ValueError: invalid literal for int() with base 10: 'defaults'

Role: domaincontroller_master