| Summary: | SELinux is preventing /opt/google/chrome/chrome from 'getattr' accesses on the file /etc/localtime. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Juergen Kaiserling <jkaiserling> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:073baa3f2f9dd23eb5a4097f5b6c492df0f3a5e89a5e9207e626138812d40415 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-31 20:11:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Is this a fresh install? Could you add also outputs of # grep -r localtime /etc/init.d/ # ps -eZ | grep initrc_t # grep locale /usr/libexec/ -R | wc -l 104 # grep localtime `grep Exec /usr/share/dbus-1/system-services/* | cut -f 2 -d"=" | cut -d" " -f 1 | sort -u` Miroslav isn't this the one caused by the kde time adjustment program? Yes. |
SELinux is preventing /opt/google/chrome/chrome from 'getattr' accesses on the file /etc/localtime. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /etc/localtime default label should be locale_t. Then you can run restorecon. Do # /sbin/restorecon -v /etc/localtime ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that chrome should be allowed getattr access on the localtime 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 Additional Information: Source Context unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c 0.c1023 Target Context system_u:object_r:etc_runtime_t:s0 Target Objects /etc/localtime [ file ] Source chrome Source Path /opt/google/chrome/chrome Port <Unknown> Host (removed) Source RPM Packages google-chrome-stable-10.0.648.133-77742 Target RPM Packages glibc-2.13-1 Policy RPM selinux-policy-3.9.7-31.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.11-83.fc14.i686 #1 SMP Mon Feb 7 07:04:18 UTC 2011 i686 i686 Alert Count 12 First Seen Mon 14 Mar 2011 06:27:12 AM EDT Last Seen Mon 14 Mar 2011 07:23:16 AM EDT Local ID be66cdf8-7f3d-449c-84b2-4d2dbda640d0 Raw Audit Messages type=AVC msg=audit(1300101796.617:25344): avc: denied { getattr } for pid=3118 comm="chrome" path="/etc/localtime" dev=dm-0 ino=656467 scontext=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 tcontext=system_u:object_r:etc_runtime_t:s0 tclass=file type=SYSCALL msg=audit(1300101796.617:25344): arch=i386 syscall=fstat64 success=no exit=EACCES a0=10 a1=bfff2868 a2=444ff4 a3=c900000 items=0 ppid=0 pid=3118 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=chrome exe=/opt/google/chrome/chrome subj=unconfined_u:unconfined_r:chrome_sandbox_t:s0-s0:c0.c1023 key=(null) Hash: chrome,chrome_sandbox_t,etc_runtime_t,file,getattr audit2allow #============= chrome_sandbox_t ============== allow chrome_sandbox_t etc_runtime_t:file getattr; audit2allow -R #============= chrome_sandbox_t ============== allow chrome_sandbox_t etc_runtime_t:file getattr;