All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Joshua Brindle <jbrindle@tresys.com>,
	Karl MacMillan <kmacmill@redhat.com>,
	SE Linux <selinux@tycho.nsa.gov>
Subject: libsemanage patch to handle installation problem
Date: Fri, 29 Sep 2006 10:43:34 -0400	[thread overview]
Message-ID: <451D3116.7030109@redhat.com> (raw)
In-Reply-To: <1159538012.8496.35.camel@moss-spartans.epoch.ncsc.mil>

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

During install if selinux-policy-mls or selinux-policy-strict get 
installed before targeted, libsemanage will
try to load those policies when it should not.

Dan


[-- Attachment #2: libsemanage-rhat.patch --]
[-- Type: text/x-patch, Size: 379 bytes --]

--- libsemanage-1.6.16/src/semanage_store.c~	2006-08-23 13:57:48.000000000 -0400
+++ libsemanage-1.6.16/src/semanage_store.c	2006-09-29 10:41:08.000000000 -0400
@@ -1106,6 +1106,10 @@
 			goto skip_reload;
 		}
 	}
+	else 
+		if (errno == ENOENT && 
+		    strcmp(really_active_store, storepath) != 0)
+			goto skip_reload;
 
 	if (semanage_reload_policy(sh)) {
 		goto cleanup;

       reply	other threads:[~2006-09-29 14:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <451BEFA4.60507@redhat.com>
     [not found] ` <1159463932.11489.44.camel@moss-spartans.epoch.ncsc.mil>
     [not found]   ` <1159464256.11489.48.camel@moss-spartans.epoch.ncsc.mil>
     [not found]     ` <451C0C79.4000105@redhat.com>
     [not found]       ` <1159537518.29474.6.camel@twoface.columbia.tresys.com>
     [not found]         ` <1159538012.8496.35.camel@moss-spartans.epoch.ncsc.mil>
2006-09-29 14:43           ` Daniel J Walsh [this message]
2006-09-29 15:01             ` libsemanage patch to handle installation problem Joshua Brindle
2006-09-29 15:48               ` Stephen Smalley

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=451D3116.7030109@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=jbrindle@tresys.com \
    --cc=kmacmill@redhat.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.