All of lore.kernel.org
 help / color / mirror / Atom feed
* selinux policy  for gedit
@ 2009-05-20 10:52 hechao55429
  2009-05-20 12:56 ` Daniel J Walsh
  0 siblings, 1 reply; 3+ messages in thread
From: hechao55429 @ 2009-05-20 10:52 UTC (permalink / raw)
  To: selinux

[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]

hello everyone :
  I'm learning the selinux policy.I wrote a selinux policy module for gedit a few days ago .When I loaded the policy into the target policy runing on the fedora 10 and ran the gedit application , I encountered the following problems:
 
[root@localhost ~]# gedit
(gedit:2697): Pango-CRITICAL **: No fonts found:
This probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org
(gedit:2697): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderFc', script='han'
(gedit:2697): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderFc', script='latin'
(gedit:2697): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderFc', script='common'
(gedit:2697): Pango-CRITICAL **: _pango_engine_shape_covers: assertion `PANGO_IS_FONT (font)' failed
[root@localhost ~]# 
Here is a screenshot:



[-- Attachment #2: Type: text/html, Size: 1750 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: selinux policy  for gedit
  2009-05-20 10:52 selinux policy for gedit hechao55429
@ 2009-05-20 12:56 ` Daniel J Walsh
  2009-05-20 13:33   ` Justin Mattock
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel J Walsh @ 2009-05-20 12:56 UTC (permalink / raw)
  To: hechao55429; +Cc: selinux

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=x-gbk; format=flowed, Size: 1467 bytes --]

On 05/20/2009 06:52 AM, hechao55429 wrote:
> hello everyone :
>    I'm learning the selinux policy.I wrote a selinux policy module for gedit a few days ago .When I loaded the policy into the target policy runing on the fedora 10 and ran the gedit application , I encountered the following problems:
>
> [root@localhost ~]# gedit
> (gedit:2697): Pango-CRITICAL **: No fonts found:
> This probably means that the fontconfig
> library is not correctly configured. You may need to
> edit the fonts.conf configuration file. More information
> about fontconfig can be found in the fontconfig(3) manual
> page and on http://fontconfig.org
> (gedit:2697): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderFc', script='han'
> (gedit:2697): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderFc', script='latin'
> (gedit:2697): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderFc', script='common'
> (gedit:2697): Pango-CRITICAL **: _pango_engine_shape_covers: assertion `PANGO_IS_FONT (font)' failed
> [root@localhost ~]#
> Here is a screenshot:
>
>
>
You need to give gedit the ability to read fonts.

miscfiles_read_fonts(gedit_t)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: selinux policy for gedit
  2009-05-20 12:56 ` Daniel J Walsh
@ 2009-05-20 13:33   ` Justin Mattock
  0 siblings, 0 replies; 3+ messages in thread
From: Justin Mattock @ 2009-05-20 13:33 UTC (permalink / raw)
  To: Daniel J Walsh; +Cc: hechao55429, selinux

2009/5/20 Daniel J Walsh <dwalsh@redhat.com>:
> On 05/20/2009 06:52 AM, hechao55429 wrote:
>>
>> hello everyone :
>>   I'm learning the selinux policy.I wrote a selinux policy module for
>> gedit a few days ago .When I loaded the policy into the target policy runing
>> on the fedora 10 and ran the gedit application , I encountered the following
>> problems:
>>
>> [root@localhost ~]# gedit
>> (gedit:2697): Pango-CRITICAL **: No fonts found:
>> This probably means that the fontconfig
>> library is not correctly configured. You may need to
>> edit the fonts.conf configuration file. More information
>> about fontconfig can be found in the fontconfig(3) manual
>> page and on http://fontconfig.org
>> (gedit:2697): Pango-WARNING **: failed to find shape engine, expect ugly
>> output. engine-type='PangoRenderFc', script='han'
>> (gedit:2697): Pango-WARNING **: failed to find shape engine, expect ugly
>> output. engine-type='PangoRenderFc', script='latin'
>> (gedit:2697): Pango-WARNING **: failed to find shape engine, expect ugly
>> output. engine-type='PangoRenderFc', script='common'
>> (gedit:2697): Pango-CRITICAL **: _pango_engine_shape_covers: assertion
>> `PANGO_IS_FONT (font)' failed
>> [root@localhost ~]#
>> Here is a screenshot:
>>
>>
>>
> You need to give gedit the ability to read fonts.
>
> miscfiles_read_fonts(gedit_t)
>
>
> --
> This message was distributed to subscribers of the selinux mailing list.
> If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov
> with
> the words "unsubscribe selinux" without quotes as the message.
>

if you look in /etc/fonts/fonts.conf
you should see:

<!-- Font directory list -->

        <dir>/usr/share/fonts</dir>

        <dir>~/.fonts</dir>

you should have something in
/usr/share/fonts/*
(or wherever there located on your system)

-- 
Justin P. Mattock


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-20 13:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-20 10:52 selinux policy for gedit hechao55429
2009-05-20 12:56 ` Daniel J Walsh
2009-05-20 13:33   ` Justin Mattock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.