<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; SELinux постоянно ворчит]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=30984</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=30984&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «SELinux постоянно ворчит».]]></description>
		<lastBuildDate>Sat, 21 Dec 2013 19:32:52 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SELinux постоянно ворчит]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=383781#p383781</link>
			<description><![CDATA[<div class="quotebox"><cite>Cruiser78 пишет:</cite><blockquote><p>Куда делся checkmodule? Или откуда его надыбать?</p></blockquote></div><p>установить checkpolicy</p>]]></description>
			<author><![CDATA[null@example.com (alexfinn)]]></author>
			<pubDate>Sat, 21 Dec 2013 19:32:52 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=383781#p383781</guid>
		</item>
		<item>
			<title><![CDATA[Re: SELinux постоянно ворчит]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=383764#p383764</link>
			<description><![CDATA[<div class="quotebox"><cite>kirillov3798 пишет:</cite><blockquote><p>Если пытаться выполнить действия, то:<br /></p><div class="codebox"><pre><code>[root@SemenPC ~]# grep hl_linux /var/log/audit/audit.log | audit2allow -M mypol
compilation failed:
sh: /usr/bin/checkmodule: Нет такого файла или каталога
[root@SemenPC ~]# semodule -i mypol.pp
semodule:  Failed on mypol.pp!
[root@SemenPC ~]# </code></pre></div><p>Может кто знает что не так?</p></blockquote></div><p>Оживлю тему. А именно - отключить SELinux продлем нет. Вопрос не в этом. <br />А вот зачем предлагать в настройках SELinux то, что нереализуется? Куда делся checkmodule? Или откуда его надыбать? Как корректно настроить SELinux в F-19? Да и в F-20 теже ойцы...</p>]]></description>
			<author><![CDATA[null@example.com (Cruiser78)]]></author>
			<pubDate>Sat, 21 Dec 2013 16:47:33 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=383764#p383764</guid>
		</item>
		<item>
			<title><![CDATA[Re: SELinux постоянно ворчит]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=369496#p369496</link>
			<description><![CDATA[<p>Все разобрался</p>]]></description>
			<author><![CDATA[null@example.com (kirillov3798)]]></author>
			<pubDate>Sat, 12 Oct 2013 07:25:32 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=369496#p369496</guid>
		</item>
		<item>
			<title><![CDATA[Re: SELinux постоянно ворчит]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=369492#p369492</link>
			<description><![CDATA[<p><strong>redix</strong>, спасибо</p>]]></description>
			<author><![CDATA[null@example.com (kirillov3798)]]></author>
			<pubDate>Sat, 12 Oct 2013 07:20:40 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=369492#p369492</guid>
		</item>
		<item>
			<title><![CDATA[Re: SELinux постоянно ворчит]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=369475#p369475</link>
			<description><![CDATA[<p><strong>kirillov3798</strong>, в файле /etc/selinux/config. Читай, в самом файле всё описано.</p>]]></description>
			<author><![CDATA[null@example.com (redix)]]></author>
			<pubDate>Sat, 12 Oct 2013 06:40:35 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=369475#p369475</guid>
		</item>
		<item>
			<title><![CDATA[Re: SELinux постоянно ворчит]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=369473#p369473</link>
			<description><![CDATA[<p><strong>redix</strong>, как его отключить <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /> ?</p>]]></description>
			<author><![CDATA[null@example.com (kirillov3798)]]></author>
			<pubDate>Sat, 12 Oct 2013 06:34:50 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=369473#p369473</guid>
		</item>
		<item>
			<title><![CDATA[Re: SELinux постоянно ворчит]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=369472#p369472</link>
			<description><![CDATA[<p><strong>kirillov3798</strong>, зачем? У себя всегда отключаю, живой, как видишь.&nbsp; <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></description>
			<author><![CDATA[null@example.com (redix)]]></author>
			<pubDate>Sat, 12 Oct 2013 06:31:26 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=369472#p369472</guid>
		</item>
		<item>
			<title><![CDATA[Re: SELinux постоянно ворчит]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=369470#p369470</link>
			<description><![CDATA[<p>Но он же ведь нужен, вроде...</p>]]></description>
			<author><![CDATA[null@example.com (kirillov3798)]]></author>
			<pubDate>Sat, 12 Oct 2013 06:29:32 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=369470#p369470</guid>
		</item>
		<item>
			<title><![CDATA[Re: SELinux постоянно ворчит]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=369469#p369469</link>
			<description><![CDATA[<p><strong>kirillov3798</strong>, отключи его, да и все дела. ( прости меня <strong>Vascom</strong>&nbsp; <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" />&nbsp; )</p>]]></description>
			<author><![CDATA[null@example.com (redix)]]></author>
			<pubDate>Sat, 12 Oct 2013 06:28:11 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=369469#p369469</guid>
		</item>
		<item>
			<title><![CDATA[SELinux постоянно ворчит]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=369468#p369468</link>
			<description><![CDATA[<p>Ворчит на Steam и на Wine и бог знает на что еще.<br />Вот что пишет во время игры в HL1:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><div class="codebox"><pre><code>SELinux is preventing /home/semen/.local/share/Steam/SteamApps/common/Half-Life/hl_linux from using the execheap access on a process.

*****  Plugin allow_execheap (53.1 confidence) suggests  *********************

If вы считаете, что /home/semen/.local/share/Steam/SteamApps/common/Half-Life/hl_linux не должен создавать соответствие для памяти кучи, если она является записываемой и запускаемой
Then следует создать отчет об ошибке. Это обращение представляет риск безопасности.
Do
о проблеме сообщите администратору.

*****  Plugin catchall_boolean (42.6 confidence) suggests  *******************

If вы хотите выполнить следующее: allow selinuxuser to execheap
Then you must tell SELinux about this by enabling the &#039;selinuxuser_execheap&#039; boolean.
Дополнительная документация на &#039;None&#039; ман странице.
Do
setsebool -P selinuxuser_execheap 1

*****  Plugin catchall (5.76 confidence) suggests  ***************************

If вы считаете, что hl_linux следует разрешить доступ execheap к процессам с типом unconfined_t по умолчанию.
Then рекомендуется создать отчет об ошибке.
Чтобы разрешить доступ, можно создать локальный модуль политики.
Do
чтобы разрешить доступ, выполните:
# grep hl_linux /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                 [ process ]
Source                        hl_linux
Source Path                   /home/semen/.local/share/Steam/SteamApps/common
                              /Half-Life/hl_linux
Port                          &lt;Неизвестно&gt;
Host                          SemenPC
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-74.8.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     SemenPC
Platform                      Linux SemenPC 3.11.3-201.fc19.x86_64 #1 SMP Thu
                              Oct 3 00:47:03 UTC 2013 x86_64 x86_64
Alert Count                   4
First Seen                    2013-10-12 14:02:49 KRAT
Last Seen                     2013-10-12 14:09:53 KRAT
Local ID                      0f0fca0e-1554-4441-b55a-376d8292e6ef

Raw Audit Messages
type=AVC msg=audit(1381558193.891:476): avc:  denied  { execheap } for  pid=3513 comm=&quot;hl_linux&quot; scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process


type=SYSCALL msg=audit(1381558193.891:476): arch=i386 syscall=capget success=no exit=EACCES a0=97e0000 a1=c000 a2=7 a3=ffa4efec items=0 ppid=3510 pid=3513 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=(none) comm=hl_linux exe=/home/semen/.local/share/Steam/SteamApps/common/Half-Life/hl_linux subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)

Hash: hl_linux,unconfined_t,unconfined_t,process,execheap</code></pre></div></div></div><p>Если пытаться выполнить действия, то:<br /></p><div class="codebox"><pre><code>[root@SemenPC ~]# grep hl_linux /var/log/audit/audit.log | audit2allow -M mypol
compilation failed:
sh: /usr/bin/checkmodule: Нет такого файла или каталога
[root@SemenPC ~]# semodule -i mypol.pp
semodule:  Failed on mypol.pp!
[root@SemenPC ~]# </code></pre></div><p>Может кто знает что не так?</p>]]></description>
			<author><![CDATA[null@example.com (kirillov3798)]]></author>
			<pubDate>Sat, 12 Oct 2013 06:24:35 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=369468#p369468</guid>
		</item>
	</channel>
</rss>
