Bug 39023 - lsb_release information contains quotation marks
lsb_release information contains quotation marks
Status: RESOLVED DUPLICATE of bug 37725
Product: UCS
Classification: Unclassified
Component: LSB
UNSTABLE
Other Linux
: P5 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-26 10:58 CEST by Daniel Tröder
Modified: 2015-08-11 15:58 CEST (History)
1 user (show)

See Also:
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 (994 bytes, patch)
2015-07-26 11:00 CEST, Daniel Tröder
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***