Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SELinux woes - bad security context.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 476
Location: Scotland

PostPosted: Wed Feb 13, 2013 4:07 pm    Post subject: SELinux woes - bad security context. Reply with quote

Hey team, just jumped over to SELinux, but not quite ready for enabling policy just yet.

When I use audit2allow, I notice a complaint about bad security context.
Code:
libsepol.context_from_record: invalid security context: "staff_u:sysadm_r:nfsd_t"
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert staff_u:sysadm_r:nfsd_t to sid
libsepol.context_from_record: invalid security context: "staff_u:sysadm_r:nfsd_t"
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert staff_u:sysadm_r:nfsd_t to sid
libsepol.context_from_record: invalid security context: "staff_u:sysadm_r:nfsd_t"
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert staff_u:sysadm_r:nfsd_t to sid
libsepol.context_from_record: invalid security context: "staff_u:sysadm_r:nfsd_t"
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert staff_u:sysadm_r:nfsd_t to sid
libsepol.context_from_record: invalid security context: "staff_u:sysadm_r:nfsd_t"
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert staff_u:sysadm_r:nfsd_t to sid
Traceback (most recent call last):

I just have a hunch it has something to do with staff_u or maybe nfsd_t.

Any ideas?

Cheers.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum