* Invalid Security Context error
@ 2003-11-09 5:45 Dhruv Gami
2003-11-10 10:30 ` Carlos Anisio Monteiro
2003-11-10 14:05 ` Stephen Smalley
0 siblings, 2 replies; 3+ messages in thread
From: Dhruv Gami @ 2003-11-09 5:45 UTC (permalink / raw)
To: selinux
Hello Everyone,
finally i managed to compile everything, though some of the patches
needed manual changes (will post a list of patches that didnt work
properly).
Now, when i rebooted the machine for the first time after compiling
everything, and following the README doc step by step, i was asked
-------------
login: root
password: *****
would you like to enter a security context? [y]
Enter role sysadm_r
Enter type sysadm_t
Not a valid security context
-------------
have i missed some context setting somewhere ?
regards,
Gami
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Invalid Security Context error
2003-11-09 5:45 Invalid Security Context error Dhruv Gami
@ 2003-11-10 10:30 ` Carlos Anisio Monteiro
2003-11-10 14:05 ` Stephen Smalley
1 sibling, 0 replies; 3+ messages in thread
From: Carlos Anisio Monteiro @ 2003-11-10 10:30 UTC (permalink / raw)
To: Dhruv Gami, selinux
Dhruv Gami wrote:
>Hello Everyone,
>
>finally i managed to compile everything, though some of the patches
>needed manual changes (will post a list of patches that didnt work
>properly).
>
>Now, when i rebooted the machine for the first time after compiling
>everything, and following the README doc step by step, i was asked
>
>-------------
>login: root
>password: *****
>
>would you like to enter a security context? [y]
> Enter role sysadm_r
> Enter type sysadm_t
>Not a valid security context
>-------------
>
>have i missed some context setting somewhere ?
>
>regards,
>Gami
>
>
>--
>This message was distributed to subscribers of the selinux mailing list.
>If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
>the words "unsubscribe selinux" without quotes as the message.
>
>
>
You need load the policies in the initrd. The initrd is executed before
the init process.
Otherwise, the SElinux not load the context correctly.
--
Carlos Anisio Monteiro <monteiro@ipen.br>
IPEN/CNEN-SP
Sao Paulo - Brasil
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Invalid Security Context error
2003-11-09 5:45 Invalid Security Context error Dhruv Gami
2003-11-10 10:30 ` Carlos Anisio Monteiro
@ 2003-11-10 14:05 ` Stephen Smalley
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Smalley @ 2003-11-10 14:05 UTC (permalink / raw)
To: Dhruv Gami; +Cc: selinux
On Sun, 2003-11-09 at 00:45, Dhruv Gami wrote:
> Hello Everyone,
>
> finally i managed to compile everything, though some of the patches
> needed manual changes (will post a list of patches that didnt work
> properly).
>
> Now, when i rebooted the machine for the first time after compiling
> everything, and following the README doc step by step, i was asked
>
> -------------
> login: root
> password: *****
>
> would you like to enter a security context? [y]
> Enter role sysadm_r
> Enter type sysadm_t
> Not a valid security context
> -------------
>
> have i missed some context setting somewhere ?
>
> regards,
> Gami
This implies that you never loaded a policy during initialization.
You can either perform the load via an initrd as described in
the README, or you can use Dan's patched init program.
--
Stephen Smalley <sds@epoch.ncsc.mil>
National Security Agency
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-11-10 14:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-09 5:45 Invalid Security Context error Dhruv Gami
2003-11-10 10:30 ` Carlos Anisio Monteiro
2003-11-10 14:05 ` Stephen Smalley
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.