Re: [PATCH][gnome.if]: bad gen_require type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Xavier Toth wrote:
> On Thu, Sep 4, 2008 at 12:27 PM, Daniel J Walsh <dwalsh@xxxxxxxxxx> wrote:
>> Xavier Toth wrote:
>>> When I attempted to use this interface I got the follow error:
>>> /usr/bin/checkmodule:  loading policy configuration from tmp/ml-launch.tmp
>>> ml-launch.te":72:ERROR 'unknown type user_gconf_tmp_t' at token ';' on
>>> line 5970:
>>>       allow ml_launch_t user_gconf_tmp_t:dir { getattr search };
>>>
>>> --- serefpolicy-3.5.4/policy/modules/apps/gnome.if    2008-08-28
>>> 17:36:53.000000000 -0500
>>> +++ serefpolicy-3.5.4.new/policy/modules/apps/gnome.if        2008-08-28
>>> 17:35:59.000000000 -0500
>>> @@ -125,7 +125,7 @@
>>>  #
>>>  template(`gnome_stream_connect_gconf_template',`
>>>       gen_require(`
>>> -             type $1_gconfd_t, gconf_tmp_t;
>>> +             type $1_gconfd_t, $1_gconf_tmp_t;
>>>       ')
>>>
>>>       read_files_pattern($2, $1_gconf_tmp_t, $1_gconf_tmp_t)
>>>
>>> --
>>> This message was distributed to subscribers of the selinux mailing list.
>>> If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
>>> the words "unsubscribe selinux" without quotes as the message.
>> In Rawhide it should be, since we don't types based on role.
>>
>>  #
>>  template(`gnome_stream_connect_gconf_template',`
>>        gen_require(`
>>                type $1_gconfd_t, gconf_tmp_t;
>>        ')
>>        read_files_pattern($2, gconf_tmp_t, gconf_tmp_t)
>>
> 
> I just got 3.5.6 from koji and which contains:
> 
> template(`gnome_stream_connect_gconf_template',`
>         gen_require(`
>                 type $1_gconfd_t, gconf_tmp_t;
>         ')
> 
>         read_files_pattern($2, $1_gconf_tmp_t, $1_gconf_tmp_t)
>         allow $2 $1_gconfd_t:unix_stream_socket connectto;
> ')
> 
> and not what your email indicated it should be for the read_files_pattern.
> 
> Ted
Patience 3.5.6-2 will have tonight.

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux