![]() |
Re: [Announce] Enhanced BusyBox package
Quote:
I described the way to test it a little wrong. How I tested it: my default shell is bash. From there I opened an sh shell. You guys are probably starting directly in sh. So please all do the test again: This time: start a new shell in x-terminal (by typing sh). In the latest version of busybox TMPDIR is not set. In the previous version it is. Sorry for not describing it accuratly in the first place... |
Re: [Announce] Enhanced BusyBox package
TMPDIR is set in /etc/profile
with Busybox 1.19.3power1 (*not* the recently updated version) TMPDIR is set correctly when opening X-Terminal (login shell, -sh). How are you starting bash? If bash doesn't think it's a login shell it might not load /etc/profile. When you run "sh" (Busybox) from bash (or from -sh) TMPDIR is not (or should not be) set again. If you want bash to read /etc/profile you need "bash --login". |
Re: [Announce] Enhanced BusyBox package
Quote:
|
Re: [Announce] Enhanced BusyBox package
@ade....
could you tell me again step by step to fixed this problem??? your step before this is quite confusing...i try it plenty of time still the same bug on TC... |
Re: [Announce] Enhanced BusyBox package
Quote:
Code:
root |
Re: [Announce] Enhanced BusyBox package
Quote:
Code:
[sbox-FREMANTLE_ARMEL: ~] > cat busybox/busybox-power/debian/config/config.busybox | grep SUIDQuote:
However, I'll disable CONFIG_FEATURE_CHECK_UNICODE_IN_ENV in the upcoming busybox-power build (see Update 3 in this post) Quote:
Update: for some reason the TMPDIR issue is caused by the SUID bit on /bin/busybox. Running "chmod u-s /bin/busybox" fixes the issue with the latest busybox-power. Looking into that now. Update 2: looks like some upstream issue; on my notebook: Code:
[dennis@i7-820qm ~]$ export TMPDIR=/tmpUpdate 3: Busybox-power 1.19.3power3 has been pushed to the repositories. It unsets the SUID bit on /bin/busybox as a temporary workaround until the TMPDIR issue has been fixed properly. At the moment it looks like the issue is an upstream bug. I'll report the bug at BusyBox' bugtracker in a day or so, I want to do some additional tests before submitting a report. This also means that su, ping (and some other SUID-bit requiring applets) won't work as a non-root user anymore (which is also the case with the default BusyBox) until the TMPDIR issue has been resolved. Lastly, CONFIG_FEATURE_CHECK_UNICODE_IN_ENV has been disabled in this new build. A while ago hxka asked me why CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is turned on in busybox-power. I didn't want to disable for compatibility reasons. There appear to be zero issues however, except that Ctrl-Space will produce a question mark instead of a space when Unicode support is turned on (versus the stock BusyBox; BB-power with Unicode support turned off will print no character at all upon pressing Ctrl-Space). |
Re: [Announce] Enhanced BusyBox package
idont, how to send you beer money?
|
Re: [Announce] Enhanced BusyBox package
Quote:
iDont: I haz money that I am obliged to give you - where you want? |
Re: [Announce] Enhanced BusyBox package
Quote:
Quote:
Mentalist Traceur, ^ the same goes for you :). |
Re: [Announce] Enhanced BusyBox package
// Edit
Confirmed, really busybox-power causes this bug! iDont, there have been *unconfirmed* suggestions (although by quite knowledgeable person - freemangordon) that legendary "mysterious" bug with reboot/shutdown (when rebooting device, it actually reboots, then, at stage of Nokia logo, instantly turn itself off - doesn't happen during normal shutdown/powering up), may be caused by some bug in busybox-power. I don't know if You follow (quite bloated) kp49 thread, but I've been trying to solve it with photologs of framebuffer output (was able to capture whole log of framebuffer from faulty startups), and freemangordon is trying to check WTF is going on. So, maybe I'm talking about it too early, but, if You happen to have any ideas/stream of consciousness ;) of something in busybox-power, that may cause it, it would be helpful. BTW, attaching photolog of fbcon output: ..."after" reboot, to point of restart (don't look @ my red notices, they turned out to be non-important): http://lorienart.pl/cover/fmcon_reboot.jpg Just before reboot, after invoking "reboot" in console: http://lorienart.pl/cover/pre-restart.jpg http://lorienart.pl/cover/pre-restart1.jpg (Two little different versions, cause it seems to change between reboots - no idea why). Again, sorry if it's total off-topic here, but lately, twice something "strange" turned out to be busybox-power bug - and no one suspected that - so, I think it's better to be safe than sorry, and pre-report it ;) BTW, this bug is so ancient, that it would be most "epic" fail of tracing problem's origins, if it's really going to turn out as busybox-power related thing. /Estel // edit Of course, in case anybody isn't sure, absolutely no accusing here. // edit confirmed, really busybox-power causes this bug! |
| All times are GMT. The time now is 02:04. |
vBulletin® Version 3.8.8