All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christopher J. PeBenito" <cpebenito@tresys.com>
To: Shintaro Fujiwara <shintaro.fujiwara@gmail.com>
Cc: Chris PeBenito <pebenito@gentoo.org>, selinux <selinux@tycho.nsa.gov>
Subject: Re: libsepol.expand_terule_helper: duplicate TE rule
Date: Mon, 03 Dec 2007 09:17:24 -0500	[thread overview]
Message-ID: <1196691444.25613.0.camel@gorn> (raw)
In-Reply-To: <f71a82820712011518u409799c9wa48902f7062f6c02@mail.gmail.com>

On Sun, 2007-12-02 at 08:18 +0900, Shintaro Fujiwara wrote:
> Well, as a matter of fact, I installed apache from source.
> So, I installed apche into /usr/local/apache2.
> 
> I set /etc/selinux/config permissive and found that apache
> runs in initrc_t.
> But, of course I want to make it run httpd_t.
> 
> So, I tried to edit your refpolicy downloading from repository,
> newest version.

And the remainder of the policy is which fedora policy version?

> I commented every
> 
> type ...
> bool ...
> atribute...
> 
> including .if of templates.
> 
> and set them require {}.
> 
> I succeeded make apache.pp all-right, but when I tried to install by
> semodule -i apache.pp,
> expand_terule_helper says it has an error.
> 
> I found exim module in services directory but could not found
> anything like process system_mail_t
> I could not found those in tmp/apache.mod either.
> 
> It's first time I see this error and don't know what it is.
> 
> I messed up policy apache or some kind of bug ?
> 
> I succeeded install postgresql and mysql by this method all-right.
> 
> Thanks for your quick response.
> 
> 
> 2007/12/2, Chris PeBenito <pebenito@gentoo.org>:
> > On Sat, 2007-12-01 at 17:15 +0900, Shintaro Fujiwara wrote:
> > > When I try to install apache.pp,
> > >
> > > libsepol.expand_terule_helper: duplicate TE rule for httpd_t
> > > exim_exec_t:process system_mail_t
> > > libsepol.expand_module: Error during expand
> > > libsemanage.semanage_expand_sandbox: Expand module failed
> > > semodule:  Failed!
> > >
> > > I can't find any lines concerning exim_exec_t anywhere...
> > > Please help.
> >
> > Which distro policy are you using?

-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
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.

  reply	other threads:[~2007-12-03 14:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-01  8:15 libsepol.expand_terule_helper: duplicate TE rule Shintaro Fujiwara
2007-12-01 21:57 ` Chris PeBenito
2007-12-01 23:18   ` Shintaro Fujiwara
2007-12-03 14:17     ` Christopher J. PeBenito [this message]
2007-12-03 21:53       ` Shintaro Fujiwara
2007-12-04 14:11 ` Daniel J Walsh
2007-12-04 21:45   ` Shintaro Fujiwara
2007-12-05  3:37     ` Daniel J Walsh
2007-12-05  9:20       ` Shintaro Fujiwara

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=1196691444.25613.0.camel@gorn \
    --to=cpebenito@tresys.com \
    --cc=pebenito@gentoo.org \
    --cc=selinux@tycho.nsa.gov \
    --cc=shintaro.fujiwara@gmail.com \
    /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.