Squid question in FC3

Chris csh_jp at yahoo.com
Thu Feb 24 15:53:58 UTC 2005


Thanks for the explanation. It seems that I should have not check that check box when
installing FC3...

The reason is that I want to make Apache faster by using Squid together with shm... I
setup a TWiki using Apache with mod_perl, but I still feel that the speed is not so
ideal. So I want to mount shm to tmp, so that not only the perl scripts (TWiki) can run
faster, PHP scripts (which may use /tmp) can also run faster... I tried to mount shm to
/var/spool/squid, but it won't work either, it gives following error instead:

Feb 25 00:52:32 eden squid: Failed to make swap directory /var/spool/squid: (17) File
exists

but in fact, no file is in the mounted dir or the real dir...

Chris


--- Paul Howarth <paul at city-fan.org> wrote:

> 
> This is a feature, not a bug ;-)
> 
> SELinux imposes additional restrictions on what the squid server can do, 
> so that if it is compromised, it is difficult for the attacker to do 
> anything useful with it, like write a rootkit to /tmp. This is all on 
> top of the existing unix permissions.
> 
> Try approaching the problem a different way. What is the underlying 
> reason why you want the squid cache to be in /tmp instead of 
> /var/spool/squid?
> 
> Paul.
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 



		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 




More information about the fedora-list mailing list