Hide Forgot
SELinux is preventing /usr/sbin/pptp 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 pptp 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 /usr/sbin/pptp /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:pptp_t:s0 Target Context system_u:object_r:etc_runtime_t:s0 Target Objects /etc/localtime [ file ] Source pptp Source Path /usr/sbin/pptp Port <Unknown> Host (removed) Source RPM Packages pptp-1.7.2-9.fc14 Target RPM Packages glibc-2.12.90-21 Policy RPM selinux-policy-3.9.7-19.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.35.10-74.fc14.x86_64 #1 SMP Thu Dec 23 16:04:50 UTC 2010 x86_64 x86_64 Alert Count 2 First Seen Thu 06 Jan 2011 04:58:53 PM IRST Last Seen Thu 06 Jan 2011 05:00:10 PM IRST Local ID e0d0d7c1-6987-4188-a37e-fe7947cf62a6 Raw Audit Messages type=AVC msg=audit(1294320610.812:31762): avc: denied { getattr } for pid=5619 comm="pptp" path="/etc/localtime" dev=sdc2 ino=3553947 scontext=system_u:system_r:pptp_t:s0 tcontext=system_u:object_r:etc_runtime_t:s0 tclass=file pptp,pptp_t,etc_runtime_t,file,getattr type=SYSCALL msg=audit(1294320610.812:31762): arch=x86_64 syscall=fstat success=yes exit=0 a0=3 a1=7fff5522ad80 a2=7fff5522ad80 a3=2 items=0 ppid=5617 pid=5619 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=pptp exe=/usr/sbin/pptp subj=system_u:system_r:pptp_t:s0 key=(null) pptp,pptp_t,etc_runtime_t,file,getattr #============= pptp_t ============== allow pptp_t etc_runtime_t:file getattr;
***** 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 Will fix. *** This bug has been marked as a duplicate of bug 653867 ***