-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
busybox not found from the expected path #60
Comments
Thanks for the report. Can you run |
1.builtin busybox interferes with ndkbsybox bcoz it comes in path first ,so can u modify the script to lookin bin directory for ndkbsybox or else path variable should be modified to checkin bin directory first. 2.how to shutddown distro? from inside. |
update distro links |
Thanks for the reports. I would prefer if unrelated issues are reported separately. Regarding the original issue, I'm still waiting for the information I have asked. Regarding the first point, this has been taken care of in the script. Regarding the second point, if there is no extra processes running then simple Regarding the distro download links, I'm aware of this, and there is several reports about this. Unfortunately both of us maintainers has been busy IRL so we haven't been able to contribute much. Also, I have had to implement big feature requests which has taken all the available time. Thus I have had to prioritize things and unfortunately this has been rather low on the list (even though I know that it is not a big job, at least in most cases). |
ok! |
Just to clarify, the warning should be issued only if Busybox wasn't found from expected places. The script will still use the found Busybox to ensure as consistent scripting environment as possible. If you run the above mentioned We would love to support every environment available but there is only so much time available for us to maintain thus we need to set a baseline, and that baseline is currently having a separately installed Busybox for Android NDK Magisk module. The warning just means that the maintainers have not actively tested the currently used combination, and rely on other users to report problems. If you feel that the current warnings are too intrusive and/or could use better wording, suggestions are welcome. Please do note that after successful installation there will be no warnings. |
But, still I would like to know the information requested originally to ensure that there is no problems. If you don't want to share it, no problem, but please do inform about it so that I can close the issue as currently there is no known bug/issue about this. If you have a valid suggestion about the warning then I will try to incorporate it when I will have time (currently this is even lower priority than before mentioned download link fixing, unless you can prove that there is a bug). |
$chroot-distro env Script: /system/bin/chroot-distro ] mkuser dir contains symlink of builtin busybox thats why it called first. |
Thanks for all the extra information. If you want, could you at least provide Android version, and if you are using custom rom (and if yes, what custom rom), so I a have something to compare against if there is more issues related to this? Also, can you run
so that I can know where does it point? I would like to keep the implementation as simple as possible. Thus, if I can make it work just by dereferencing the link then I would rather do it so. I did some research on that mkuser folder and I'm left wondering if you have multiple user profiles in use. Would you care share information about this? Or, do you have MMRL installed? It may help with developing a fix for your situation. |
You have to understand that I have only one old device where I can test things (Magisk without anything else except Busybox Android ndk module). This means that if somebody encounters a problem then I have to get enough information about the situation that I can first understand the issue. After that I will need to get enough information to fix the issue while keeping the existing users happy. Depending on situation the change may be small, or big, but the effect can be also small, or big, regardless what size the change is. So, a one liner can be a point release, or it can change the major number (i.e. backwards incompatible change). The current situation is that I have enough information to understand the issue, but don't have enough information to confidently fix the issue without causing problems to other users. I can understand if you don't want to share information because of privacy concerns, but to solve this issue I need to know at least where does |
@nglmercer @vince06fr @DeraidSeven @sabamdarif @anaxonda @defectly @univers629 @hopez13 Sorry to bother you guys, but if you have a little bit of time, I would appreciate if you could check if the This would help me assess the problems caused by derefencing The more data points I get the better, so even if you only have information that it is not a link, then that is ok also. |
i have MMRL version 2.20.21 installed
|
Thanks, and is it link? What does |
|
I just installed the BusyBox module and this module and am experiencing the same thing.
|
Everyone who wants to report about the issue, please, include the output of the As far as I know there is three different issues which can come into play:
The first case is about being community supported (we rely on user reports to spot problems with this case). The second one should not cause a warning as the script will detect the module, and use it. The current issue is for the third case. And for this I need enough information to fix the issue. Also, if possible please use the latest version for the reporting to ensure that all the relevant information is available for reporting (older versions may not output all the needed information as |
This issue has got myself thinking about the implementation. When I originally added the check for the busybox I wanted to
Also, when I originally implemented it I was under impression that there isn't much variation about the busybox location (apart from the shell affecting it, at most), and I thought that I would be able to quickly whip up a fix, if it didn't work. Given the current situation there is clearly quite much variation, and I don't have too much time to spend on this project, I'm starting to lean on the side that if Busybox for Android NDK module is found, and the busybox from PATH is unknown then the script will prefer the known version (but maybe with a note about it so that you guys will hopefully report those cases). This way you guys will not be prevented from using the script while hopefully ensuring that the problems will be reported. This change will be now my first priority to do as I don't want to prevent people from using the script. |
i think we should provide our own BusyBox if that's possible. we could try getting it from BusyBox for Android NDK. the module installer with customize.sh could first check if BusyBox for Android NDK is installed. if it is, the BusyBox we obtained from BusyBox for Android NDK should not be installed, and vice versa. what do you think? this way we can avoid all these BusyBox-related headaches. @jjkola |
If there are other BusyBox modules installed that's not Busybox Android NDK by osm0sis, we'll notify users about potential conflicts and inform them that their existing BusyBox will be replaced with our provided version. |
I don't think I want add our own Busybox, or that it is installed automatically unless it is by using package meta-data (i.e. the packaging system installs it). |
I have now made a first implementation but since I have not tested the change in any way, I will not yet publish the code. I'll try to test it as soon as possible. |
well.. sounds good, no need to rush on the code - better test it properly first. |
Busybox NDK intsalled but it replies with not found from expected path,How to set NDkbusybox as primary.
The text was updated successfully, but these errors were encountered: