All of lore.kernel.org
 help / color / mirror / Atom feed
* Cannot run ldconfig in a home directory
@ 2007-07-17 11:39 John D. Ramsdell
  2007-07-17 12:03 ` Michal Piotrowski
  0 siblings, 1 reply; 3+ messages in thread
From: John D. Ramsdell @ 2007-07-17 11:39 UTC (permalink / raw)
  To: selinux

I am playing around with the source distribution of the audit package.
I modified some code, but I don't want to install the modified version
in the usual locations, just in case I break something.  So I
configured the source distribution using:

   $ ./configure --prefix=$HOME/opt/audit

and then did the usual "make; make install".  

The audit package contains shared libraries, and the installation
scripts run ldconfig using the -n option.  This option ensures
ldconfig will not process the trusted directories (/usr/lib and /lib)
or those specified in /etc/ld.so.conf, thus allowing it to be run
by an unprivileged user; however, the current SELinux for Fedora 7
prevents this usage of ldconfig.  Setroubleshoot reports:

Summary:
SELinux is preventing /sbin/ldconfig (ldconfig_t) "search" to home
(home_root_t).

Detailed Description:
SELinux denied access requested by /sbin/ldconfig. It is not expected
that this access is required by /sbin/ldconfig and this access may
signal an intrusion attempt. It is also possible that the specific
version or configuration of the application is causing it to require
additional access.

Obviously, it is easy enough for me to disable SELinux while playing
with the audit sources, but it seems to that with this policy, if I
were working on a machine I did not control, I wouldn't be able
properly test an installation.

John

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-17 12:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-17 11:39 Cannot run ldconfig in a home directory John D. Ramsdell
2007-07-17 12:03 ` Michal Piotrowski
2007-07-17 12:14   ` John D. Ramsdell

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.