The Following User Says Thank You to ivgalvez For This Useful Post: | ||
|
2012-03-23
, 16:55
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#252
|
The Following User Says Thank You to qwazix For This Useful Post: | ||
|
2012-03-23
, 19:43
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#253
|
Now I'm not able to reproduce it. Seems to be totally random.
Anyway, considering the low amount of similar reports I think it must be a combination of different pieces of software.
Now back to preenv,. it's strange that it seems not to work any more. I can run WebOS games from WebOS Game Manager application but not from the command line using preenv. After executing preenv, trying to run any executable fails with a can't locate any of the SDL libraries.
I have even reinstalled preenv with no luck, so I wonder if this is not working due to Busybox Power managing something related with environment variables different than standard Busybox.
I have yet to test if uninstalling Busybox Power results in preenv working again. In the meantime, has anyone tried to run preenv from the command line and execute a WebOS game with Busybox Power?
LD_PRELOAD=/opt/preenv/lib/libsdlpre.so LD_LIBRARY_PATH=/opt/preenv/lib
|
2012-04-05
, 10:57
|
Posts: 1,397 |
Thanked: 2,126 times |
Joined on Nov 2009
@ Dublin, Ireland
|
#254
|
|
2012-04-05
, 20:38
|
Posts: 268 |
Thanked: 1,053 times |
Joined on May 2010
@ The Netherlands
|
#255
|
Now I'm not able to reproduce it. Seems to be totally random.
Anyway, considering the low amount of similar reports I think it must be a combination of different pieces of software.
Now back to preenv,. it's strange that it seems not to work any more. I can run WebOS games from WebOS Game Manager application but not from the command line using preenv. After executing preenv, trying to run any executable fails with a can't locate any of the SDL libraries.
I have even reinstalled preenv with no luck, so I wonder if this is not working due to Busybox Power managing something related with environment variables different than standard Busybox.
I have yet to test if uninstalling Busybox Power results in preenv working again. In the meantime, has anyone tried to run preenv from the command line and execute a WebOS game with Busybox Power?
Enhanced BusyBox shell 1.19.3power4 is suitable for promotion to Extras. Did you receive the message from Autobuilder?
|
2012-04-05
, 22:35
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#256
|
Confirmed. Ade's right about the issue causing this.
I'm leaning towards reverting the whole SUID-situation to how things were with busybox-power 1.19.3power1 (that is: no SUID bit and no workaround patch at all). Being able to run ping, su, etc. as a non-privileged user seems to be not worth the effort and the risk of breaking applications like preenv (there may be other applications getting broken that we're not aware of).
The Following 3 Users Say Thank You to ade For This Useful Post: | ||
|
2012-04-05
, 23:10
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#257
|
|
2012-04-07
, 15:57
|
Posts: 268 |
Thanked: 1,053 times |
Joined on May 2010
@ The Netherlands
|
#258
|
I did not look into it to the matter thoroughly, but it only effects starting preenv from the command prompt. As almost all users will use the menu for starting preenv apps, I see the impact as very minor.
Next to this issue I have not seen any other related findings.
I am very satisfied with the current implementation, but would also have no objections if you decide to revert the SUID situation
Aren't there any programs/scripts that are going to break after removing suid bit? why it was introduced for the first tiem - for sole purpose of using few command-line tools, or was it requested to allow easier handling of some scripts for developers?
I.E - aren't there any drawbacks sneaking on us, due to reversing SUID?
/Estel
|
2012-04-27
, 11:05
|
Posts: 268 |
Thanked: 1,053 times |
Joined on May 2010
@ The Netherlands
|
#259
|
|
2012-05-03
, 09:20
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#260
|
Anyway, considering the low amount of similar reports I think it must be a combination of different pieces of software.
Now back to preenv,. it's strange that it seems not to work any more. I can run WebOS games from WebOS Game Manager application but not from the command line using preenv. After executing preenv, trying to run any executable fails with a can't locate any of the SDL libraries.
I have even reinstalled preenv with no luck, so I wonder if this is not working due to Busybox Power managing something related with environment variables different than standard Busybox.
I have yet to test if uninstalling Busybox Power results in preenv working again. In the meantime, has anyone tried to run preenv from the command line and execute a WebOS game with Busybox Power?