* Gentoo SELinux problem in enforcing mode
@ 2006-05-24 18:04 Tetsuji Maverick Rai
2006-05-24 18:33 ` Stephen Smalley
0 siblings, 1 reply; 3+ messages in thread
From: Tetsuji Maverick Rai @ 2006-05-24 18:04 UTC (permalink / raw)
To: selinux
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I installed SELinux on one of my Gentoo box but it doesn't work in
enforcing mode at all. It looks like almost anything is denied even
with the base policy as provided in Gentoo's package. For example, if
enforcing mode is enabled during an X Window session, all inputs from
the mouse or keyboard is denied. On commandline console,
"ctrl+alt+del" gives "reboot not permitted"-like error...
I have tried SELinux with old Redhat some years ago, and didn't find
such a problem and now I feel this is very unusual. What wrong do you
think I am doing? I have tried with generic 2.6.16.16, but now I'm
installing 2.6.16-rc6 plus nsa's patch at
http://www.nsa.gov/selinux/code/download5.cfm (but other file, policy,
libselinux etc are from Gentoo's package). What's the difference in
this patch from the generic kernel?
Any hint/suggestion is appreciated!
regards,
- -Tetsuji
- --
Tetsuji 'Maverick' Rai
Main http://maverick6664.bravehost.com/
Profile:
http://setiweb.ssl.berkeley.edu/beta/view_profile.php?userid=123
pubkey http://mav.atspace.com/tmr_at_gmail.txt
PGP Key ID: 82335CD9
Key fingerprint = 41CA 94B4 2A89 3FF1 5B11 BC37 D597 E667 8233 5CD9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEdKAj1ZfmZ4IzXNkRAnz6AJ9XlBTLXMqr1gU+s8gjjYGWeMNN/gCfYhSy
UqCzqeRnwMccMwVrxmbPZeg=
=GAHq
-----END PGP SIGNATURE-----
--
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: Gentoo SELinux problem in enforcing mode
2006-05-24 18:04 Gentoo SELinux problem in enforcing mode Tetsuji Maverick Rai
@ 2006-05-24 18:33 ` Stephen Smalley
2006-05-24 18:35 ` Tetsuji Maverick Rai
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Smalley @ 2006-05-24 18:33 UTC (permalink / raw)
To: Tetsuji Maverick Rai; +Cc: method, selinux
On Thu, 2006-05-25 at 03:04 +0900, Tetsuji Maverick Rai wrote:
> I installed SELinux on one of my Gentoo box but it doesn't work in
> enforcing mode at all. It looks like almost anything is denied even
> with the base policy as provided in Gentoo's package. For example, if
> enforcing mode is enabled during an X Window session, all inputs from
> the mouse or keyboard is denied. On commandline console,
> "ctrl+alt+del" gives "reboot not permitted"-like error...
That's a question for the Hardened Gentoo folks, assuming you are just
using their packages for SELinux and not trying to mix them with
upstream ones. But last I looked, Hardened Gentoo was limited to server
systems, not desktops, so they omit the X-related policy and are also
strict policy-based rather than targeted policy-based.
> I have tried SELinux with old Redhat some years ago, and didn't find
> such a problem and now I feel this is very unusual. What wrong do you
> think I am doing? I have tried with generic 2.6.16.16, but now I'm
> installing 2.6.16-rc6 plus nsa's patch at
> http://www.nsa.gov/selinux/code/download5.cfm (but other file, policy,
> libselinux etc are from Gentoo's package). What's the difference in
> this patch from the generic kernel?
I don't think that will help, and it isn't a good idea to mix and match.
We only periodically make updated releases on nsa.gov, and they are
primarily targeted at the distro package maintainers, not at end users
(and in the case of Fedora, they actually track our bleeding edge from
the selinux sourceforge CVS/subversion tree for the SELinux userland and
the upstream kernel for the kernel code). Most end users are using the
distro packages these days.
--
Stephen Smalley
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
* Re: Gentoo SELinux problem in enforcing mode
2006-05-24 18:33 ` Stephen Smalley
@ 2006-05-24 18:35 ` Tetsuji Maverick Rai
0 siblings, 0 replies; 3+ messages in thread
From: Tetsuji Maverick Rai @ 2006-05-24 18:35 UTC (permalink / raw)
To: Stephen Smalley; +Cc: method, selinux
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stephen Smalley wrote:
> On Thu, 2006-05-25 at 03:04 +0900, Tetsuji Maverick Rai wrote:
>> I installed SELinux on one of my Gentoo box but it doesn't work in
>> enforcing mode at all. It looks like almost anything is denied even
>> with the base policy as provided in Gentoo's package. For example, if
>> enforcing mode is enabled during an X Window session, all inputs from
>> the mouse or keyboard is denied. On commandline console,
>> "ctrl+alt+del" gives "reboot not permitted"-like error...
>
> That's a question for the Hardened Gentoo folks, assuming you are just
> using their packages for SELinux and not trying to mix them with
> upstream ones. But last I looked, Hardened Gentoo was limited to server
> systems, not desktops, so they omit the X-related policy and are also
> strict policy-based rather than targeted policy-based.
>
>> I have tried SELinux with old Redhat some years ago, and didn't find
>> such a problem and now I feel this is very unusual. What wrong do you
>> think I am doing? I have tried with generic 2.6.16.16, but now I'm
>> installing 2.6.16-rc6 plus nsa's patch at
>> http://www.nsa.gov/selinux/code/download5.cfm (but other file, policy,
>> libselinux etc are from Gentoo's package). What's the difference in
>> this patch from the generic kernel?
>
> I don't think that will help, and it isn't a good idea to mix and match.
> We only periodically make updated releases on nsa.gov, and they are
> primarily targeted at the distro package maintainers, not at end users
> (and in the case of Fedora, they actually track our bleeding edge from
> the selinux sourceforge CVS/subversion tree for the SELinux userland and
> the upstream kernel for the kernel code). Most end users are using the
> distro packages these days.
>
okay,
Thank you for your advice.
- -Tetsuji
- --
Tetsuji 'Maverick' Rai
Main http://maverick6664.bravehost.com/
Profile:
http://setiweb.ssl.berkeley.edu/beta/view_profile.php?userid=123
pubkey http://mav.atspace.com/tmr_at_gmail.txt
PGP Key ID: 82335CD9
Key fingerprint = 41CA 94B4 2A89 3FF1 5B11 BC37 D597 E667 8233 5CD9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEdKd31ZfmZ4IzXNkRAiOiAKDwx9WI4QYRKyhXgCuG4erem1n4qgCfe82e
hHKpn+IGNU8RdBPY0nE97PA=
=wu+g
-----END PGP SIGNATURE-----
--
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:[~2006-05-24 18:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-24 18:04 Gentoo SELinux problem in enforcing mode Tetsuji Maverick Rai
2006-05-24 18:33 ` Stephen Smalley
2006-05-24 18:35 ` Tetsuji Maverick Rai
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.