error

netpython phaceton at gmail.com
Wed Jul 12 21:55:38 UTC 2006


i get the following error:
What doe this Duplicate declaration mean?

make -f /usr/share/selinux/devel/Makefile
Compiling targeted firefox module
/usr/bin/checkmodule:  loading policy configuration from tmp/firefox.tmp
/usr/bin/checkmodule:  policy configuration loaded
/usr/bin/checkmodule:  writing binary representation (version 5) to
tmp/firefox.mod
Creating targeted firefox.pp policy package
rm tmp/firefox.mod.fc tmp/firefox.mod
[root at ph devel]# semodule -i firefox.pp
libsepol.scope_copy_callback: firefox: Duplicate declaration in
module: type/attribute proc_t
libsemanage.semanage_link_sandbox: Link packages failed
semodule:  Failed!

the firefox.te file is:

policy_module(firefox,1.0.0)

########################################
#
# Declarations
#
type xdm_t;
type proc_t;
type home_root_t;
type bin_t;
type firefox_t;
type firefox_exec_t;
domain_type(firefox_t)
init_daemon_domain(firefox_t, firefox_exec_t)

########################################
#
# firefox local policy
#
# Check in /etc/selinux/refpolicy/include for macros to use instead of
allow rules.

# Some common macros (you might be able to remove some)
# Some common macros (you might be able to remove some)
files_read_etc_files(firefox_t)
libs_use_ld_so(firefox_t)
libs_use_shared_libs(firefox_t)
miscfiles_read_localization(firefox_t)
## internal communication is often done using fifo and unix sockets.
allow firefox_t self:fifo_file { read write };
allow firefox_t self:unix_stream_socket create_stream_socket_perms;
allow firefox_t bin_t:dir search;
allow firefox_t home_root_t:dir search;
allow firefox_t proc_t:dir search;
#allow firefox_t xdm_t:fd use;


-- 
I have made this letter longer than usual, because i lack the time to
make it short.




More information about the fedora-selinux-list mailing list