All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miroslav Grepl <mgrepl@redhat.com>
To: Stephen Smalley <sds@tycho.nsa.gov>,
	Naina Emmanuel <nemmanuel1992@gmail.com>,
	selinux@tycho.nsa.gov
Subject: Re: selinux-query
Date: Wed, 23 Mar 2016 08:48:04 +0100	[thread overview]
Message-ID: <56F24A34.6060404@redhat.com> (raw)
In-Reply-To: <56F1A180.8080104@tycho.nsa.gov>

On 03/22/2016 08:48 PM, Stephen Smalley wrote:
> On 03/22/2016 01:51 PM, Naina Emmanuel wrote:
>> Good evening!
>> i am working on selinux, centos 7... i have downloaded some .te files
>> from the internet (squid.te, ftp.te, rpc.te, samba.te .. etc)
>> but when i compile these .te file through #make -f
>> /usr/share/selinux/devel/include/MakeFile but shows error in all
>> mentioned .te files
>> not even getting installed through #semodule -i ftp.pp   (for all
>> mentioned .te files) plz help me regarding this..
>> thanks in advanced
> 
> Please show the actual commands that you ran, and the actual error
> output from those commands.
> 
> However, downloading random .te files from the Internet and expecting
> them to build or install on your system is probably not a good strategy.
>  On CentOS, you should be able to download the .src.rpm file for
> selinux-policy-targeted and work with the files it contains in order to
> ensure that they match your base policy.

Even more if you want to replace a module shipped by a distribution
policy and you will miss some definitions which are used in other
modules, you will also fail.

So I would go with .src.rpm how Stephen wrote above. You can ask on
selinux@lists.fedoraproject.org for more details.

Thanks.

> 
> 
> _______________________________________________
> Selinux mailing list
> Selinux@tycho.nsa.gov
> To unsubscribe, send email to Selinux-leave@tycho.nsa.gov.
> To get help, send an email containing "help" to Selinux-request@tycho.nsa.gov.
> 


-- 
Miroslav Grepl
Senior Software Engineer, SELinux Solutions
Red Hat, Inc.

  reply	other threads:[~2016-03-23  7:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-22 17:35 selinux-query Naina Emmanuel
2016-03-22 17:51 ` selinux-query Naina Emmanuel
2016-03-22 19:48   ` selinux-query Stephen Smalley
2016-03-23  7:48     ` Miroslav Grepl [this message]
2016-03-23  9:29       ` selinux-query Dennis Sherrell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56F24A34.6060404@redhat.com \
    --to=mgrepl@redhat.com \
    --cc=nemmanuel1992@gmail.com \
    --cc=sds@tycho.nsa.gov \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.