Bug 845862

Summary: lsb_release is broken - Detection of openSUSE product information
Product: [openSUSE] openSUSE 13.1 Reporter: Sebastian Siebert <freespacer>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: forgotten_DV81ZEWZkN
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Sebastian Siebert 2013-10-14 19:58:19 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0

lsb_release read the old openSUSE product information from /etc/SuSE-release. The handling of the lsb_release script is unfortunately pretty poor. The new product information is located at /etc/os-release and should be read from there.

The information about the distribution is needed by any third party software for an auto detection feature.

# lsb_release -a
LSB Version:    n/a
Distributor ID: #/etc/SuSE-releaseisdeprecatedandwillberemovedinthefuture,use/etc/os-releaseinstead
Description:    # /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead
Release:        n/a
Codename:       n/a


Reproducible: Always

Steps to Reproduce:
1. Execute: lsb_release -a

Actual Results:  
No information about the distribution was displayed. This is pretty bad.

Expected Results:  
All information about the distribution should be displayed.
Comment 1 Forgotten User DV81ZEWZkN 2013-10-14 23:51:43 UTC
Dup of bug 845262

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