|
2011-11-30
, 09:05
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#182
|
The Following User Says Thank You to reinob For This Useful Post: | ||
|
2011-11-30
, 09:40
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#183
|
|
2011-12-11
, 12:46
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#184
|
|
2011-12-11
, 19:25
|
Posts: 268 |
Thanked: 1,053 times |
Joined on May 2010
@ The Netherlands
|
#185
|
@IDont:
Any thoughts on how to proceed with the "TMPDIR" issue?
I have been following the bugreport at busybox.net, and glibc is blamed for for this behaviour. Their only suggestion for a workaround is two busybox binaries. Maybe not the most elegant solution...
Today I adapted a script of mine which needed to ping to check a connection. As I did not want to run it as root, I decided to install Iputils-ping for now, replacing the busybox ping.
Today I adapted a script of mine which needed to ping to check a connection. As I did not want to run it as root, I decided to install Iputils-ping for now, replacing the busybox ping.
|
2011-12-19
, 21:04
|
Posts: 268 |
Thanked: 1,053 times |
Joined on May 2010
@ The Netherlands
|
#186
|
The Following 7 Users Say Thank You to iDont For This Useful Post: | ||
|
2011-12-24
, 10:32
|
Posts: 268 |
Thanked: 1,053 times |
Joined on May 2010
@ The Netherlands
|
#187
|
|
2011-12-24
, 12:30
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#188
|
There's a special build of busybox-power 1.19.3power3 up at our garage page. It installs /etc/environment and parses it prior to applet launch. This file contains simple key-value entries to set environment variables.
Environment variables are only loaded if they're not already set; user/system set variables take precedence over the configuration file (launching "foo" with "TMPDIR=/bar foo" makes TMPDIR not get loaded from the configuration file).
Lastly, /bin/busybox is setuid again in this build, which made eglibc drop e.g. TMPDIR in the first place .
Please test this build and report back any issues you encounter. The build can be found here: https://garage.maemo.org/frs/shownot...elease_id=4754. The parser will be included in busybox-power 1.19.3power4 if no bugs are found.
I've attached the created patch to this post. The introduced load_env_vars() function is based on the already existing parse_config_file() function, so I'm not expecting too much issues. However, as always, feedback is highly appreciated.
|
2011-12-24
, 12:36
|
Posts: 268 |
Thanked: 1,053 times |
Joined on May 2010
@ The Netherlands
|
#189
|
I ended up in a reboot loop after manually installing the deb file and rebooting. No idea if I did something wrong, or if it's an issue of the package
The Following User Says Thank You to iDont For This Useful Post: | ||
|
2011-12-24
, 12:43
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#190
|
The Following User Says Thank You to ade For This Useful Post: | ||
since i'm using CSSU with busybox-power & KP49 same problem but this time it got a little different....
using x-term it will reboot sometime...if using power button (add reboot button) successful reboot is at 80%...if i use the shutdown button successful shutdown will be at 50% while another 50% it just auto-reboot....
My Phone Evolution : Nokia 3650-Nokia 6600-Nokia 6630-Motorola Rizr-Sony P1i-Nokia E63-Nokia X3-Samsung E980-Iphone 2G-Sony W595-Nokia E71-Nokia 5800-Nokia N900-HTC Hero-Xperia Mini Pro