rpmbuild and selinux

Stephen Smalley sds at tycho.nsa.gov
Wed Jun 21 21:31:43 UTC 2006


On Tue, 2006-06-20 at 22:28 +0200, Eric Tanguy wrote:
> Since the update this morning when i try to build a package using
> rpmbuild i obtain this kind of errors in the log : 
> Traitement des fichiers: libupnp-devel-1.4.0-1
> file_contexts:  invalid context system_u:object_r:usr_t
> file_contexts:  invalid context system_u:object_r:usr_t
> file_contexts:  invalid context system_u:object_r:usr_t
> file_contexts:  invalid context system_u:object_r:usr_t
> file_contexts:  invalid context system_u:object_r:usr_t
> file_contexts:  invalid context system_u:object_r:usr_t
> file_contexts:  invalid context system_u:object_r:usr_t
> file_contexts:  invalid context system_u:object_r:usr_t
> file_contexts:  invalid context system_u:object_r:usr_t
> file_contexts:  invalid context system_u:object_r:usr_t
> 
> someone could explain me why and how to solve this ?

Is this in a chroot?

If so, I suspect that this is a result of the !selinux_mnt patch to
libselinux; when I merged it upstream, I had to fix it to set errno
properly.

-- 
Stephen Smalley
National Security Agency




More information about the fedora-selinux-list mailing list