All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with SElinux and MySQL accessing file on /tmp
@ 2005-04-19  2:11 Jason
  2005-04-19 12:45 ` Russell Coker
  2005-04-19 17:17 ` Daniel J Walsh
  0 siblings, 2 replies; 4+ messages in thread
From: Jason @ 2005-04-19  2:11 UTC (permalink / raw)
  To: SELinux

I am having an error with selinux that I can't seem to fix.

 avc: denied { getattr } for pid=123 exe=/usr/libexec/mysqld

 I get that when I try to use a mysql query "load data concurrent infile 
'/tmp/filename' etc"

allow mysqld_t tmp_t:dir { getattr }; doesn't help. I need a way to give 
mysql  getattr globally, or at least in the tmp folder.  in 
filecontexts, /tmp/.* is listed as <<none>>

the file it's accessing in /tmp is user_u:object_r:tmp_t

audit2allow doesn't display anything since it's a denied { getattr } 
without any other info.

Does anyone have an idea what can be done?

TIA,

Jason

--
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] 4+ messages in thread

end of thread, other threads:[~2005-04-20  2:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-19  2:11 Problems with SElinux and MySQL accessing file on /tmp Jason
2005-04-19 12:45 ` Russell Coker
2005-04-20  2:05   ` Jason
2005-04-19 17:17 ` Daniel J Walsh

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.