All of lore.kernel.org
 help / color / mirror / Atom feed
* Possible bug in finding default context?
@ 2012-08-09 17:45 Ole Kliemann
  2012-08-09 17:48 ` Stephen Smalley
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ole Kliemann @ 2012-08-09 17:45 UTC (permalink / raw)
  To: selinux

[-- Attachment #1: Type: text/plain, Size: 978 bytes --]

Sometime ago I posted about a problem I had when building a 
monolithic policy. Login programs were unable to determine the 
default context of users when logging in, although i was pretty 
sure I did everything right. I never resolved that but didn't 
bother either since I started writing a new modular policy from 
scratch.

Everything worked flawlessly, including logins, until suddenly 
now logins started to fail again with the login programs unable 
to determine the context of the user.
 
Oh, what fresh hell is this?! So I started rolling back changes, 
and it turns out if there are too many types associated with one 
role and that role and one of its types is set as default context 
for a user, /bin/login gives 'Unable to get valid context'.

BTW, the exact number seems 194. 194 types associated with one 
role works. 195 and it's broken.

I'm doing this on Ubuntu 12.04, so it could be the crappily 
maintained selinux userland here.

Ole

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-08-10 17:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-09 17:45 Possible bug in finding default context? Ole Kliemann
2012-08-09 17:48 ` Stephen Smalley
2012-08-10  8:58   ` Ole Kliemann
2012-08-10 12:55     ` Stephen Smalley
2012-08-10  9:13 ` Russell Coker
2012-08-10 10:37   ` Ole Kliemann
2012-08-10 17:21     ` Ole Kliemann
2012-08-10 11:06 ` Ole Kliemann

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.