Paul, Thanks, and it's exactly because of that. I didn't realize that I installed SELinux... I got following error messages when I do 'squid -z': Feb 25 00:30:26 eden kernel: audit(1109259026.091:0): avc: denied { search } for pid=4836 exe=/usr/sbin/squid name=tmp dev=hda12 ino=480001 scontext=root:system_r:squid_t tcontext=system_u:object_r:tmp_t tclass=dir Feb 25 00:30:26 eden squid: Failed to make swap directory /tmp/squid: (13) Permission denied I just don't get it since the dir is writable for squid: drwxr-xr-x 2 squid squid 4096 Feb 25 00:06 squid/ Is this a known issue of SELinux? Is there any way to work around it? thanks, Chris --- Paul Howarth <paul@xxxxxxxxxxxx> wrote: > Chris wrote: > > I am new to Fedora and this mail list. I just installed FC3 in my PC, and upgraded it > > online. When I tried to configure Squid, I found that I can only set the cache_dir to > > /var/spool/squid, otherwise, Squid won't work. > > > > For example, if I set it to point to /tmp, when I run 'squid -z', nothing will > happen; > > when I run 'squid', I will get some error messages as below: > > > > FATAL: Failed to verify one of the swap directories, Check cache.log > > for details. Run 'squid -z' to create swap directories > > if needed, or if running Squid for the first time. > > Squid Cache (Version 2.5.STABLE7): Terminated abnormally. > > > > I am not sure if it is a problem of Squid, since I cannot find this issue in the bug > list > > of Squid 2.5.STABLE7 at their site... I wonder if anyone here has had the same > problem, > > and how to fix it. > > Have a look in /var/log/messages > > I suspect this will be an SElinux issue. > > Paul. > __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail