Bug 42512 - parsing of fstab fails and causes quota module not to work
parsing of fstab fails and causes quota module not to work
Status: REOPENED
Product: UCS
Classification: Unclassified
Component: UMC - Quota
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
: 39962 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-27 12:33 CEST by Florian Best
Modified: 2020-10-05 13:13 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019050121000503, 2018053021000531, 2016092321000658
Bug group (optional): Error handling, 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 Florian Best univentionstaff 2016-09-27 12:33:55 CEST
Version: 4.1-3 errata278 (Vahr)

Die Ausführung des Kommandos quota/partitions/query ist fehlgeschlagen:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 283, in execute
    function(self, request)
  File "%PY2.7%/univention/management/console/modules/quota/partition.py", line 52, in partitions_query
    fs = fstab.File()
  File "%PY2.7%/univention/lib/fstab.py", line 44, in __init__
    self.load()
  File "%PY2.7%/univention/lib/fstab.py", line 52, in load
    self.append(self.__parse(line))
  File "%PY2.7%/univention/lib/fstab.py", line 91, in __parse
    entry.dump = int(dump)
ValueError: invalid literal for int() with base 10: 'rw'
Comment 1 Johannes Keiser univentionstaff 2018-07-16 15:59:25 CEST
Reported again: Version: 4.2-4 errata418 (Lesum)

Remark: Ich habe auf die Schaltfläche "Dateisystem Quota" gedrückt, dann kam dieser Fehler

Interner Server-Fehler in "quota/partitions/query".
Request: quota/partitions/query

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 253, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/quota/partition.py", line 54, in partitions_query
    fs = fstab.File()
  File "%PY2.7%/univention/lib/fstab.py", line 45, in __init__
    self.load()
  File "%PY2.7%/univention/lib/fstab.py", line 53, in load
    self.append(self.__parse(line))
  File "%PY2.7%/univention/lib/fstab.py", line 92, in __parse
    entry.dump = int(dump)
ValueError: invalid literal for int() with base 10: 'PARTUUID="880f336f-01"'

Role: domaincontroller_master
Comment 2 Stefan Gohmann univentionstaff 2019-01-03 07:22:07 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
Comment 3 Johannes Keiser univentionstaff 2019-05-14 14:45:44 CEST
Reported again: Version: 4.4-0 errata59 (Blumenthal)

Interner Server-Fehler in "quota/partitions/query".
Request: quota/partitions/query

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 253, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/quota/partition.py", line 54, in partitions_query
    fs = fstab.File()
  File "%PY2.7%/univention/lib/fstab.py", line 50, in __init__
    self.load()
  File "%PY2.7%/univention/lib/fstab.py", line 62, in load
    self.append(self.__parse(line))
  File "%PY2.7%/univention/lib/fstab.py", line 139, in __parse
    entry.dump = int(dump)
ValueError: invalid literal for int() with base 10: 'PARTUUID="409b6d24-01"'

Role: domaincontroller_master
Comment 4 Philipp Hahn univentionstaff 2020-10-05 13:13:54 CEST
*** Bug 39962 has been marked as a duplicate of this bug. ***