All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linda Knippers <linda.knippers@hp.com>
To: "Clarkson, Mike R (US SSA)" <mike.clarkson@baesystems.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: error with polyinstantiation and mcstransd
Date: Mon, 10 Sep 2007 14:33:41 -0400	[thread overview]
Message-ID: <46E58E05.9060000@hp.com> (raw)
In-Reply-To: <FB39F4E77226B448BC1388D3BE4E00CD0219E947@blums0008.bluelnk.net>

Clarkson, Mike R (US SSA) wrote:
> When I try to set my level to multiple compartments using newrole, it
> fails because of an error with the polyinstantiation of the /tmp
> directory. This only happens when I am running the mcstransd daemon. I'm
> using RHEL5.

You might try updating your mcstransd package.  Both HP and IBM
certified with a package newer than what's in RHEL5.  Look here:
ftp://ftp.redhat.com/pub/redhat/linux/eal/EAL4_RHEL5/HP/RPMS/
or here:
ftp://ftp.redhat.com/pub/redhat/linux/eal/EAL4_RHEL5/IBM/RPMS/

I suggest updating all the packages contained there if you
haven't already.

-- ljk

> 
> Here is what I'm trying to do: "newrole -l Z10,Z30"
> 
> Here is the error that I get:
> Warning!  Could not set new context for /dev/pts/2
> pam_open_session failed with Cannot make/remove an entry for the
> specified session
> 
> Z10 and Z30 are translated to s4:c10 and s4:c30 by mcstransd
> 
> I have debugging turned on. Here is the error messages that I get in the
> /var/log/secure file:
> Sep 10 14:41:37 m2blade5 newrole: pam_namespace(newrole:session): Error
> setting context of
> /tmp-inst/system_u:object_r:tmp_t:TS:Z10,Z30-SystemHigh_clarkson to
> system_u:object_r:tmp_t:TS:Z10,Z30-SystemHigh
> Sep 10 14:41:37 m2blade5 newrole: pam_namespace(newrole:session): Error
> mounting
> /tmp-inst/system_u:object_r:tmp_t:TS:Z10,Z30-SystemHigh_clarkson on
> /tmp, No such file or directory
> 
> It has a problem with the level of TS:Z10,Z30-SystemHigh in the security
> context.
> 
> I works fine if I use a single compartment like "newrole -l Z10". It
> also works fine if I stop the mcstransd daemon and use the actual
> sensitivity/category: "newrole -l s4:c10,c30"
> 
> Here are the applicable entries from my setrans.conf file:
> s0=SystemLow
> s1=U
> s2=C
> s3=S
> s4=TS
> s4:c10=Z10
> s4:c20=Z20
> s4:c30=Z30
> s4:c40=Z40
> s4:c0.c255=SystemHigh
> s0-s4:c0.c255=SystemLow-SystemHigh
> 
> Any ideas on how to fix this?
> 
> Thanks
> 
> 
> 
> --
> 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.


--
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-09-10 18:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-10 15:11 error with polyinstantiation and mcstransd Clarkson, Mike R (US SSA)
2007-09-10 18:33 ` Linda Knippers [this message]

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=46E58E05.9060000@hp.com \
    --to=linda.knippers@hp.com \
    --cc=mike.clarkson@baesystems.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.