Skip to contentSkip to conversation

Question - dac_override/dac_read_search

DISCUSSION Ivan Gyurdiev 2 participants 2 messages Mar 4, 2005 – Mar 7, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

I've seen these before, and here they are again. What causes those denials, and how can I fix them in general?

This specific case is running depmod -a as root.

audit(1109930761.807:0): avc: denied { dac_override } for pid=4678 exe=/sbin/depmod capability=1 scontext=root:sysadm_r:depmod_t tcontext=root:sysadm_r:depmod_t tclass=capability

audit(1109930761.807:0): avc: denied { dac_read_search } for pid=4678 exe=/sbin/depmod capability=2 scontext=root:sysadm_r:depmod_t tcontext=root:sysadm_r:depmod_t tclass=capability

Signature · 8 lines
Ivan Gyurdiev <[email protected]>
Cornell University


--
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.
#1 lore raw
Quoted 5 lines · Ivan Gyurdiev

I've seen these before, and here they are again. What causes those denials, and how can I fix them in general?

This specific case is running depmod -a as root.

Quoted 7 lines

audit(1109930761.807:0): avc: denied { dac_override } for pid=4678 exe=/sbin/depmod capability=1 scontext=root:sysadm_r:depmod_t tcontext=root:sysadm_r:depmod_t tclass=capability

audit(1109930761.807:0): avc: denied { dac_read_search } for pid=4678 exe=/sbin/depmod capability=2 scontext=root:sysadm_r:depmod_t tcontext=root:sysadm_r:depmod_t tclass=capability

Happens when the program attempts to access a file in a way that violates the DAC permissions, i.e. file mode bits. Commonly occurs when a root process is running in a user directory or operating on a user file, as it may need to override DAC to access the directory or file.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
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.