Bug 603578 - libcgroup depends on redhat-lsb
Summary: libcgroup depends on redhat-lsb
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libcgroup
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Safranek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 245494
Blocks: 607537
TreeView+ depends on / blocked
 
Reported: 2010-06-13 23:42 UTC by James Antill
Modified: 2010-06-24 10:26 UTC (History)
6 users (show)

Fixed In Version: libcgroup-0.36.2-1.fc14
Clone Of:
: 607537 (view as bug list)
Environment:
Last Closed: 2010-06-22 12:38:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Antill 2010-06-13 23:42:27 UTC
Description of problem:
Packages aren't supposed to depend on redhat-lsb, and the latest libcgroup does (and is brought in by policycoreutils).


Version-Release number of selected component (if applicable):
libcgroup.i686                    0.36.1-1.fc14                    rawhide

Comment 1 Jan Safranek 2010-06-16 10:03:55 UTC
(In reply to comment #0)
> Packages aren't supposed to depend on redhat-lsb

Why not? libcgroup needs /lib/lsb/init-functions, which is provided by redhat-lsb. Of course, I can use file-dependency instead of hard one, but that won't change anything.

Comment 2 James Antill 2010-06-16 14:27:09 UTC
> Why not? libcgroup needs /lib/lsb/init-functions, which is provided by
> redhat-lsb

 Because packages are not supposed to be "lsb" packages, they are supposed to be Fedora packages. See:

https://fedorahosted.org/fesco/ticket/346

...and many threads on fedora-devel.

Comment 3 Matthias Clasen 2010-06-17 00:47:03 UTC
This has ramifications for our live cds: we now have gettext and cvs on the live cd, pulled in via:

policycoreutils-python -> libcgroup -> redhat-lsb -> gettext -> cvs

The redhat-lsb dependency is unacceptable.

Comment 4 Jan Safranek 2010-06-21 09:18:28 UTC
I agree that redhat-lsb dependencies are not optimal. But running LSB-compliant initscripts without patching is something I expect from a distro. Wouldn't it be better to fix redhat-lsb first?

Comment 5 Balbir Singh 2010-06-21 15:57:36 UTC
I think redhat-lsb needs to be fixed. We can fix the dependency at our end, but ideally I would like to see the package fixed so that we can make sure it is installed before sourcing LSB functions in our script.

Comment 6 Chen Lei 2010-06-22 02:54:28 UTC
Using /lib/lsb/init-functions is against our guidelines, fedora packages should use /etc/init.d/functions instead, it's easy to fix this problem. Other distros like debian arch also don't include lsb-init in their default installation, I don't think redhat-lsb is very useful, historically this package was broken several times.

See http://fedoraproject.org/wiki/Packaging:SysVInitScript

Also, you don't need to add INSTALL to %doc

See http://fedoraproject.org/wiki/PackagingGuidelines#Documentation

Comment 7 Jan Safranek 2010-06-22 12:28:26 UTC
OK, I give up... Let's patch the initscripts until #245494 is resolved.


Note You need to log in before you can comment on or make changes to this bug.