All of lore.kernel.org
 help / color / mirror / Atom feed
* some errors in installing pp
@ 2007-03-23  6:33 Nerazzurri.YANG
  2007-03-23 12:34 ` Stephen Smalley
  0 siblings, 1 reply; 10+ messages in thread
From: Nerazzurri.YANG @ 2007-03-23  6:33 UTC (permalink / raw)
  To: selinux


hi all,

i install a local pp in fc7 rawhide, but there are
some errors, i do not understand:

libsepol.print_missing_requirements: mymono's global requirements were 
not met: type/attribute self
libsemanage.semanage_link_sandbox: Link packages failed
semodule:  Failed!


my ".te" file is as:


module mymono 1.0;

require {
	type unconfined_t;
	type automount_t;
	type init_t;
	type pcscd_t;
	type default_t;
	type sysfs_t;
	type semanage_t;
	type setroubleshootd_t;
	type xdm_t;
	type initrc_t;
	type bluetooth_t;
	type insmod_t;
	type gpm_t;
	type var_lib_t;
	type hplip_t;
	type unlabeled_t;
	type var_run_t;
	type kernel_t;
	type locate_t;
	type consolekit_t;
	type klogd_t;
	type xdm_xserver_t;
	type httpd_t;
	type hald_acl_t;
	type cupsd_t;
	type nscd_var_run_t;
	type udev_t;
	type rpcd_t;
	type hald_t;
	type rpm_t;
	type getty_t;
	type mono_t;
	type crond_t;
	type random_device_t;
	type self;
	class sock_file write;
	class file { write setattr };
	class dir { search getattr };
	class chr_file read;
}

#============= automount_t ==============
allow automount_t random_device_t:chr_file read;

#============= consolekit_t ==============
allow consolekit_t var_lib_t:dir search;

#============= hald_acl_t ==============
allow hald_acl_t nscd_var_run_t:dir search;

#============= insmod_t ==============
allow insmod_t sysfs_t:file write;

#============= locate_t ==============
allow locate_t unlabeled_t:dir getattr;

#============= mono_t ==============
allow mono_t bluetooth_t:file write;
allow mono_t crond_t:file write;
allow mono_t cupsd_t:file write;
allow mono_t getty_t:file write;
allow mono_t gpm_t:file write;
allow mono_t hald_t:file write;
allow mono_t hplip_t:file write;
allow mono_t httpd_t:file write;
allow mono_t init_t:file write;
allow mono_t initrc_t:file write;
allow mono_t kernel_t:file write;
allow mono_t klogd_t:file write;
allow mono_t pcscd_t:file write;
allow mono_t rpcd_t:file write;
allow mono_t rpm_t:file write;
allow mono_t self:file setattr;
allow mono_t udev_t:file write;
allow mono_t unconfined_t:file { write setattr };
allow mono_t xdm_t:file write;
allow mono_t xdm_xserver_t:file write;

#============= semanage_t ==============
allow semanage_t default_t:dir search;

#============= setroubleshootd_t ==============
allow setroubleshootd_t var_run_t:sock_file write;


the '.te' file is generated by audit2allow:

"cat /var/log/audit/audit.log | audit2allow -M test"

can any guide me the way to understand above errors generated
by semodule.

thanks in advance.


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-03-26 15:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-23  6:33 some errors in installing pp Nerazzurri.YANG
2007-03-23 12:34 ` Stephen Smalley
2007-03-23 15:51   ` Karl MacMillan
2007-03-23 16:28     ` Stephen Smalley
2007-03-23 16:43       ` Stephen Smalley
2007-03-23 16:45         ` Stephen Smalley
2007-03-23 20:48       ` Karl MacMillan
2007-03-24 12:53         ` Nerazzurri.YANG
2007-03-26 14:52           ` Karl MacMillan
2007-03-26 15:03         ` Stephen Smalley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.