Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 123666
Summary: | fam-devel must requires libselinux-devel. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dams <anvil> |
Component: | fam | Assignee: | Daniel Veillard <veillard> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2 | CC: | 64bit_fedora, anvil, bugs.michael, dziumanenko, gauret, leonard-rh-bugzilla, mihai, scop, than, wtogami |
Target Milestone: | --- | Keywords: | EasyFix, SELinux |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.6.10-9.FC2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-07-19 19:04:43 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 125270 |
Description
Dams
2004-05-19 21:35:13 UTC
I see than's 2.6.10-10 in rawhide fixes this. Please issue an FC2 errata as this bug propagates to other packages, and is a PITA for everybody building for example any KDE packages. For example many fedora.us packages depend on this fix. (I tried to add SELinux and EasyFix keywords, but Bugzilla wouldn't let me do it.) *** Bug 123853 has been marked as a duplicate of this bug. *** http://people.redhat.com/wtogami/temp/fam/ Please verify that these update candidate binaries do not introduce any regressions on both i386 and x86_64. Theoretically nothing changed except buildrequires, but it is always best to test... Assumably, libselinux-devel is an implicit BR in Red Hat's build system. Else this package would fail to build (see included *selinux* patch). So, the only real change I see is "Requires: libselinux-devel" in the fam-devel package, and that is the expected fix for this bug. Your binary candidates do not differ from the stock FC2 packages with regard to size of included files and output of "rpm -qR" (except for the added libselinux-devel). [Didn't get comment 4 by mail, so sorry if I'm late.] Comment 4 didn't trigger a mail for me either, comment 5 did. I've installed the i386 candidate now. This is something that needs to be addressed on a larger scale, and something that I ran across when doing the last k3b builds. libselinux-devel is an implied BuildRequres on many packages now, RPM seems to enforce this. The problem becomes visible when doing builds in a chroot environment (mach). Would the right solution be to make libselinux-devel a Requires for RPM or explicitly add libselinux-devel as a build requires for every package? I am guessing the rpm Requires is the better solution. AFAICS, neither suggestion is correct in comment 7. Only packages really directly requiring $whatever should have the dependency. Having rpm require libselinux-devel is clearly wrong, ditto for rpmbuild. Neither do require it, so they do not and should not depend on it. Practically all KDE related packages require fam-devel (implicitly through kdelibs-devel), and practially all of them have nothing to do with libselinux or -devel. Polluting them with the build dependency on libselinux-devel does not make sense. On the other hand, fam-devel directly requires libselinux-devel (see /usr/lib/libfam.la (dependency_libs)). That should be fixed. Yet on the other hand, rpm-devel could (and should) depend on libselinux-devel (as well as a whole slew of others, see /usr/lib/librpm.la); that would mask the problem with mach, but AFAICS only because the default mach configs install rpm-devel to the build roots (which I think is a mach bug, I don't know why rpm-devel should be "assumed present" in build roots). I've been using the (i386) packages from comment 4 for some time now without any problems. Please update... *** Bug 124197 has been marked as a duplicate of this bug. *** Thanks! I don't think that this is fixed in errata. It is still causing me problems. "rpm -Fv i386/fam-devel-2.6.10-9.FC2.i386.rpm" won't work. Here's why: $ rpm -qp --requires i386/fam-devel-2.6.10-9.FC2.i386.rpm fam = 2.6.10-9.FC2 libselinux-devel rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 $ rpm -qp --requires x86_64/fam-devel-2.6.10-9.FC2.x86_64.rpm fam = 2.6.10-9.FC2 libselinux-devel rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 fam/fam-devel can't be fixed for SELinux in Fedora [1]. fam/fam-devel are deprecated by gamin (/gamin-devel) available in Fedora Core development. The gamin packages Provides and Obsolete fam, http://www.gnome.org/~veillard/gamin/ Daniel [1] the central system wide daemon model fam is based upon is really not compatible with SELinux. Re: comment 12 -> exactly that was the fix. You're correct in that you cannot use "rpm -Fv" to install the update package. You need "rpm -Uv --aid" to pull in libselinux-devel, which was added to fix this bug. Note that this bug fix was just done to complete the dependencies of the fam-devel package. |