| Summary: | SELinux is preventing plugin-containe from read, write access on the chr_file /dev/tty2. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kohei Takahashi <flast> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:a932e11dc5fec430367a9b677a60612c4c34cb89763a6795c66dc5ed573eb231;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-25 08:44:42 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
***** Plugin mozplugger (99.1 confidence) suggests ************************ If plugin パッケージを使用したいです Then firefox プラグインで SELinux の制御を全てオフにする必要があります。 Do # setsebool -P unconfined_mozilla_plugin_transition 0 |
Description of problem: SELinux is preventing plugin-containe from read, write access on the chr_file /dev/tty2. ***** Plugin mozplugger (99.1 confidence) suggests ************************ If plugin パッケージを使用したいです Then firefox プラグインで SELinux の制御を全てオフにする必要があります。 Do # setsebool -P unconfined_mozilla_plugin_transition 0 ***** Plugin catchall (1.81 confidence) suggests ************************** If plugin-containe に、 tty2 chr_file の read write アクセスがデフォルトで許可されるべきです。 Then バグとして報告してください。 ローカルのポリシーモジュールを生成すると、 このアクセスを許可することができます。 Do allow this access for now by executing: # ausearch -c plugin-containe --raw | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c 0.c1023 Target Context system_u:object_r:tty_device_t:s0 Target Objects /dev/tty2 [ chr_file ] Source plugin-containe Source Path plugin-containe Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-183.fc25.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.6.0-0.rc3.git2.1.fc25.x86_64 #1 SMP Fri Apr 15 15:29:44 UTC 2016 x86_64 x86_64 Alert Count 1 First Seen 2016-04-23 17:01:32 JST Last Seen 2016-04-23 17:01:32 JST Local ID 2aa4cd45-9abd-4e99-a150-ad3acd91352b Raw Audit Messages type=AVC msg=audit(1461398492.344:1454): avc: denied { read write } for pid=2809 comm="plugin-containe" path="/dev/tty2" dev="devtmpfs" ino=1043 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tty_device_t:s0 tclass=chr_file permissive=0 Hash: plugin-containe,mozilla_plugin_t,tty_device_t,chr_file,read,write Version-Release number of selected component: selinux-policy-3.13.1-183.fc25.noarch Additional info: reporter: libreport-2.7.0 hashmarkername: setroubleshoot kernel: 4.6.0-0.rc4.git1.1.fc25.x86_64 reproducible: Not sure how to reproduce the problem type: libreport Potential duplicate: bug 1309042