Skip to contentSkip to conversation

strange avc

DISCUSSION Russell Coker 2 participants 3 messages Jan 25, 2017 – Feb 7, 2017 SELinux security module

lore
Share & tools
lore
#0 lore raw

type=AVC msg=audit(1485258907.829:106): avc: denied { 0x800000 } for pid=1280 comm="rewrite-0" name="after-the-deadline" dev="vda" ino=104107534 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=0

I got the above after upgrading a system running kernel 3.16.0 to the latest userspace. Why is this happening? Is this a bug?

Signature · 2 lines
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
#1 lore raw
Quoted 7 lines · Russell Coker

type=AVC msg=audit(1485258907.829:106): avc: denied { 0x800000 } for pid=1280 comm="rewrite-0" name="after-the-deadline" dev="vda" ino=104107534 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=0

I got the above after upgrading a system running kernel 3.16.0 to the latest userspace. Why is this happening? Is this a bug?

That would be a kernel bug; it means that you have a directory inode (for which that permission would be rmdir permission) that is wrongly assigned the file security class. Typically means that the filesystem did not set the file mode format bits before security_d_instantiate() was called.

#2 lore raw

Thanks for the information. That's the Debian/Jessie kernel and it's years too late to get it fixed. Oh well at least it fails closed.

Quoted 24 lines · Stephen Smalley
Quoted 1 line · Russell Coker

type=AVC msg=audit(1485258907.829:106): avc: denied { 0x800000 }

for

Quoted 1 line

pid=1280 comm="rewrite-0" name="after-the-deadline" dev="vda"

ino=104107534

Quoted 4 lines

scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=0

I got the above after upgrading a system running kernel 3.16.0 to the

latest

Quoted 1 line

userspace. Why is this happening? Is this a bug?

That would be a kernel bug; it means that you have a directory inode (for which that permission would be rmdir permission) that is wrongly assigned the file security class. Typically means that the filesystem did not set the file mode format bits before security_d_instantiate() was called.
_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected]. To get help, send an email containing "help" to [email protected].

Signature · 1 line
Sent from my Nexus 6P with K-9 Mail.