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
Several issues with busybox-1.30 #11263
Comments
|
I see no adverse effect setting this option. Sorry for noticing those two minor issues later. |
Anything else of interest? Working on this now, hoping to have a PR later. |
I would love to have a package which bootstraps void with busybox as a base. |
Just dumping this here in case that it is useful to someone. I was planning to do it myself but I'm not finding the time lately.
|
@santicalcagno We could realize it as a package option, so anyone who wants can build it himself. |
@the-wrench99, so I have successfully replaced GNU Coreutils with busybox, for both the system and initramfs. I am very pleased with the result. So far I only noticed three minor issues:
I still have an issue with PAM_SCRIPT but it's probably out of scope since it doesn't ship with the system, and I can work around it. For those interested in trying this migration, compile busybox with the standalone option ( If everything works, you can build more applets to check how much of base-system is replaceable with busybox. Alpine has a full busybox base-system so I suspect everything in base-system can eventually be replaced with it. So I cast my vote to revive the |
Is bringing back the busybox base system still being considered? As @Kehak said, I also favour void Linux because of its minimalism and a busybox system would be awesome. Is there a guide or something to help me do this? |
would love to do it, but #15836 and void-linux/xbps#185 are blockers |
I really hope that this feature will be eventually implemented. It'd be amazing to have libressl, runit and busybox working on one system. |
SUID'ing or otherwise adding caps to busybox seems bad. IIRC Alpine carries a patch that moves things around in ping to not require privileges. |
Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it. |
The issues are still present. 🥴 We could probably copy over the patches that Alpine, Adelie and other Linux distros use. |
Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it. |
At that point they might just as well fork busybox.... That's way too many patches. |
Many of those patches should actually be merged upstream. And those which aren't bugfixes should be allowed to be built as options. |
Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it. |
Seems like the way to go would be to create a PR... Busybox is already provided, we should be alright using all the patches from Alpine, which are small tweaks to make Busybox suitable for general systems and not embedded ones. Also, the busybox package should provide "alternatives" like the |
I'm migrating my userland from GNU Coreutils to Busybox and have noticed several issues with the Void package.
CONFIG_FEATURE_USERNAME_COMPLETION
not set in .config.That means the autocompletion will not work for $HOME, which is annoying when using busybox as a login shell. There is no apparent reason why this flag shouldn't be set.
If
/bin/ash
doesn't exist, the package should create a symlink /bin/ash -> /bin/busybox and add it to /etc/shells. This needs to be done manually so far."ping" applet doesn't work
Since adding a suid flag on /bin/busybox is out of question, the following should be done instead:
"less" only show the first line of the file. I couldn't figure this one. Building from the upstream sources provides a working applet so this seems specific to the package.
The static build will most likely be used in the initramfs as a rescue shell, or as the login shell for root (same use case). Setting
CONFIG_FEATURE_SH_STANDALONE
for the static package would probably make sense, so the shell will first use its builtin commands.busybox-1.30.1_1
The text was updated successfully, but these errors were encountered: