Re: WARNING: no_suid: setuid(0): (1) Operation not permitted

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Wed, 22 May 2013 18:25:56 +0300

On 5/22/2013 5:59 PM, Alex Rousskov wrote:
> On 05/22/2013 07:00 AM, Amos Jeffries wrote:
>
>> I had the idea that we could add a new Kid type of "Helper" and
>> differentiate the spawned helper processes with it:
>> http://master.squid-cache.org/~amosjeffries/patches/FreeBSD_silence_nosuid_mk1.patch
>
> Identifying helper kids is a good idea in general, but I would very much
> prefer that we at least understand what the true problem is here before
> we mask it away. Your second January 31, 2013 email on squid-users is a
> good summary of what needs to be investigated. Please do not suppress
> the warning until we know why it happens and are certain that hiding it
> is the best way forward.
>
>
It was silenced indeed and runs as expected.
I am +1 to understand a bit the source for the problem
Do you have any approach or direction to what can lead to it?

Eliezer
>> === modified file 'src/ipc/Kid.h'
>> --- src/ipc/Kid.h 2012-09-01 14:38:36 +0000
>> +++ src/ipc/Kid.h 2013-05-22 11:41:18 +0000
>> @@ -90,6 +90,7 @@
>> pkCoordinator = 1, ///< manages all other kids
>> pkWorker = 2, ///< general-purpose worker bee
>> pkDisker = 4, ///< cache_dir manager
>> + pkHelper = 5, ///< general-purpose helper
>> } ProcessKind;
>
> The new process kind ID should be 8. Some of these IDs can be combined
> (e.g., the same process can be Master and Worker) so we want to keep
> them increasing using powers of two.
>
>
> HTH,
>
> Alex.
>
Received on Wed May 22 2013 - 15:26:10 MDT

This archive was generated by hypermail 2.2.0 : Wed May 22 2013 - 12:00:10 MDT