IRC log for #uclibc on 20091118

00:08.15*** join/#uclibc _Lucretia_ (n=munkee@pdpc/supporter/active/lucretia)
03:59.19*** join/#uclibc CIA-33 (n=CIA@208.69.182.149)
05:57.41*** join/#uclibc fabled (n=fabled@kulho175.adsl.netsonic.fi)
07:17.24*** join/#uclibc kos_tom (n=thomas@humanoidz.org)
07:18.42*** join/#uclibc hw_ (n=hw@p578b3905.dip0.t-ipconnect.de)
07:57.40*** join/#uclibc fonz (n=tp@e178032229.adsl.alicedsl.de) [NETSPLIT VICTIM]
08:04.01*** join/#uclibc tchan (n=tchan@c-67-173-9-133.hsd1.il.comcast.net)
08:04.01*** join/#uclibc solar (n=solar@140.211.166.183) [NETSPLIT VICTIM]
08:04.04*** join/#uclibc skullY_ (i=zwhite@darkstar.frop.org)
08:05.09*** join/#uclibc phenompanda (n=hzhang@221.221.159.109) [NETSPLIT VICTIM]
08:55.28CIA-3303lwalkera 07master * r83182dd28edf 10/ (CHANGES target/Config.in.arch): Add support for the Cortex-A8 ARM target
08:58.01*** join/#uclibc fonz_ (n=tp@e178054202.adsl.alicedsl.de)
09:32.44*** join/#uclibc ncopa (n=ncopa@ti211310a081-3214.bb.online.no)
09:49.10CIA-3303dan 07master * r5b0a7f1a6e66 10/coreutils/wc.c: wc: fix a hang gue to isprint(EOF)
10:35.12CIA-3303vda.linux 07master * r8684cbb5cc2c 10/ (9 files in 7 dirs): libbb: robustify isXXXX(). +39 bytes
11:48.01busybot[New Bug] https://bugs.uclibc.org/727 enh, P5, uClibc, yann@droneaud.fr->unassigned@uclibc.org, NEW, pending, On uClibc configured with thread, including <stdio.h> leads to <pthread.h>/<sched.h> inclusion
12:11.45*** join/#uclibc gustavoz (n=gustavoz@host108.201-253-243.telecom.net.ar)
12:44.22*** join/#uclibc meepmeep (i=meepmeep@212.24.104.229)
12:44.24meepmeephey :)
12:47.37*** join/#uclibc gustavoz (n=gustavoz@host108.201-253-243.telecom.net.ar)
12:48.03meepmeepI have a little question ... http://pastebin.ca/1676349 I change my "home" directory on /etc/passwd, it works great for the login, but in the shell, my home is still /root ... why ?
13:12.02blindvt`meepmeep, grep $USER: /etc/passwd
13:15.17meepmeepblindvt` meepmeep:x:1026:100::/usr/meepmeep:/bin/ash
13:15.27meepmeep(I change the directory over there only)
13:15.51meepmeepThe real strange thing is that from a "su meepmeep" on root, I get all parameter right ( ~ = /usr/meepmeep)
13:16.07meepmeepmaybe I have to restart ssh ?
13:16.56gustavozsu without - won't change your current directory
13:17.11meepmeepno but su meepmeep and then echo ~  is working
13:19.04meepmeep(getting /usr/meepmeep)
13:19.09meepmeepI'll try a restart right now
13:21.10gustavozcheck that .profile & co aren't doing any funky stuff too
13:22.17meepmeephum
13:23.07blindvt`meepmeep, echo $HOME
13:23.41meepmeepecho $HOME = echo ~
13:23.43meepmeepfor me
13:23.46meepmeepI check
13:23.57blindvt`meepmeep, '~' literally  or a real path?
13:24.04meepmeepliterally
13:24.07meepmeeplike "cd"
13:24.17meepmeepecho $HOME > /root
13:24.31meepmeep(I remvoe all dotfiles)
13:24.48blindvt`meepmeep, you shouldn't have '~' as HOME but a real path.
13:25.18meepmeepecho ~ >> /root
13:25.28meepmeepand $home >> /root
13:25.29blindvt`meepmeep, i suspect you somewhere export HOME="~"
13:25.43blindvt`meepmeep, don't do that, HOME is automatically set for you
13:26.34meepmeepYes i know
13:26.45meepmeepI don't touch the variable (not in shell)
13:27.14meepmeepI removed all .bash .profile etc
13:27.17meepmeepreload sshd
13:27.24gustavozyou don't need to reload ssh
13:27.41meepmeepand still get /root as "$home" (but after login I go to /usr/meepmeep)
13:27.59blindvt`meepmeep, like gustavoz said, you have to "su - meepmeep" to do away with the previous env
13:28.36meepmeepYes, when I talk about the incorrect parameter, I always try from a fresh ssh login
13:29.03blindvt`meepmeep, and do you login from a root account, like root@yourbox # ssh meepmeep@1.2.3.4
13:29.16meepmeepnon
13:29.27meepmeeplogin from putty on windowd
13:29.27blindvt`meepmeep, if so then make sure that ssh doesn't push it's env to the target
13:30.01meepmeephum
13:30.08meepmeepwith su - meepmeep I get the same error btw
13:30.21meepmeep(arriving on the good directory, but $HOME is still /root)
13:30.31meepmeeplett's try a little reboot
13:30.41gustavozthat won't help
13:31.07meepmeepit cost nothing
13:31.13gustavozthere's no cache for that stuff so it's pointless
13:31.30meepmeepexcept if one ipkg package is messing something
13:31.43gustavozhow?
13:32.07meepmeepthat would be the question
13:32.24meepmeepIs there a way to make a debug/trace from a login to get all variable ?
13:33.35gustavozchecked that /etc/profile isn't busting you either?
13:34.03meepmeepdidn't check that one
13:34.23gustavoztold you, .profile & co(mpany) (which includes /etc/profile)
13:35.31meepmeepI don't know what could be "behind" "company"
13:35.40meepmeepAs i said, I removed all DOTfiles
13:36.03gustavozok, but don't go all with obscure theories like restarting things if you don't know
13:36.14meepmeepHOME=/root
13:36.31meepmeepI removed it or change it to HOME=$HOME
13:36.36meepmeep(souldn't work)
13:37.07gustavoz.profile /etc/profile and others shouldn't touch HOME whatsoever
13:37.19meepmeepok great
13:37.21meepmeepit's working
13:37.23meepmeepthan yo
13:37.24meepmeepyou
13:38.23gustavozthere are a few exceptions but if you don't know what they are then you shouldn't touch it
13:39.49meepmeepyeah
13:40.05meepmeepthe risk of damaging something was around 0
13:41.04meepmeepas i'm here, I read that busybox don't support su from user (I get an incorrect password). I read that I should put a +s on su binary
13:43.45gustavozusually busybox applets are symlinks to the busybox binary and hence just the busybox binary should be +s
13:45.08meepmeephum
13:45.16meepmeepfor security reason it's quite a ba idea
13:45.17meepmeepbad
13:45.55gustavozno, busybox handles that by design
13:46.31gustavozonly the applets that usually need that use it, for the rest it defaults to dropping privs
13:54.34blindvt`(before even runnin foo_main)
13:55.33blindvt`meepmeep, we waste^Wspend about 1.5k on proper suid handling and believe me i'd be first to rip that stuff out if it was pointless ;)
13:57.18gustavozyou're always digging for the last byte ;)
14:07.15meepmeephum
14:07.29meepmeepso chmod +s busybox should be enough to access su command
14:12.46gustavozyes, the su applet uses it by default
15:55.56*** join/#uclibc wberrier (n=wberrier@12.191.193.40)
16:04.23*** join/#uclibc mnt_real (n=sinan@bas12-montrealak-1167975882.dsl.bell.ca)
17:28.15*** join/#uclibc sjhill (n=sjhill@home.bethel-hill.org)
17:42.46*** join/#uclibc austinf (n=austinf@cetoncorp.com)
17:59.18*** join/#uclibc austinf (n=austinf@cetoncorp.com)
18:13.33*** join/#uclibc gustavoz (n=gustavoz@host108.201-253-243.telecom.net.ar)
19:19.31*** join/#uclibc tsukasa` (n=tsukasa@unaffiliated/tsukasa)
19:50.19*** join/#uclibc trem (n=trem@AToulouse-256-1-74-199.w86-205.abo.wanadoo.fr)
20:13.01busybot[New Bug] https://bugs.uclibc.org/729 nor, P5, buildroot, minimod@morethan.org->unassigned@buildroot.uclibc.org, NEW, pending, sstrip creates corrupted headers
21:52.20*** join/#uclibc hgb_ (n=hgb@tussi.moria.no)
22:21.21*** join/#uclibc svolpe (n=Gerrath@unaffiliated/gerrath)
23:13.50tremnite all, sweet dreams
23:52.25*** join/#uclibc irotas (n=irotas@CPE00234d317251-CM0018c0b37a44.cpe.net.cable.rogers.com)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.