[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071007164937.GA4382@bit.office.eurotux.com>
Date: Sun, 7 Oct 2007 17:49:37 +0100
From: Luciano Rocha <strange@....no-ip.org>
To: Ray Lee <ray-lk@...rabbit.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: can't change euid 0 to uid != running user
On Fri, Oct 05, 2007 at 08:28:50AM -0700, Ray Lee wrote:
> On 10/5/07, Luciano Rocha <strange@....no-ip.org> 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
> >
> > The first sudo also worked while I had a shell under user ie.
> >
> > When I exited, it stopped working, but it is now working every time I
> > trie it.
> >
> > dmesg shows:
> >
> > [82602.729330] kobject_add failed for 504 with -EEXIST, don't try to
> > register things with the same name in the same directory.
> > [82602.729365] [<c04b9195>] kobject_shadow_add+0x16e/0x1a0
> > [82602.729383] [<c04b9480>] kobject_set_name+0x29/0x92
> > [82602.729504] [<c04238ea>] user_kobject_create+0x6a/0x90
> > [82602.729520] [<c0423cce>] alloc_uid+0x18f/0x1d7
> > [82602.729530] [<c0427030>] set_user+0x1c/0x8f
> > [82602.729539] [<c0428b5f>] sys_setresuid+0xd5/0x162
> > [82602.729552] [<c0403e6a>] syscall_call+0x7/0xb
> > [82602.729575] =======================
> >
> > $ git describe
> > v2.6.23-rc9-156-ga95dacb
> >
> > (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.
The commits since v2.6.23-rc9:
804b3f9a16e446cb023417faec58b6506c834052 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev
3e0ca2f148f97c5748f52bcf2a69dd17cb2b1d13 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
c7659e2c139d0be4647bef89188a932e0254d709 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
66b1f1a982bf4dbad9fa0de25b8d95c4936f05c4 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6
991bf528f602882580d0918842b125255d246a19 drivers/ata/pata_ixp4xx_cf.c: ioremap return code check
90925d3050253ff7b4f5d1660071df75f44bd0ff Ata: pata_marvell, use ioread* for iomap-ped memory
4007b493ee6e4a52c2b618ab8361847fba5bf116 libata: fix for sata_mv >64KB DMA segments
bda0233b89c10ae46ccecb78bffdaf0fd7833d17 ocfs2: Unlock mutex in local alloc failure case
529d303e075aa6d988f30935b8995ffb382ad38e sky2: jumbo frame regression fix
5c55c434917429f229a1bf43def97fd421f444c6 Merge branch 'fixes-jgarzik' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into upstream-fixes
cda6a20b68c1f21f4b4bc9cd3ee08494e7ebf0d5 Blackfin arch: fix PORT_J BUG for BF537/6 EMAC driver reported by Kalle Pokki <kalle.pokki@....fi>
c58c2140f08de4ad0b0dbd48f6e78168dc321042 Blackfin arch: gpio pinmux and resource allocation API required by BF537 on chip ethernet mac driver
9ea0f043fec38fadb0101fbf29563a5635f42e93 [MIPS] Terminally fix local_{dec,sub}_if_positive
fef74705ea310acd716c2722bfeb0f796cf23640 [MIPS] Type proof reimplementation of cmpxchg.
f6a9e6dec537dc1d9d2c62d7b8ad205d0993bddc [MIPS] pg-r4k.c: Fix a typo in an R4600 v2 erratum workaround
ee0a8169b693e1c708d0f9af0a5e4ade65a65439 [PATCH] softmac: Fix compiler-warning
4365e99f9587b94010e9818a4237ce2b1c734e91 [PATCH] bcm43xx: Correct printk with PFX before KERN_
f778089cb2445dfc6dfd30a7a567925fd8589f1e Merge branch 'sas-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6
db7a89db5e3bc6ba131965183577b15fd6fc92cc Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
2910ca6f8ae69648623b3c05b79be87dd7bda73d Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev
d237098c03eb91cef240e9a1b248c0e1ecd1c80c Merge git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched
114d5b1ca265f8a582dcbf0030da20ccdddbe8e1 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
2b3b29080d702e5488f214276170ab46adc40ee5 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
e80eaf9904d5b19512265e1435372b2e12146a5f Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
d136552e8beadcf5e59089292e2ba44f09e3aad8 aic94xx: fix DMA data direction for SMP requests
f662fe5a0b144efadbfc00e8040e603ec318746e dm9601: Fix receive MTU
593ff56ef2a23ed3a66ee87d9c9b33044b9fb193 mv643xx_eth: Do not modify struct netdev tx_queue_len
50626297b1beb0a29c0f174be39f36485533216c qla3xxx: bugfix: Fix VLAN rx completion handling.
b323e0e49fe9331ee3a7a336af879d6e303b16b3 qla3xxx: bugfix: Add memory barrier before accessing rx completion.
4c74d4ec3524a8f31deadd115139dd93bc91d598 ata_piix: add another TECRA M3 entry to broken suspend list
30084fbd1caa4b2e1a336fcdef60b68129d1d8f8 sched: fix profile=sleep
25e5566ed38650f7990041fcd20571d6ddd2a040 [SPARC64]: Fix missing load-twin usage in Niagara-1 memcpy.
04045f98e0457aba7d4e6736f37eed189c48a5f7 [IEEE80211]: avoid integer underflow for runt rx frames
9b42c336d06411e6463949d2dac63949f66ff70b [TCP]: secure_tcp_sequence_number() should not use a too fast clock
32740ddc1095e5e320bf961dda146bf97bc28adb [SFQ]: Remove artificial limitation for queue limit.
e48395f1753cab0fde6c03f1db833cece9ef2ba0 [POWERPC] Fix xics set_affinity code
8cc8c28a9acdceda0e60519167a052cc3408c5c3 [SPARC64]: Fix put_user() calls in binfmt_aout32.c
9c908f97d0f9aee32fa6d4b0a44c4c5d0ccab2b0 [SPARC]: Fix EBUS use of uninitialized variable.
0b95f22bd3b91c7114c6892bbfbb5a8576b27fbe Blackfin arch: add some missing syscall
576bb9ced2d274446639d7fbeee7125e24daf012 binfmt_flat: checkpatch fixing minimum support for the blackfin relocations
f9720205d1f847cb59e197e851b5276425363f6b Binfmt_flat: Add minimum support for the Blackfin relocations
--
lfr
0/0
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists