On Wed, 29 Jul 2009, Ned Slider wrote:

> # ls -Z /usr/lib64/libavdevice.so.52.1.0
> -rwxr-xr-x  root root system_u:object_r:textrel_shlib_t 
> /usr/lib64/libavdevice.so.52.1.0
> 
> # restorecon -Rv -n /usr/lib64
> restorecon reset /usr/lib64/libavdevice.so.52.1.0 context 
> system_u:object_r:textrel_shlib_t:s0->system_u:object_r:lib_t:s0

$ rpm -qa --qf '[%{NAME} %{FILENAMES} %{FILECONTEXTS}\n]'

Hmm... it seems RPMForge packages include SELinux contexts, overriding
context assigned by the policy. This feature of RPM is considered obsolete
and should not be used (see [1]). Indeed %_build_file_context_path is set 
to %{nil} by /usr/lib/rpm/macros on RHEL 4 and 5.

There must be something wrong with RPMForge build environment.

[1] <http://www.redhat.com/archives/rhl-devel-list/2005-January/msg01862.html>

-- 
Pavel Kankovsky aka Peak                          / Jeremiah 9:21        \
"For death is come up into our MS Windows(tm)..." \ 21th century edition /

_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to