home.social

#busybox — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #busybox, aggregated by home.social.

  1. PSA: In #debian unstable, "copy_exec /bin/lsblk" stopped working when used in an initramfs-tools hook. Why? The #busybox 1.38.0 upload enabled the lsblk applet and (to my surprise) the "copy_exec" function will not overwrite the destination file if it already exists. Since busybox lsblk does not support any command line flags, my initramfs scripts which expected lsblk from util-linux failed in funny and non-obvious ways. Time to make these scripts more robust. :)

  2. PSA: In #debian unstable, "copy_exec /bin/lsblk" stopped working when used in an initramfs-tools hook. Why? The #busybox 1.38.0 upload enabled the lsblk applet and (to my surprise) the "copy_exec" function will not overwrite the destination file if it already exists. Since busybox lsblk does not support any command line flags, my initramfs scripts which expected lsblk from util-linux failed in funny and non-obvious ways. Time to make these scripts more robust. :)

  3. Just finished a PoC if i could bootstrap pkgsrc on my self-assembled minimal docker container.

    Ingredients: skarnet-musl-toolchain. busybox-static, toybox-static, gawk, gsed, gtar, gmake, libz, libexpat, libxcrypt, libbsd, libmd, musl-{bsdcompat,fts,obstack,rpmatch}, and finally pkgsrc from netbsd.

    after a few ins and outs, and learning the ropes, bootstrapping worked flawlessly.

    shout out for the developers for their good work!

    #docker #toybox #busybox #LFS #LFN #pkgsrc #linux #musl

  4. Just finished a PoC if i could bootstrap pkgsrc on my self-assembled minimal docker container.

    Ingredients: skarnet-musl-toolchain. busybox-static, toybox-static, gawk, gsed, gtar, gmake, libz, libexpat, libxcrypt, libbsd, libmd, musl-{bsdcompat,fts,obstack,rpmatch}, and finally pkgsrc from netbsd.

    after a few ins and outs, and learning the ropes, bootstrapping worked flawlessly.

    shout out for the developers for their good work!

    #docker #toybox #busybox #LFS #LFN #pkgsrc #linux #musl

  5. Just finished a PoC if i could bootstrap pkgsrc on my self-assembled minimal docker container.

    Ingredients: skarnet-musl-toolchain. busybox-static, toybox-static, gawk, gsed, gtar, gmake, libz, libexpat, libxcrypt, libbsd, libmd, musl-{bsdcompat,fts,obstack,rpmatch}, and finally pkgsrc from netbsd.

    after a few ins and outs, and learning the ropes, bootstrapping worked flawlessly.

    shout out for the developers for their good work!

    #docker #toybox #busybox #LFS #LFN #pkgsrc #linux #musl

  6. Just finished a PoC if i could bootstrap pkgsrc on my self-assembled minimal docker container.

    Ingredients: skarnet-musl-toolchain. busybox-static, toybox-static, gawk, gsed, gtar, gmake, libz, libexpat, libxcrypt, libbsd, libmd, musl-{bsdcompat,fts,obstack,rpmatch}, and finally pkgsrc from netbsd.

    after a few ins and outs, and learning the ropes, bootstrapping worked flawlessly.

    shout out for the developers for their good work!

    #docker #toybox #busybox #LFS #LFN #pkgsrc #linux #musl

  7. Just finished a PoC if i could bootstrap pkgsrc on my self-assembled minimal docker container.

    Ingredients: skarnet-musl-toolchain. busybox-static, toybox-static, gawk, gsed, gtar, gmake, libz, libexpat, libxcrypt, libbsd, libmd, musl-{bsdcompat,fts,obstack,rpmatch}, and finally pkgsrc from netbsd.

    after a few ins and outs, and learning the ropes, bootstrapping worked flawlessly.

    shout out for the developers for their good work!

    #docker #toybox #busybox #LFS #LFN #pkgsrc #linux #musl

  8. Ten years ago, I built a #WebSocket server using nothing but #UNIX shell and #BusyBox tools. 🛠️

    Looking back at `websocket.sh` today, it's just a fun, interesting project that shows how far you can stretch basic tools.

    Read the original post: meefik.dev/2016/08/04/websocke

    #Linux #Bash #Coding #Throwback

  9. Ten years ago, I built a #WebSocket server using nothing but #UNIX shell and #BusyBox tools. 🛠️

    Looking back at `websocket.sh` today, it's just a fun, interesting project that shows how far you can stretch basic tools.

    Read the original post: meefik.dev/2016/08/04/websocke

    #Linux #Bash #Coding #Throwback

  10. Following on from my #kindle hacking - I haven't yet got a custom kernel booting but I did use the bootargs to drop into a simple #busybox shell which meant I could root the device by changing the password:

    1. Connected up serial lines (1.8v)
    2. Drop into u-boot
    3. `setenv bootargs setenv bootargs root=/dev/mmcblk0p1 earlyprintk console=ttymxc0,115200 init=/bin/sh`
    4. `boot`
    5. Once it drops into the busybox shell do `mount -o remount, rw /` to remount the as rw
    6. `passwd`
    7. Set a new password
    8. `reboot now` and this time let it fully boot up
    9. Login in via serial using `root` and your password

  11. Following on from my hacking - I haven't yet got a custom kernel booting but I did use the bootargs to drop into a simple shell which meant I could root the device by changing the password:

    1. Connected up serial lines (1.8v)
    2. Drop into u-boot
    3. `setenv bootargs setenv bootargs root=/dev/mmcblk0p1 earlyprintk console=ttymxc0,115200 init=/bin/sh`
    4. `boot`
    5. Once it drops into the busybox shell do `mount -o remount, rw /` to remount the as rw
    6. `passwd`
    7. Set a new password
    8. `reboot now` and this time let it fully boot up
    9. Login in via serial using `root` and your password

  12. @jpmens

    In the spirit of there always being 1 more #vi clone than one thinks, notice that @lpar 's list is lacking Ali Gholami Rudi's #neatvi which is packaged in #pkgsrc and about a decade old now.

    pkgsrc.se/editors/neatvi

    And even then the rule still applies. There's 1 more clone: Sterling Huxley's and Brent Roman's #viless, a quarter of a century old and what #BusyBox supplies.

    github.com/brentr/viless

    #NetBSD #OmniOS

  13. @jpmens

    In the spirit of there always being 1 more #vi clone than one thinks, notice that @lpar 's list is lacking Ali Gholami Rudi's #neatvi which is packaged in #pkgsrc and about a decade old now.

    pkgsrc.se/editors/neatvi

    And even then the rule still applies. There's 1 more clone: Sterling Huxley's and Brent Roman's #viless, a quarter of a century old and what #BusyBox supplies.

    github.com/brentr/viless

    #NetBSD #OmniOS

  14. @jpmens

    In the spirit of there always being 1 more #vi clone than one thinks, notice that @lpar 's list is lacking Ali Gholami Rudi's #neatvi which is packaged in #pkgsrc and about a decade old now.

    pkgsrc.se/editors/neatvi

    And even then the rule still applies. There's 1 more clone: Sterling Huxley's and Brent Roman's #viless, a quarter of a century old and what #BusyBox supplies.

    github.com/brentr/viless

    #NetBSD #OmniOS

  15. @jpmens

    In the spirit of there always being 1 more #vi clone than one thinks, notice that @lpar 's list is lacking Ali Gholami Rudi's #neatvi which is packaged in #pkgsrc and about a decade old now.

    pkgsrc.se/editors/neatvi

    And even then the rule still applies. There's 1 more clone: Sterling Huxley's and Brent Roman's #viless, a quarter of a century old and what #BusyBox supplies.

    github.com/brentr/viless

    #NetBSD #OmniOS

  16. Randomly wondering: Does anyone know what's going on with #Busybox? The last release is a year and half old, there has been development in Git, including bugfixes (including ones that may be relevant for security, like 3fb6b31c716669e12f75a2accd31bb7685b1a1cb), but there's no sign of a new release. The mailing list is mostly people complaining gitweb doesn't work, and a fix for httpd I sent early this month didn't get any response… ​:neocat_think:​

  17. Randomly wondering: Does anyone know what's going on with #Busybox? The last release is a year and half old, there has been development in Git, including bugfixes (including ones that may be relevant for security, like 3fb6b31c716669e12f75a2accd31bb7685b1a1cb), but there's no sign of a new release. The mailing list is mostly people complaining gitweb doesn't work, and a fix for httpd I sent early this month didn't get any response… ​:neocat_think:​

  18. Naty S @eclecticpassions ·

    After discovering from @jbaty, I went ahead to give (lightweight TW fork) a spin as a personal bin. I really like how it’s just a HTML file at 58kb!

    Using , it failed due to Android Storage Access Framework (#SAF) limitations. I ended using the amazing once again to run , automate the whole process of opening, serving & saving back to my…

    Full note: burgeonlab.com/notes/2026/0325
    Syndicated by

  19. After discovering #TiddlyWiki from @jbaty, I went ahead to give #FeatherWiki (lightweight TW fork) a spin as a personal #braindump bin. I really like how it’s just a HTML file at 58kb!

    Using #Android, it failed due to Android Storage Access Framework (#SAF) limitations. I ended using the amazing #Termux once again to run #Busybox #httpd, automate the whole process of opening, serving & saving back to my…

    Full note: burgeonlab.com/notes/2026/0325
    Syndicated by #Indiekit

    #syncthing #bash #wiki #FOSS

  20. Varastossa makaa pari hyvin vanhaa QNAP’n NAS palvelinta ja siellä olisi terakaupalla hyvää tilaa esim. perheen kuville, puhelinten varmuuskopioiden ja kuvagallerialle. En vaan ole varma saako niistä enää mitään käyttöön, kun QNAPin tuki NASin Busybox distrolle taitaa olla loppunut vuosia sitten.

    #qnap #nas #backup #homeautomation #busybox #linux

  21. Varastossa makaa pari hyvin vanhaa QNAP’n NAS palvelinta ja siellä olisi terakaupalla hyvää tilaa esim. perheen kuville, puhelinten varmuuskopioiden ja kuvagallerialle. En vaan ole varma saako niistä enää mitään käyttöön, kun QNAPin tuki NASin Busybox distrolle taitaa olla loppunut vuosia sitten.

    #qnap #nas #backup #homeautomation #busybox #linux

  22. ⚠️ Unlike typical exploits, no buffer overflow or memory corruption needed - just one manipulated environment variable grants root access

    🛡️ Not all Telnet implementations affected - only #GNU inet utils; proprietary versions like #Cisco and #BusyBox are safe

    📊 #GreyNoise threat intelligence reports multiple exploit attempts per hour already detected in the wild

    🔄 Telnet's unencrypted nature makes attacks visible to defenders monitoring plaintext traffic for "-f root" patterns

  23. ⚠️ Unlike typical exploits, no buffer overflow or memory corruption needed - just one manipulated environment variable grants root access

    🛡️ Not all Telnet implementations affected - only #GNU inet utils; proprietary versions like #Cisco and #BusyBox are safe

    📊 #GreyNoise threat intelligence reports multiple exploit attempts per hour already detected in the wild

    🔄 Telnet's unencrypted nature makes attacks visible to defenders monitoring plaintext traffic for "-f root" patterns

  24. @jas

    My first suspect for a #login not supporting -- would be something with a 1980s history pre-dating standard #getopt, such as Solaris, which is ironic given that #inetutils has its only -- present in conditionally compiled code targetting Solaris.

    #FreeBSD, #NetBSD, and #OpenBSD login all use getopt(), pervasive in these worlds for decades, as do the util-linux login (used by Debian et al.), and the #Illumos and #BusyBox logins.

    #suckless login supports -- via ARGBEGIN.

    @ska @cazabon

  25. @jas

    My first suspect for a #login not supporting -- would be something with a 1980s history pre-dating standard #getopt, such as Solaris, which is ironic given that #inetutils has its only -- present in conditionally compiled code targetting Solaris.

    #FreeBSD, #NetBSD, and #OpenBSD login all use getopt(), pervasive in these worlds for decades, as do the util-linux login (used by Debian et al.), and the #Illumos and #BusyBox logins.

    #suckless login supports -- via ARGBEGIN.

    @ska @cazabon

  26. anyone know of a repo with a shairport-sync pkg that defaults to airplay 1?

    there're currently 3 variants all built on airplay 2

    shairport-sync-mbedtls is supposed to be airport one according to ted's makefile but reporting on my system as airport2

    #openwrt #shairport #wirelessAudio #busybox #linux

  27. anyone know of a repo with a shairport-sync pkg that defaults to airplay 1?

    there're currently 3 variants all built on airplay 2

    shairport-sync-mbedtls is supposed to be airport one according to ted's makefile but reporting on my system as airport2

    #openwrt #shairport #wirelessAudio #busybox #linux

  28. at some point I'm gonna need to get somebody experienced with scripting in BusyBox's version of ash to review my code and tell me where I've come up with terrible ways of doing things for which there is a much cleaner way...

    #BusyBox #ash

  29. at some point I'm gonna need to get somebody experienced with scripting in BusyBox's version of ash to review my code and tell me where I've come up with terrible ways of doing things for which there is a much cleaner way...

    #BusyBox #ash

  30. #UNIX #oneliner #shellscript:

    clear && echo "" && date | tr -d "\n" && uptime && echo ""

    Output:

    Sat Dec 20 12:18:53 GMT Standard Time 2025 12:18:53 up 5 days, 16:03, load average: 0.00, 0.00, 0.00

    NB This #commandline #wizardry is a #busybox script running on #Windows11. Enjoy #DOScember.

  31. So yeah, I'm now using

    #busybox mount

    instead of plain mount for my #overlayfs shenanigans.

  32. So yeah, I'm now using

    #busybox mount

    instead of plain mount for my #overlayfs shenanigans.