* Fedora policies on Gentoo?
@ 2005-02-25 18:32 bjorn.padding
2005-02-25 17:29 ` petre rodan
0 siblings, 1 reply; 4+ messages in thread
From: bjorn.padding @ 2005-02-25 18:32 UTC (permalink / raw)
To: SELinux
[-- Attachment #1: BDY.RTF --]
[-- Type: text/plain, Size: 443 bytes --]
Hi,
I was wondering... I am currently running on Gentoo.
I see that there are way less existing policies on Gentoo than
there are on Fedora. Can I unpunished cp these policies to my
/etc/security/selinux/src/policy dir? The only consequence
That I can think of is that I might have to change some
./file_contexts/program/*.fc according to my Gentoo sys.
But other than that it wouldn't create any problem, right?
Somebody with some advice?
[-- Attachment #2: BDY.RTF --]
[-- Type: application/rtf, Size: 617 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <H0000076000234b2.1109864137.server.intranet.ifsaudiovisueel.nl@MHS>]
* Re: Fedora policies on Gentoo?
[not found] <H0000076000234b2.1109864137.server.intranet.ifsaudiovisueel.nl@MHS>
@ 2005-03-04 0:58 ` petre rodan
0 siblings, 0 replies; 4+ messages in thread
From: petre rodan @ 2005-03-04 0:58 UTC (permalink / raw)
To: bjorn.padding; +Cc: SELinux
[-- Attachment #1: Type: text/plain, Size: 2159 bytes --]
Hi Bjorn,
bjorn.padding@ifsav.nl wrote:
> Thanks for the tip Peter.
>
> My only question left is;
> Which policycoreutils && libselinux version are you running?
> I run 1.16 here and the Makefile from cvs is for 1.20
> If I try to emerge the 1.20 version of policycoreutils && libselinux, I
> get a mask
> error. Can I safely KEYWORDS='~x86' emerge them anyway?
sure. this is exactly what I do on all my (otherwise non-~x86) machines.
you can simply define
sys-apps/checkpolicy ~x86
sys-apps/policycoreutils ~x86
sys-libs/libsepol ~x86
sys-libs/libselinux ~x86
in /etc/portage/package.keywords
> Or do I modify the Makefile for 1.16?
>
> Thanks in advance...
>
> Bjorn
bye,
peter
>
> Peter wrote:
> -----------
> Hi
>
> bjorn.padding@ifsav.nl wrote:
>
>>Hi,
>>
>>I was wondering... I am currently running on Gentoo.
>>I see that there are way less existing policies on Gentoo than
>>there are on Fedora. Can I unpunished cp these policies to my
>>/etc/security/selinux/src/policy dir? The only consequence
>>That I can think of is that I might have to change some
>>./file_contexts/program/*.fc according to my Gentoo sys.
>>But other than that it wouldn't create any problem, right?
>
>
> since gentoo is all about choice, depending on your USE flags you will
> end up having programs with a different behavior than what is present in
> fedora/debian.
>
> this means that sometimes you will also have to tweak the type
> enforcement files by adding capabilities or rules that permit
> interactions between domains.
>
>
>>Somebody with some advice?
>
>
> you can use the nsa policies as a starting point. they are available
> over annon cvs. see http://selinux.sourceforge.net/devel/cvs.php3
>
> bye,
> peter
>
> --
> petre rodan
> <kaiowas@gentoo.org>
> Developer,
> Hardened Gentoo Linux
>
>
>> -----Original Message-----
>>From: kaiowas [mailto:kaiowas@gentoo.org]
>>Sent: vrijdag 25 februari 2005 18:30
>>To: BjornPadding
>>Cc: SELinux
>>Subject: Re: Fedora policies on Gentoo?
>>
>> << File: Re_ Fedora policies on Gentoo_.TXT >> << File:
>
> smime_clearsigned.txt >>
>
>
--
petre rodan
<kaiowas@gentoo.org>
Developer,
Hardened Gentoo Linux
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 265 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Fedora policies on Gentoo?
@ 2005-02-25 17:00 Simpson, Richard
0 siblings, 0 replies; 4+ messages in thread
From: Simpson, Richard @ 2005-02-25 17:00 UTC (permalink / raw)
To: bjorn.padding, SELinux
>Hi,
>
>I was wondering... I am currently running on Gentoo.
>I see that there are way less existing policies on Gentoo than
>there are on Fedora. Can I unpunished cp these policies to my
>/etc/security/selinux/src/policy dir? The only consequence
>That I can think of is that I might have to change some
>./file_contexts/program/*.fc according to my Gentoo sys.
>But other than that it wouldn't create any problem, right?
>Somebody with some advice?
I have done that, but there are some caveats. The Gentoo policy tends to lag behind the Fedora implementation, and there are distro customizations. Best bet is to download the FC3 policy source rpm (strict, not targeted) so that you have a complete policy source to use for troubleshooting. I actually use a working installation of FC3 to compare against.
Richard.
--
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] 4+ messages in thread
end of thread, other threads:[~2005-03-04 0:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-25 18:32 Fedora policies on Gentoo? bjorn.padding
2005-02-25 17:29 ` petre rodan
[not found] <H0000076000234b2.1109864137.server.intranet.ifsaudiovisueel.nl@MHS>
2005-03-04 0:58 ` petre rodan
-- strict thread matches above, loose matches on Subject: below --
2005-02-25 17:00 Simpson, Richard
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.