Red Hat Bugzilla – Bug 131491
Current libselinux is missing %postun /sbin/ldconfig call
Last modified: 2007-11-30 17:10:48 EST
Description of problem:
The current libselinux package has a proper %post scriplet to call
/sbin/ldconfig, but is lacking a similar %postun one.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -q --scripts libselinux-1.17.3-1
postinstall scriptlet (using /bin/sh):
# add libselinux to the cache
Also see a %postun scriplet.
Attached is a spec file patch that adds it and also cleans up the spec
file by mainly removing stuff that is now unneeded.
Also, I don't understand the reason to have a "Provides:
libselinux.so" in the main package. All applications I can see linked
against libselinux have a proper dependency on the .so.1 versionned
file, so that provides could/should probably be removed.
Created attachment 103357 [details]
Patch to add missing ldconfig call and clean up the spec file.
Fixed in libselinux-1.17.9-1
Indeed fixed in libselinux-1.17.9-1, but another minor weirdness
slipped in : The package's "Distribution:" tag got "Red Hat FC-3"
instead of the usual "Red Hat Linux" that all other packages have. Is
Never mind the distribution tag, seems like a more general issue of
the build system(s). I've started a thread about it :
I'll close the bug as RAWHIDE now.