Bug 817317

Summary: split out lsb_release in it's own package
Product: Red Hat Enterprise Linux 6 Reporter: Christoph Anton Mitterer <calestyo>
Component: redhat-lsbAssignee: Lawrence Lim <llim>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: tools-bugs
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://packages.debian.org/sid/lsb-release
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-14 09:04:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christoph Anton Mitterer 2012-04-29 00:28:31 UTC
Hi.

lsb_release is a generally useful tool, e.g. to easily and "portably" find out the running distribution and its version.

However, redhat-lsb depends on a huge pile of desktop crap (qt, cups, etc. pp.).

Please follow what e.g. Debian already does and split out lsb_release in a smallish base (lsb-relase) package with no further dependencies.


Cheers,
Chris.

Comment 2 Petr Šplíchal 2012-08-03 15:30:52 UTC
Could this be resolved by providing a separate redhat-lsb-core?
See also bug 835919.

Comment 3 Christoph Anton Mitterer 2012-08-03 22:23:10 UTC
I guess so.

What one needs is a package that has no further dependecies (especially not on any large stuff like Qt), which provides some core utilities of lsb.

As mentioned, have a look at what Debian provides in lsb-base and lsb-release.


Actually it's not only the lsb_release command that would be useful in a small standard package, but also e.g. /lib/lsb/init-functions
Uses also by many EPEL packages even though they don't depend correctly on the current big monolithic lsb package.

Comment 4 Petr Šplíchal 2012-08-14 09:04:25 UTC
(In reply to comment #3)
> Actually it's not only the lsb_release command that would be useful in a
> small standard package, but also e.g. /lib/lsb/init-functions
> Uses also by many EPEL packages even though they don't depend correctly on
> the current big monolithic lsb package.

Yes, I believe the new redhat-lsb-core package should include all
commands/functions currently present in redhat-lsb, just omit the
dependencies which will remain in redhat-lsb. Thanks for the info.

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