Bug 969442
| Summary: | SELinux is preventing /usr/lib/systemd/systemd-localed from 'getattr' accesses on the file /etc/vconsole.conf. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alexey Derlaft <derlafff> |
| 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: | 19 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:2d58eb65b7478ffb0d136c6b8e7c089dead3b1cb0b3cfce0497dc26175f4ea0c | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-05-31 15:01:22 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
alert tells you what to do. ***** Plugin restorecon (99.5 confidence) suggests ************************* If необходимо исправить метку. Стандартная метка для /etc/vconsole.conf: locale_t. Then можно выполнить restorecon. Do # /sbin/restorecon -v /etc/vconsole.conf Not sure how you got this file to be labeled getty_etc_t. |
Description of problem: SELinux is preventing /usr/lib/systemd/systemd-localed from 'getattr' accesses on the file /etc/vconsole.conf. ***** Plugin restorecon (99.5 confidence) suggests ************************* If необходимо исправить метку. Стандартная метка для /etc/vconsole.conf: locale_t. Then можно выполнить restorecon. Do # /sbin/restorecon -v /etc/vconsole.conf ***** Plugin catchall (1.49 confidence) suggests *************************** If вы считаете, что systemd-localed следует разрешить доступ getattr к vconsole.conf file по умолчанию. Then рекомендуется создать отчет об ошибке. Чтобы разрешить доступ, можно создать локальный модуль политики. Do чтобы разрешить доступ, выполните: # grep systemd-localed /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:systemd_localed_t:s0 Target Context system_u:object_r:getty_etc_t:s0 Target Objects /etc/vconsole.conf [ file ] Source systemd-localed Source Path /usr/lib/systemd/systemd-localed Port <Неизвестно> Host (removed) Source RPM Packages systemd-204-3.fc19.x86_64 Target RPM Packages systemd-204-3.fc19.x86_64 Policy RPM selinux-policy-3.12.1-47.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.9.4-300.fc19.x86_64 #1 SMP Fri May 24 22:17:06 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-05-31 16:26:42 MSK Last Seen 2013-05-31 16:26:42 MSK Local ID 66f9a871-078e-4fca-8f7c-530fc9959664 Raw Audit Messages type=AVC msg=audit(1370003202.545:482): avc: denied { getattr } for pid=3352 comm="systemd-localed" path="/etc/vconsole.conf" dev="sda4" ino=1452259 scontext=system_u:system_r:systemd_localed_t:s0 tcontext=system_u:object_r:getty_etc_t:s0 tclass=file type=SYSCALL msg=audit(1370003202.545:482): arch=x86_64 syscall=fstat success=no exit=EACCES a0=4 a1=7fffb9a1f620 a2=7fffb9a1f620 a3=0 items=0 ppid=1 pid=3352 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=systemd-localed exe=/usr/lib/systemd/systemd-localed subj=system_u:system_r:systemd_localed_t:s0 key=(null) Hash: systemd-localed,systemd_localed_t,getty_etc_t,file,getattr Additional info: reporter: libreport-2.1.4 hashmarkername: setroubleshoot kernel: 3.9.4-300.fc19.x86_64 type: libreport