All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Hally <rhally@mindspring.com>
To: "Fedora SELinux support list for users & developers."
	<fedora-selinux-list@redhat.com>,
	selinux@tycho.nsa.gov
Subject: Re: avc denied from postgresql
Date: Thu, 01 Jul 2004 02:00:21 -0400	[thread overview]
Message-ID: <40E3A875.6010403@mindspring.com> (raw)
In-Reply-To: <20040630114334.4ca86d5e.ynakam@hitachisoft.jp>

Yuichi Nakamura wrote:

> On Wed, 16 Jun 2004 00:31:58 -0400
> Richard Hally <rhallyx@mindspring.com> wrote:
> 
>>With the above change to the postgresql.fc I get the following avc 
>>denied messages when booting:
> 
> You must add 
> /usr/bin/postgres --    system_u:object_r:postgresql_exec_t
> to postgresql.fc
> and , comment out 
> session           optional     /lib/security/$ISA/pam_selinux.so multiple
> from /etc/pam.d/su. 
> 
Thanks for the reply, it looks to me that the problem is more like the 
policy and file_contexts were written for the way Debian(or some other 
distro) installs PostgresSQL and Fedora installs things differently. The 
most notable is that in the .fc it has the only postgresql_exec_t with a 
regex for /usr/lib(64)?/postgresql/bin/.* and on Fedora the executables 
are in /usr/bin.
The question I have is: how do we handle these case where different 
distros put the same files in different places? Do we continue to add to 
the policy for each different distro?

Richard Hally



--
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:[~2004-07-01  6:00 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20040630114334.4ca86d5e.ynakam@hitachisoft.jp>]

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=40E3A875.6010403@mindspring.com \
    --to=rhally@mindspring.com \
    --cc=fedora-selinux-list@redhat.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.