Re: compiling errors!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



well, i have to say that i went through the steps in:

http://danwalsh.livejournal.com/26428.html

and at last i realized that this page is for the ones who want to make policies from the source. now i have packages:

$ ls ~/rpmbuild/RPMS/noarch/
selinux-policy-3.6.12-62.fc11.noarch.rpm
selinux-policy-doc-3.6.12-62.fc11.noarch.rpm
selinux-policy-minimum-3.6.12-62.fc11.noarch.rpm
selinux-policy-mls-3.6.12-62.fc11.noarch.rpm
selinux-policy-targeted-3.6.12-62.fc11.noarch.rpm

none of them is the source policy package. i mean i need that old m4 macros, "*.te" files and "policy.conf" which could be installed by "selinux-policy-targeted-source" or "selinux-policy-strict-source" in fc4.

best regards.

On Wed, Jul 29, 2009 at 8:24 PM, Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
On Wed, 2009-07-29 at 18:34 +0430, mina elnino wrote:
> thank you. it got solved by installing "ustr-devel".
> now i should have my source policy files. so according to what you
> said, i used:
>
> $ yumdownloader --source selinux-policy
>
> then i had my "src.rpm" package. but i dont know how to install it.
> the reason is that i am not so familiar with fedora. i have used
> ubuntu and never worked with rpm packages.
>
> i used "Package Installer" but it didn't work! "Backend will not
> install a src rpm file" was the message. i am not sure if i should
> have my "policy.conf" file in /etc/selinux/targeted/src/. and what's
> more, where is the strict type of selinux??

Stay on list, please.

You can just rpm -i the .src.rpm file, and that will expand it under
~/rpmbuild, where you can follow the instructions in Dan Walsh's blog
that I pointed you to earlier.

targeted and strict policies have been merged together; you can map
users to confined roles via semanage login or system-config-selinux.

--
Stephen Smalley
National Security Agency



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux