Bug 39023

Summary: lsb_release information contains quotation marks
Product: UCS Reporter: Daniel Tröder <troeder>
Component: LSBAssignee: Bugzilla Mailingliste <bugzilla>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 CC: hahn
Version: UNSTABLE   
Target Milestone: ---   
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:
Attachments: patch for ucs-4.0-2/base/univention-base-files/conffiles/etc/lsb-release

Description Daniel Tröder univentionstaff 2015-07-26 10:58:12 CEST
While the shell output of lsb_release is not affected, it becomes apparent if used in Python:

# python
>>> import platform
>>> platform.dist()
('"Univention"', '"4.0-2 errata240"', '"Walle"')

Should be:
('Univention', '4.0-2 errata240', 'Walle')

Reason are unnecessary quotation marks in the template file /etc/lsb-release in univention-base-files.
Comment 1 Daniel Tröder univentionstaff 2015-07-26 11:00:52 CEST
Created attachment 7054 [details]
patch for ucs-4.0-2/base/univention-base-files/conffiles/etc/lsb-release

Attached patch removes quotation marks from template file. lsb_release shell output remains unchanged, Python output changes as desired.
Comment 2 Philipp Hahn univentionstaff 2015-08-11 15:58:14 CEST

*** This bug has been marked as a duplicate of bug 37725 ***