Policy version mismatch

David Quigley selinux at davequigley.com
Thu May 24 16:24:50 UTC 2012


On 05/24/2012 12:14, Daniel J Walsh wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 05/24/2012 11:05 AM, Moray Henderson wrote:
>> I've got a policy module which works fine when I build and load it 
>> on
>> CentOS 5.  When I build and try to load it on CentOS 6 it complains:
>>
>> SELinux:  Could not downgrade policy file
>> /etc/selinux/targeted/policy/policy.24, searching for an older 
>> version.
>> SELinux:  Could not open policy file <=
>> /etc/selinux/targeted/policy/policy.24:  No such file or directory
>>
>> There's nothing in the policy source specifying version so I would 
>> have
>> expected the module automatically to build for the correct policy 
>> version
>> when built on CentOS 6.  Any pointers where to look or what to do 
>> next?
>>
>>
>> Moray. "To err is human; to purr, feline."
>>
>>
>>
>>
>>
>> -- selinux mailing list selinux at lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/selinux
>
>
> Read
>
> http://danwalsh.livejournal.com/49762.html
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk++XlAACgkQrlYvE4MpobMf+wCghm6D/Gn5Yh9mLIHF1vTo5k2m
> 7KkAnRSdi7LWcywz1LeE6ir8nygh1wVj
> =hxTJ
> -----END PGP SIGNATURE-----
> --
> selinux mailing list
> selinux at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/selinux

I don't think your post applies to his question. His email seems to 
indicate to me that he is building the policy binary on RHEL 6 for RHEL 
6 and then on install time its trying to downgrade the policy. He is 
wondering why it didn't just build for the policy version being used by 
the system.

Dave


More information about the selinux mailing list