All of lore.kernel.org
 help / color / mirror / Atom feed
From: KaiGai Kohei <kaigai@kaigai.gr.jp>
To: Daniel J Walsh <dwalsh@redhat.com>
Cc: Dominick Grift <domg472@gmail.com>,
	KaiGai Kohei <kaigai@ak.jp.nec.com>,
	selinux@tycho.nsa.gov
Subject: Re: How to find SELinux policy type?
Date: Fri, 26 Sep 2008 22:32:11 +0900	[thread overview]
Message-ID: <48DCE45B.3040900@kaigai.gr.jp> (raw)
In-Reply-To: <1222425714.24783.13.camel@sulphur.notebook.internal>

Dominick Grift wrote:
> On Fri, 2008-09-26 at 19:25 +0900, KaiGai Kohei wrote:
> 
>> Was the sepostgresql related policy backported to F9 selinux-policy?
> 
> Not sure about that. I know that i have selinux-policy installed plus
> sepostgresql for f9.
> 
> sepostgresql-8.3.3-2.869.fc9.x86_64
> sepostgresql 2.869
> selinux-policy-3.3.1-94.fc9.noarch.rpm
> 
> Thanks

Dan,

Could you add the following policy into F9 updates?
It is already merged into upstream policy, but I cannot find it
at selinux-policy-3.3.1-91.

--- at modules/system/libraries.te ---
optional_policy(`
        postgresql_loadable_module(lib_t)
        postgresql_loadable_module(textrel_shlib_t)
')
--------------------------------------

Lack of this policy prevents database initialization.

$ cat /var/lib/sepgsql/pgstartup.log
              :
creating template1 database in /var/lib/sepgsql/data/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... FATAL:  SELinux: denied { install_module } scontext=unconfined_u:system_r:postgresql_t:s0 tcontext=system_u:object_r:lib_t:s0 tclass=db_database name=/usr/lib/pgsql/ascii_and_mic.so
STATEMENT:  CREATE OR REPLACE FUNCTION ascii_to_mic (INTEGER, INTEGER, CSTRING, INTERNAL, INTEGER) RETURNS VOID AS '$libdir/ascii_and_mic', 'ascii_to_mic' LANGUAGE C STRICT;

Thanks,
-- 
KaiGai Kohei <kaigai@kaigai.gr.jp>

--
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:[~2008-09-26 13:34 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-23 23:12 How to find SELinux policy type? James Morris
2008-09-23 23:32 ` Mike Sweetser - Adhost
2008-09-24  0:21   ` Paul Howarth
2008-09-24  0:41     ` KaiGai Kohei
2008-09-24  1:01       ` James Morris
2008-09-24 11:27   ` Daniel J Walsh
2008-09-24  0:18 ` KaiGai Kohei
2008-09-24 13:01   ` Daniel J Walsh
2008-09-24 13:30     ` Justin P. Mattock
2008-09-26  3:34   ` Valdis.Kletnieks
2008-09-26  3:50     ` KaiGai Kohei
2008-09-26  9:38       ` Dominick Grift
2008-09-26 10:25         ` KaiGai Kohei
2008-09-26 10:41           ` Dominick Grift
2008-09-26 13:32             ` KaiGai Kohei [this message]
2008-09-27 15:54               ` KaiGai Kohei
2008-09-30  4:19                 ` sepostgresql.pp conflicts on F9 (Re: How to find SELinux policy type?) KaiGai Kohei
2008-09-30  7:24                   ` Dominick Grift
2008-09-30  7:52                     ` KaiGai Kohei
2008-09-30  8:06                       ` Paul Howarth

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=48DCE45B.3040900@kaigai.gr.jp \
    --to=kaigai@kaigai.gr.jp \
    --cc=domg472@gmail.com \
    --cc=dwalsh@redhat.com \
    --cc=kaigai@ak.jp.nec.com \
    --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.