Version mismatch in selinux-usr?
I built load_policy out of the selinux-usr/policycoreutils/load-policy/ and built built my policy.conf and policy.12 out of selinux-usr/policy/
Now it appears to me as if load_policy tries to read a version 15 policydb, while the actual binary db is version 12.
Oct 8 01:23:58 selin kernel: security: policydb version 12 does not match my
version 15
The load_policy in Brian May's source is a version 12 match, but I needed to build a static binary for an initrd image, and the apt-get source selinux didn't appear to contain the load_policy files.
So I felt a bit stuck.
Also, I think Russel Coker sent a message earlier about a mkinitrd script which I would gladly have a look at, I didn't receive it and the archives don't appear to updated every day, so if someone would send it to me I would appreciate it.
I'm quite new to this, although I've spent the last days trying to figure out why I haven't got selinux up working, so I'm sorry if I'm missing obvious things.
Alex
--
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 3 lines · Alex
The
load_policyin Brian May's source is a version 12 match, but I needed to build a static binary for an initrd image, and the apt-get source selinux didn't appear to contain theload_policyfiles.
Brian's packages are all for the old SE Linux, which has policy version 12. If you use the new (xattr based) SE Linux then you need Colin's packages for version 15.
Quoted 4 lines
Also, I think Russel Coker sent a message earlier about a mkinitrd script which I would gladly have a look at, I didn't receive it and the archives don't appear to updated every day, so if someone would send it to me I would appreciate it.
See the link in my .sig. On that page there is a link to list archives that are updated immediately when new messages are posted.
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.