All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: "Dinardo, Michael \(Xetron\)" <Michael.Dinardo@ngc.com>
Cc: Valdis.Kletnieks@vt.edu, selinux@tycho.nsa.gov
Subject: Re: login error with strict modular ref pol in RHEL4
Date: Thu, 27 Apr 2006 10:52:27 -0400	[thread overview]
Message-ID: <4450DAAB.3030507@redhat.com> (raw)
In-Reply-To: <85A664F2F3F2D1409EE003C7D3D52EE4038A0201@xcgoh901.northgrum.com>

Dinardo, Michael (Xetron) wrote:
>   
>> -----Original Message-----
>> From: Valdis.Kletnieks@vt.edu [mailto:Valdis.Kletnieks@vt.edu] 
>> Sent: Wednesday, April 26, 2006 4:19 PM
>> To: Dinardo, Michael (Xetron)
>> Cc: Daniel J Walsh; selinux@tycho.nsa.gov
>> Subject: Re: login error with strict modular ref pol in RHEL4 
>>
>> On Wed, 26 Apr 2006 15:58:55 EDT, "Dinardo, Michael (Xetron)" said:
>>
>>     
>>> 1. Installed the following (along with all other tools at
>>> ftp://people.redhat.com/dwalsh/SELinux/RHEL4_MODULAR/i386/):
>>> 	selinux-policy-2.2.28-1.rhel4.src.rpm
>>> 	selinux-policy-2.2.28-1.rhel4.noarch.rpm
>>> 	selinux-policy-targeted-2.2.28-1.rhel4.noarch.rpm
>>> 2. Installed the source from /usr/src/redhat:
>>> 	rpmbuild -bp /usr/src/redhat/SPECS/selinux-policy.spec
>>> 	cd /usr/src/redhat/BUILD/serefpolicy-2.2.23
>>> 	make install-src
>>>       
>> Umm.. why are you installing a 2.2.23 policy like this, when 
>> you just downloaded 2.2.28?  Why isn't the 2.2.28-1 RPM 
>> installable as is, and what problems are you setting yourself 
>> up for by doing this behind RPM's back?
>>     
>
> Nice catch.  My mistake.  I reinstalled using 2.2.28.  However, I can no
> longer log in at all again. 
>
>   
>>> 4. Renamed /etc/selinux/targeted to /etc/selinux/strict
>>>       
>> No good can come from this.  Especially since rpm thinks the 
>> 2.2.28.1 strict policy is installed....
>>     
>
> I have to agree.  However, when I install 2.2.28-1 source it gets
> installed in /etc/selinux/refpolicy/src.  Nothing else is installed in
> this directory.  In /etc/selinux/targeted there are subdirectories for
> contexts, modules, policy, etc.  Since I don't have a strict policy I am
> using targeted directory to get these other components.  I would
> definitely prefer to have a strict policy directory to put the source
> into as I believe this may be related to my current trouble.  Is there
> an appropriate strict reference policy that I could install first?
>
>    
>
>   
I am confused.  What are you trying to do?  Please join me on the 
#selinux chat room and maybe we can work through this.

Dan

--
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:[~2006-04-27 14:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-26 21:15 login error with strict modular ref pol in RHEL4 Dinardo, Michael (Xetron)
2006-04-27 14:52 ` Daniel J Walsh [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-04-26 19:58 Dinardo, Michael (Xetron)
2006-04-26 20:19 ` Valdis.Kletnieks
2006-04-26 15:19 Dinardo, Michael (Xetron)
2006-04-21 19:49 Dinardo, Michael (Xetron)
2006-04-26 12:00 ` Daniel J Walsh

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=4450DAAB.3030507@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=Michael.Dinardo@ngc.com \
    --cc=Valdis.Kletnieks@vt.edu \
    --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.