[PATCH] Bug 815 [was: [PATCH] Bug 836]

Bernhard Fischer rep.nop at aon.at
Sun Jun 11 09:58:03 PDT 2006


On Sun, Jun 11, 2006 at 06:48:20PM +0200, Bernhard Fischer wrote:
>On Sun, Jun 11, 2006 at 04:43:31PM +0200, Yann E. MORIN wrote:
>>On Sunday 11 June 2006 164, Yann E. MORIN wrote:
>>> This patch from zaga should close http://bugs.busybox.net/view.php?id=836
>>
>>Woopsss... That was http://bugs.busybox.net/view.php?id=815
>
>Shouldn't the DEFAULT_ROOT_LOGIN_PATH be in the env of the process
>execing insmod/rmmod? Putting the absolute path in there sounds a bit
>odd to me, no?

To be more elaborate.
Imagine my box has system-specific stuff in /system/, in a flat model
(libs, sbin's, bin's, config-files all flat out in /system/).

The superuser's path (and eventually library path) is set to /system/

See how hardcoding /sbin/ isn't a good idea and how it's the superuser's
duty to set the path to system binaries properly..

In my POV #815 is a config issue of that specific user and nothing we
should (and can!) take care of..


More information about the busybox mailing list