Re: can't change euid 0 to uid != running user

From: Ray Lee
Date: Sun Oct 07 2007 - 19:56:56 EST


On 10/7/07, Luciano Rocha <strange@xxxxxxxxxxxxx> wrote:
> On Fri, Oct 05, 2007 at 08:28:50AM -0700, Ray Lee wrote:
> > On 10/5/07, Luciano Rocha <strange@xxxxxxxxxxxxx> wrote:
> > > I have the following problem:
> > > $ sudo -u ie -s # or sudo su ie
> > > unable to change to runas uid: Resource temporarily unavailable
> > >
> > > Works:
> > > $ sudo su, followed by su ie
> > > [........]
> > > (Clone of Linus' tree, after rc9, with some patches from
> > > mingo/linux-2.6-sched-devel.git, and a fix for lguest (didn't link due
> > > to kasprintf)).
> >
> > Hmm, it works for me under 2.6.23-rc6, so it's either a difference
> > between our .configs or a late regression. If you could bisect the
> > problem (starting with reverting Ingo's sched devel patches and lguest
> > patches, and trying that), then that would tell us where the issue is.
> >
>
> Without the patches, i.e., a clean Linus tree (v2.6.23-rc9-41-g804b3f9),
> I can't reproduce it anymore.
>

Okay, so it's probably the issue Srivatsa identified and mentioned to
you, regarding a possible bug in the CFS-devel tree:

> This seems to be similar to the problem Ingo reported
> (http://marc.info/?l=linux-kernel&m=119125007102969). We have sent a fix
> for it subsequently (http://marc.info/?l=linux-kernel&m=119143193812026).
>
> Can you resync to Ingo's latest cfs-devel tree (which will remove the
> bad patch you have), then apply the patch at
> http://marc.info/?l=linux-kernel&m=119143193812026 and verify if the
> problem goes away?

Ray
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/