04:19.13 | *** join/#uclibc mjn3 (~mjn3@cdm-208-59-173-laft.cox-internet.com) |
04:56.52 | chouimat|Zzzzz | night |
14:33.23 | *** join/#uclibc mjn3 (~mjn3@cdm-208-59-173-laft.cox-internet.com) |
14:48.01 | *** join/#uclibc sjhill (~NOYB@65.117.135.105) |
15:57.07 | chouimat | morning |
17:03.21 | *** join/#uclibc andersee (~andersen@codepoet.org) |
17:39.21 | *** join/#uclibc TheMasterMind1 (foobar@h-68-166-71-97.MCLNVA23.covad.net) |
17:56.58 | TheGoop | morning |
17:58.25 | TheGoop | # su - dragon |
17:58.25 | TheGoop | su: bb_xasprintf: Permission denied |
17:58.32 | TheGoop | any ideas on that? |
17:58.45 | TheGoop | using bb unstable |
18:14.23 | andersee | TheGoop: setuid /bin/busybox? |
18:14.59 | andersee | TheGoop: generally it is easiest to find the cause of such problems using strace |
18:24.37 | TheGoop | yeah, its suid |
18:28.12 | andersee | try strace then to see what the problem is |
18:28.42 | TheGoop | ha |
18:28.48 | TheGoop | interesting |
18:28.53 | TheGoop | open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied) |
18:29.53 | TheGoop | crw-r----- 1 root root 1, 3 Mar 24 2003 null |
18:31.27 | andersee | user dragon needs access to /dev/null |
18:32.01 | TheGoop | shouldnt that eb 666 anyway? |
18:33.12 | andersee | probably |
18:33.21 | andersee | This is made with buildroot? |
18:33.26 | TheGoop | yeah |
18:33.50 | andersee | ext2 root fs? |
18:33.52 | TheGoop | i just edited my device_table.txt |
18:33.55 | TheGoop | it was 640 |
18:34.01 | TheGoop | minix actually |
18:34.06 | TheGoop | but, i hacked the ext2 |
18:34.26 | TheGoop | so at the end it uses fakeroute to make a minix image and copy stuf over |
18:34.55 | TheGoop | works now |
18:35.03 | andersee | perms on /dev/null should be 666 |
18:35.11 | TheGoop | still have the getpwuid() related errors.. |
18:35.14 | TheGoop | yeah |
18:35.44 | TheGoop | i just changed it to that. if it should be out of cvs, i might have too old of a build root for that |
18:36.08 | TheGoop | ive changed so many little details i dont like to update very often |
18:36.59 | TheGoop | it only cmplains with id: unknown user name: 1000 when i use the - with su |
18:37.34 | TheGoop | but then...# whoami |
18:37.34 | TheGoop | whoami: cannot find username for UID 1000 |
18:37.34 | andersee | TheGoop: /etc/password, /etc/shadow entries for uid 1000? |
18:37.41 | TheGoop | yeah |
18:37.55 | TheGoop | hmm |
18:38.00 | TheGoop | what should the perms on that be? |
18:38.14 | TheGoop | user1000 doesnt need read on that does it? |
18:38.30 | TheGoop | dragon:x:1000:1000:,,,:/home/dragon:/bin/ash |
18:38.33 | TheGoop | thats in passwd |
18:38.47 | TheGoop | dragon:7VruEQxpJ9L4U:11193:0:99999:7::: |
18:38.53 | TheGoop | thats in shadow |
18:39.19 | andersee | looks ok to me |
18:39.27 | andersee | dunno |
18:39.50 | TheGoop | heh |
18:39.52 | TheGoop | that was it |
18:40.07 | TheGoop | 644 on passwd ans shadow |
18:40.17 | TheGoop | $ whoami |
18:40.18 | TheGoop | dragon |
18:42.05 | TheGoop | and sshd works again :) |
18:42.07 | TheGoop | cool |
18:42.23 | andersee | /etc/shadow should be 600 |
18:42.52 | TheGoop | ahh |
18:42.57 | TheGoop | yeah, still works with that |
18:43.06 | andersee | but password should be 644 |
18:43.35 | TheGoop | right |
18:43.42 | TheGoop | that what i have now, and it all works great |
18:48.12 | TheGoop | Linux pb1000 2.4.20-pre6 #14 Mon Mar 24 10:02:42 PST 2003 mips unknown |
18:48.12 | TheGoop | Welcome to Alchemy's PB1000 mips32 test board, running uClibc 0.9.19, BusyBox v0.61.pre, and OpenSSH 3.5p1. |
18:48.18 | TheGoop | my motd :) |
18:48.28 | andersee | sweet! |
18:49.07 | TheGoop | not sure if im going to stay with 0.61 though |
18:49.15 | TheGoop | when is that slated to go stable? |
19:04.19 | andersee | TheGoop: end of the month or mid April |
19:04.46 | TheGoop | oh, that soon. |
19:04.47 | andersee | But after making a stable release there will be plenty of new bugs found. Always happens |
19:05.02 | TheGoop | well, i'll hang on to it then, i think |
19:05.22 | TheGoop | i dont forsee this project moving past me before then, so it shouldnt be a problem |
19:05.25 | andersee | TheGoop: if you are using a _very_ recent busybox snapshot most things should be working |
19:05.40 | TheGoop | yeah, grabbed one about 2 hours ago |
19:06.05 | TheGoop | oh, who doesnt work...or it doesnt care about /dev/console or pts terminals |
19:07.20 | TheGoop | hmm, nevermind... |
19:07.36 | TheGoop | i dont seem to have /vat/run/utmp |
19:07.57 | TheGoop | oh, is there a busybox.conf example somwhere? |
19:08.05 | TheGoop | i couldnt find one |
19:08.15 | andersee | TheGoop: the mailing list... |
19:08.27 | TheGoop | ahh, ill check it out |
19:08.28 | andersee | TheGoop: google for busybox.conf and you should find one |
19:23.30 | TheGoop | hmm |
19:23.51 | TheGoop | im not having ny luck with google, ill just post tot he list about it laterand see what i get... |
21:16.26 | *** join/#uclibc sjhill (~NOYB@65.117.135.105) |
22:17.38 | *** join/#uclibc mjn3 (~mjn3@cdm-208-59-173-laft.cox-internet.com) |
23:47.51 | *** join/#uclibc bug1 (~bug1@c17156.sunsh3.vic.optusnet.com.au) |