Re: [gentoo-user] setgid fails with apache 2.4 but not with apache 2.2

2017-01-04 Thread Dale
mats.lid...@cag.se wrote:
> Hi,
>
> After upgrading to apache 2.4 I'm stuck with getting suexec to work for
> userdir. In the suexec_log I'm getting the error message:
>
> []: uid: (1000/) gid: (100/) cmd: 
> 
> []: failed to setgid (100: )
>
> So it is coming so far as to trying to change the user id and group id but
> fails, at least, on setting the group id.
>
> The odd thing is that if I downgrade to apache 2.2 suexec works and my userdir
> web pages then works fine.
>
> I don't expect that I have found a bug in apache 2.4 so left is something 
> wrong
> in my configuration. But what mistake in the configuration of apache 2.4
> could make setgid to fail? I'm stuck. Suggestions highly appreciated!
>
> Yours


I don't use or have any experience with apache but this was my first
thought when I read your message.  Is there a change in your USE flags
between those two versions? 

My second thought, did you look to see if there is a elog message after
the install?  That may tell you about some other change between those
two versions, if any.  I use elogviewer to see those messages, well, on
those rare occasions that I look. lol 

If neither of those helps any, maybe someone else will pop in with some
real ideas.  ;-)

Dale

:-)  :-) 



[gentoo-user] setgid fails with apache 2.4 but not with apache 2.2

2017-01-04 Thread mats.lidell
Hi,

After upgrading to apache 2.4 I'm stuck with getting suexec to work for
userdir. In the suexec_log I'm getting the error message:

[]: uid: (1000/) gid: (100/) cmd: 
[]: failed to setgid (100: )

So it is coming so far as to trying to change the user id and group id but
fails, at least, on setting the group id.

The odd thing is that if I downgrade to apache 2.2 suexec works and my userdir
web pages then works fine.

I don't expect that I have found a bug in apache 2.4 so left is something wrong
in my configuration. But what mistake in the configuration of apache 2.4
could make setgid to fail? I'm stuck. Suggestions highly appreciated!

Yours
-- 
%% Mats