Skip to contentSkip to conversation

ioctl on a directory?

DISCUSSION Russell Coker 1 participant 1 message Sep 24, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw
Sep 24 00:30:01 lyta kernel: avc:  denied  { ioctl } for  pid=21927 

exe=/bin/rm path=/root dev=03:02 ino=7466 scontext=system_u:system_r:system_crond_t tcontext=system_u:object_r:sysadm_home_dir_t tclass=dir

I am seeing the above from part of my daily cron job. But as everything seems to be working OK it's difficult to track down.

Why would rm want to do an IOCTL on a directory anyway?

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.