<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Selinux и Google Chrome]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=16685&amp;type=atom" />
	<updated>2011-09-21T17:13:06Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=16685</id>
		<entry>
			<title type="html"><![CDATA[Re: Selinux и Google Chrome]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=213939#p213939" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Vascom пишет:</cite><blockquote><p>А это уже ты сам должен решать можно ему доверять или нет.</p></blockquote></div><p>Так собственно, в этом вопрос и заключался....<br />Если точнее - это глюк Selinux или Chrome начал позволять себе нечто лишнее?</p>]]></content>
			<author>
				<name><![CDATA[rishard]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1892</uri>
			</author>
			<updated>2011-09-21T17:13:06Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=213939#p213939</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Selinux и Google Chrome]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=213805#p213805" />
			<content type="html"><![CDATA[<p>А это уже ты сам должен решать можно ему доверять или нет.</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2011-09-21T09:00:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=213805#p213805</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Selinux и Google Chrome]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=213804#p213804" />
			<content type="html"><![CDATA[<p>А ему можно доверять?&nbsp; smile <br />Вы правы, получилось.</p><div class="codebox"><pre><code>[root@localhost admin]# semanage fcontext -a -t textrel_shlib_t &#039;/opt/google/chrome/chrome&#039;
[root@localhost admin]# restorecon -v &#039;/opt/google/chrome/chrome&#039;
restorecon reset /opt/google/chrome/chrome context system_u:object_r:execmem_exec_t:s0-&gt;system_u:object_r:textrel_shlib_t:s0
[root@localhost admin]# grep chrome /var/log/audit/audit.log | audit2allow -M mypol
******************** IMPORTANT ***********************
To make this policy package active, execute:

semodule -i mypol.pp

[root@localhost admin]# semodule -i mypol.pp
[root@localhost admin]# grep chrome-sandbox /var/log/audit/audit.log | audit2allow -M mypol
******************** IMPORTANT ***********************
To make this policy package active, execute:

semodule -i mypol.pp

[root@localhost admin]# semodule -i mypol.pp
[root@localhost admin]#</code></pre></div>]]></content>
			<author>
				<name><![CDATA[rishard]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1892</uri>
			</author>
			<updated>2011-09-21T08:58:51Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=213804#p213804</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Selinux и Google Chrome]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=213792#p213792" />
			<content type="html"><![CDATA[<p>Там же всё написано, что надо сделать если вы доверяете этому файлу.</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2011-09-21T08:27:47Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=213792#p213792</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Selinux и Google Chrome]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=213790#p213790" />
			<content type="html"><![CDATA[<p>После очередного обновления Fedora 15 не могу запустить Google Chrome... <br />Подскажите, что за ерунда такая и как оптимально решить проблему? Без setenforce 0 чтоб. <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p><div class="codebox"><pre><code>SELinux is preventing /opt/google/chrome/chrome from execmod access on the file /opt/google/chrome/chrome.

*****  Plugin allow_execmod (91.4 confidence) suggests  **********************

If you want to allow chrome to have execmod access on the chrome file
Then you need to change the label on &#039;/opt/google/chrome/chrome&#039;
Do
# semanage fcontext -a -t textrel_shlib_t &#039;/opt/google/chrome/chrome&#039;
# restorecon -v &#039;/opt/google/chrome/chrome&#039;

*****  Plugin catchall (9.59 confidence) suggests  ***************************

If you believe that chrome should be allowed execmod access on the chrome file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep chrome /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[rishard]]></name>
				<uri>https://linuxforum.ru/profile.php?id=1892</uri>
			</author>
			<updated>2011-09-21T08:24:52Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=213790#p213790</id>
		</entry>
</feed>
