All of lore.kernel.org
 help / color / mirror / Atom feed
* More mkinitrd setup script problems
@ 2003-11-28 11:05 Dale Amon
  2003-11-28 11:10 ` Russell Coker
  0 siblings, 1 reply; 5+ messages in thread
From: Dale Amon @ 2003-11-28 11:05 UTC (permalink / raw)
  To: Russell Coker; +Cc: Dale Amon, SE Linux

You'll need to add these two lines, or something like them,
to /etc/mkinitrd/scripts/selinux

	cp -aL /lib/libselinux.so.1 "$INITRDDIR/lib/"
	cp -aL /lib/libattr.so.1 "$INITRDDIR/lib/"

to allow load_policy to run. I'm wondering if something
major happened to load_policy recently. It worked without
this until a few days ago.

-- 
------------------------------------------------------
   Dale Amon     amon@islandone.org    +44-7802-188325
       International linux systems consultancy
     Hardware & software system design, security
    and networking, systems programming and Admin
	      "Have Laptop, Will Travel"
------------------------------------------------------

--
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] 5+ messages in thread

* Re: More mkinitrd setup script problems
  2003-11-28 11:05 More mkinitrd setup script problems Dale Amon
@ 2003-11-28 11:10 ` Russell Coker
  2003-11-28 11:14   ` Dale Amon
  2003-11-28 11:17   ` Dale Amon
  0 siblings, 2 replies; 5+ messages in thread
From: Russell Coker @ 2003-11-28 11:10 UTC (permalink / raw)
  To: Dale Amon; +Cc: SE Linux

On Fri, 28 Nov 2003 22:05, Dale Amon <amon@vnl.com> wrote:
> You'll need to add these two lines, or something like them,
> to /etc/mkinitrd/scripts/selinux
>
> 	cp -aL /lib/libselinux.so.1 "$INITRDDIR/lib/"
> 	cp -aL /lib/libattr.so.1 "$INITRDDIR/lib/"
>
> to allow load_policy to run. I'm wondering if something
> major happened to load_policy recently. It worked without
> this until a few days ago.

Strange, I would have expected libselinux.so.1 to be needed for quite a while.

I've added it to my package and will have a new version online shortly.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
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] 5+ messages in thread

* Re: More mkinitrd setup script problems
  2003-11-28 11:10 ` Russell Coker
@ 2003-11-28 11:14   ` Dale Amon
  2003-12-01 14:13     ` Stephen Smalley
  2003-11-28 11:17   ` Dale Amon
  1 sibling, 1 reply; 5+ messages in thread
From: Dale Amon @ 2003-11-28 11:14 UTC (permalink / raw)
  To: Russell Coker; +Cc: Dale Amon, SE Linux

On Fri, Nov 28, 2003 at 10:10:39PM +1100, Russell Coker wrote:
> Strange, I would have expected libselinux.so.1 to be needed for quite a while.

Yes, it is. I was rather surprised to say the least.
 
-- 
------------------------------------------------------
   Dale Amon     amon@islandone.org    +44-7802-188325
       International linux systems consultancy
     Hardware & software system design, security
    and networking, systems programming and Admin
	      "Have Laptop, Will Travel"
------------------------------------------------------

--
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] 5+ messages in thread

* Re: More mkinitrd setup script problems
  2003-11-28 11:10 ` Russell Coker
  2003-11-28 11:14   ` Dale Amon
@ 2003-11-28 11:17   ` Dale Amon
  1 sibling, 0 replies; 5+ messages in thread
From: Dale Amon @ 2003-11-28 11:17 UTC (permalink / raw)
  To: Russell Coker; +Cc: Dale Amon, SE Linux

BTW... I have finally succeeded in going all the way
from a description to an installed and working selinux.

Hands on only to fiddle that script and reboot the
target machine three times. Next project is to cut
the reboots down to two... if I can fit an selinux
kernel on the NFS boot floppy, then I can do the
make relabel and skip the intermediate non-selinux
boot.

-- 
------------------------------------------------------
   Dale Amon     amon@islandone.org    +44-7802-188325
       International linux systems consultancy
     Hardware & software system design, security
    and networking, systems programming and Admin
	      "Have Laptop, Will Travel"
------------------------------------------------------

--
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] 5+ messages in thread

* Re: More mkinitrd setup script problems
  2003-11-28 11:14   ` Dale Amon
@ 2003-12-01 14:13     ` Stephen Smalley
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Smalley @ 2003-12-01 14:13 UTC (permalink / raw)
  To: Dale Amon; +Cc: Russell Coker, SE Linux

On Fri, 2003-11-28 at 06:14, Dale Amon wrote:
> On Fri, Nov 28, 2003 at 10:10:39PM +1100, Russell Coker wrote:
> > Strange, I would have expected libselinux.so.1 to be needed for quite a while.
> 
> Yes, it is. I was rather surprised to say the least.

load_policy was originally statically linked for the initrd.  When we
transitioned to using Dan's patched init program to perform the initial
policy load, load_policy was switched to being dynamically linked, since
it doesn't need to go onto the initrd.
 
-- 
Stephen Smalley <sds@epoch.ncsc.mil>
National Security Agency


--
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] 5+ messages in thread

end of thread, other threads:[~2003-12-01 14:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-28 11:05 More mkinitrd setup script problems Dale Amon
2003-11-28 11:10 ` Russell Coker
2003-11-28 11:14   ` Dale Amon
2003-12-01 14:13     ` Stephen Smalley
2003-11-28 11:17   ` Dale Amon

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.