Compilation error due to non existent dbus class

Anamitra Dutta Majumdar (anmajumd) anmajumd at cisco.com
Tue Mar 26 21:37:05 UTC 2013


Hi Dan,

Trying follow up on this thread..
The basic question is why would the dbus class be missing from our
systems. 
Are we missing any rpms that would deliver this dbus class.

Thanks,
Anamitra

On 3/8/13 5:58 AM, "Daniel J Walsh" <dwalsh at redhat.com> wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On 03/07/2013 07:34 PM, Anamitra Dutta Majumdar (anmajumd) wrote:
>> We are trying to compile our policy sources on RHEL6.2 based build
>>system. 
>> The following is the policy we need to add
>> 
>> allow sysadm_t setroubleshootd_t:dbus send_msg;
>> 
>> 
>> When we try to compile this policy the compiler complains with the
>> following message
>> 
>> /usr/bin/checkmodule:  loading policy configuration from
>> tmp/vos_seltools.tmp vos_seltools.te":145:ERROR 'unknown class dbus
>>used in
>> rule' at token ';' on line 4794:
>> 
>> Do we need to add this class? Or is there any other way to make the
>> compilation succeed?
>> 
>> 
>> Thanks,
>> 
>> Anamitra
>> 
>> 
>Add
>policy_module(foobar, 1.0)
>
>dbus_stub()
>
>Is this so a user logged in at the console can communicate with
>setroubleshoot_t?
>
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.13 (GNU/Linux)
>Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
>iEYEARECAAYFAlE57nQACgkQrlYvE4MpobOubgCgoR5g0D8KlYaDTLIJKFgwnqTg
>vDsAn0xmQw0GrZLV2jaRcuMr8vp4XB64
>=/ZqV
>-----END PGP SIGNATURE-----



More information about the selinux mailing list