Re: [squid-users] Problem writing squid PID file when tproxy isenabled.

From: Logu <logsnaath@dont-contact.us>
Date: Tue, 13 Feb 2007 11:31:57 +0530

>>> If /usr/local/squid26s9TP/var/logs is given a group writable permission
>>> or
>>> if the PID file is given at /var/run which is owned by root:root then
>>> the
>>> issue disappears.
>>
>> Odd..
>>
>> is there perhaps a selinux policy or similar playing ghosts with you?
>
> SElinux is disabled on my system. I have tested on both FC5 and FC6 and
> same problem. Let me try somemore things and will post you.
>

My quick analysis showed that the issue is caused by the capset() call in
leave_suid(). Not sure how it affects creating the pid file, though this
happens well before the leave_suid() call.

-logu
Received on Mon Feb 12 2007 - 23:04:04 MST

This archive was generated by hypermail pre-2.1.9 : Thu Mar 01 2007 - 12:00:01 MST