More mkinitrd setup script problems
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.
Signature · 12 lines
------------------------------------------------------ Dale Amon [email protected] +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 [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 9 lines · Dale Amon
You'll need to add these two lines, or something like them, to
/etc/mkinitrd/scripts/selinuxcp -aL /lib/libselinux.so.1 "$INITRDDIR/lib/" cp -aL /lib/libattr.so.1 "$INITRDDIR/lib/"to allow
load_policyto run. I'm wondering if something major happened toload_policyrecently. 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.
Signature · 10 lines
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 [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 1 line · Russell Coker
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.
Signature · 12 lines
------------------------------------------------------ Dale Amon [email protected] +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 [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 4 lines · Dale Amon
Quoted 1 line · Russell Coker
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.
Signature · 8 lines
Stephen Smalley <[email protected]> National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
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.
Signature · 12 lines
------------------------------------------------------ Dale Amon [email protected] +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 [email protected] with the words "unsubscribe selinux" without quotes as the message.