This has been "doing my head in" as the British will say. I've been
battling it for days now. A post to Fedora forums and irc hasn't helped.
You guys are my last resort. It goes like so:
1. type=AVC msg=audit(1358529889.481:315): avc: denied { associate }
for pid=1522 comm="httpd"name="access.log" scontext
=system_u:object_r:httpd_sys_rw_content_t:s0tcontext
=system_u:object_r:httpd_sys_content_t:s0 tclass=filesystem
2.
3. Was caused by:
4. Unknown - would be allowed by active policy
5. Possible mismatch between this policy and the one
under which the audit message was generated.
6.
7. Possible mismatch between current in-memory boolean
settings vs. permanent ones.
8.
------------------------------------------------------------------------------------------------
9.
10. <VirtualHost *:80>
11. ServerAdmin webmaster@localhost
12. ServerName lab.dev
13.
14. DocumentRoot /shared/www/lab/public
15.
16. <Directory /shared/www/lab/public/>
17. Options Indexes FollowSymLinks
18. AllowOverride All
19. Order allow,deny
20. Allow from all
21. </Directory>
22.
23. # Custom log file locations
24. LogLevel warn
25. ErrorLog /shared/www/lab/logs/error.log
26. CustomLog /shared/www/lab/access.log combined
27.
28. </VirtualHost>
29.
------------------------------------------------------------------------------------------
30. /etc/fstab
31. ----------
32. #
33. # /etc/fstab
34. # Created by anaconda on Tue Jan 15 21:01:00 2013
35. #
36. # Accessible filesystems, by reference, are maintained under
'/dev/disk'
37. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for
more info
38. #
39. /dev/mapper/fedora-root / ext4 defaults
1 1
40. UUID=f92ec976-f49c-496d-be24-2bd7391eec2e /boot
ext4 defaults 1 2
41. /dev/mapper/fedora-home /home ext4 defaults
1 2
42. /dev/mapper/fedora-swap swap swap defaults
0 0
43. /dev/disk/by-uuid/E0D8317FD83154CE /windows auto
nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Windows 0 0
44. /dev/disk/by-uuid/D0D6BF93D6BF7874 /shared auto context=
"system_u:object_r:httpd_sys_content_t:s0" 0 0
45.
=======================================================================================================
46.
47. /shared is an ntfs partition and /shared/www/public is the root of
the site lab.dev
Thanks for any assistance.