Univention Bugzilla – Full Text Bug Listing |
Summary: | univention-check-templates breaks on conffiles with space in name if python-debian is installed | ||
---|---|---|---|
Product: | UCS | Reporter: | Janis Meybohm <meybohm> |
Component: | UCR | Assignee: | Felix Botner <botner> |
Status: | CLOSED FIXED | QA Contact: | Philipp Hahn <hahn> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, walkenhorst |
Version: | UCS 3.2 | Flags: | meybohm:
Patch_Available+
|
Target Milestone: | UCS 3.2-3-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
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: | |||
Bug Depends on: | |||
Bug Blocks: | 35910 | ||
Attachments: | Use rsplit instead |
ok, fixed YAML: 2014-08-28-univention-config-registry.yaml Merged to 4.0 OK: announce_errata -V 2014-08-28-univention-config-registry.yaml OK: univention-check-templates (w python-debian) OK: univention-check-templates (w/o python-debian) OK: aptitude install '?source-package(univention-config)?installed' OK: UCS-3.2-3 python2.6 OK: UCS_4.0-0 python2.7 |
Created attachment 5975 [details] Use rsplit instead Ticket#: 2014061721000508 If a package provides conffiles with space in name AND python-debian is installed, univention-check-templates breaks: --- Traceback (most recent call last): File "/usr/sbin/univention-check-templates", line 168, in <module> sys.exit(main()) File "/usr/sbin/univention-check-templates", line 52, in main modified |= check_md5(opt.verbose) File "/usr/sbin/univention-check-templates", line 102, in check_md5 for filepath, expected in iter_templates(): File "/usr/sbin/univention-check-templates", line 134, in iter_templates filepath, fmd5 = fields ValueError: too many values to unpack ---