home.social

#linuxulator — Public Fediverse posts

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

fetched live
  1. Denial of permission should not be followed by apparent confirmation that the impossible was achieved.

    blah@maximal:~ % service linux disable
    sed: /etc/rc.conf: Permission denied
    linux disabled in /etc/rc.conf
    blah@maximal:~ % service linux status
    /etc/rc.d/linux: unknown directive 'status'.
    Usage: /etc/rc.d/linux [fast|force|one|quiet](start|stop|restart|rcvar|enable|disable|delete|enabled|describe|extracommands)
    blah@maximal:~ % su -
    Password:
    root@maximal:~ # sysrc linux_enable
    linux_enable: YES
    root@maximal:~ # freebsd-version -kru ; uname -mvKU
    16.0-CURRENT
    16.0-CURRENT
    16.0-CURRENT
    FreeBSD 16.0-CURRENT main-n288034-d6f97c6bbca6 GENERIC-NODEBUG amd64 1600019 1600019
    root@maximal:~ #

    #FreeBSD #Linuxulator #service #bug

  2. Denial of permission should not be followed by apparent confirmation that the impossible was achieved.

    blah@maximal:~ % service linux disable
    sed: /etc/rc.conf: Permission denied
    linux disabled in /etc/rc.conf
    blah@maximal:~ % service linux status
    /etc/rc.d/linux: unknown directive 'status'.
    Usage: /etc/rc.d/linux [fast|force|one|quiet](start|stop|restart|rcvar|enable|disable|delete|enabled|describe|extracommands)
    blah@maximal:~ % su -
    Password:
    root@maximal:~ # sysrc linux_enable
    linux_enable: YES
    root@maximal:~ # freebsd-version -kru ; uname -mvKU
    16.0-CURRENT
    16.0-CURRENT
    16.0-CURRENT
    FreeBSD 16.0-CURRENT main-n288034-d6f97c6bbca6 GENERIC-NODEBUG amd64 1600019 1600019
    root@maximal:~ #

    #FreeBSD #Linuxulator #service #bug

  3. Is it normal for FreeBSD sleep (suspend) or wake (resume) to fail with virtual hardware that should support sleep?

    hdac0: Unexpected unsolicited response from address 0: 00000000

    The second screenshot here shows me preparing to run:

    zzz

    First run: a glimpse of ttyv0, and then Plasma reappeared at ttyv8. I can't recall whether it reappeared in response to keyboard input.

    Second run: a screen full of the hdac0 lines at ttyv0

    16.0-CURRENT, AMD64.

    #FreeBSD #Linuxulator #audio #S3 #sleep #suspend #wake #resume #bug

  4. Is it normal for FreeBSD sleep (suspend) or wake (resume) to fail with virtual hardware that should support sleep?

    hdac0: Unexpected unsolicited response from address 0: 00000000

    The second screenshot here shows me preparing to run:

    zzz

    First run: a glimpse of ttyv0, and then Plasma reappeared at ttyv8. I can't recall whether it reappeared in response to keyboard input.

    Second run: a screen full of the hdac0 lines at ttyv0

    16.0-CURRENT, AMD64.

    #FreeBSD #Linuxulator #audio #S3 #sleep #suspend #wake #resume #bug

  5. @david_chisnall thanks … I was keen to try Linuxulator as directed in the FreeBSD Handbook. The end result seemed quite bonkers, it seems that there's a gap in official documentation.

    <reddit.com/r/freebsd/comments/> – there's a request for someone to make a bug report.

    #FreeBSD #Linuxulator #documentation

  6. @david_chisnall thanks … I was keen to try Linuxulator as directed in the FreeBSD Handbook. The end result seemed quite bonkers, it seems that there's a gap in official documentation.

    <reddit.com/r/freebsd/comments/> – there's a request for someone to make a bug report.

    #FreeBSD #Linuxulator #documentation

  7. How to add things such as wget and apt to Ubuntu 26.04 LTS in Linuxulator on FreeBSD?

    reddit.com/r/Ubuntu/comments/1

    What's the easiest way to install apt, in the absence of wget?

    Alternatively: what's the easiest way to install wget, in the absence of apt?

    #FreeBSD #apt #Linux #Linuxulator #Ubuntu

  8. How to add things such as wget and apt to Ubuntu 26.04 LTS in Linuxulator on FreeBSD?

    reddit.com/r/Ubuntu/comments/1

    What's the easiest way to install apt, in the absence of wget?

    Alternatively: what's the easiest way to install wget, in the absence of apt?

    #FreeBSD #apt #Linux #Linuxulator #Ubuntu

  9. Running Podman on FreeBSD? It’s a totally different beast than Linux. :freebsd:

    I just published a follow-up to my previous Podman deep dive, going into the FreeBSD operational model for OCI containers. No systemd, no Quadlets, and no rootless mode, but you get native ZFS storage drivers, rc.d service integration, and the Linuxulator.

    We also cover the big question: why Podman complements Jails instead of replacing them.

    Read it here: blog.hofstede.it/podman-on-fre

    #FreeBSD #Podman #Linuxulator #ZFS #Homelab

  10. Running Podman on FreeBSD? It’s a totally different beast than Linux. :freebsd:

    I just published a follow-up to my previous Podman deep dive, going into the FreeBSD operational model for OCI containers. No systemd, no Quadlets, and no rootless mode, but you get native ZFS storage drivers, rc.d service integration, and the Linuxulator.

    We also cover the big question: why Podman complements Jails instead of replacing them.

    Read it here: blog.hofstede.it/podman-on-fre

    #FreeBSD #Podman #Linuxulator #ZFS #Homelab

  11. Getting `KLD Linux.ko: depends on kernel - not available or version mismatch` on a machine that runs the #Linuxulator on #FreeBSD after upgrading a pkgbasified 14 to 15. Same for related file system modules. Is there anything I can do right now, or should I revert and wait for the modules to be re-compiled for 15? When would those versions hit -RELEASE?

  12. Getting `KLD Linux.ko: depends on kernel - not available or version mismatch` on a machine that runs the #Linuxulator on #FreeBSD after upgrading a pkgbasified 14 to 15. Same for related file system modules. Is there anything I can do right now, or should I revert and wait for the modules to be re-compiled for 15? When would those versions hit -RELEASE?

  13. 🎩✨ Oh look, someone discovered the #Linuxulator on #FreeBSD and thinks it's magical because VS Code kinda works. 🎉🚀 It’s like finding out that water is wet—astoundingly groundbreaking! 🧙‍♂️🔍
    hayzam.com/blog/02-linuxulator #VSCode #discovery #techmagic #groundbreaking #HackerNews #ngated

  14. 🎩✨ Oh look, someone discovered the #Linuxulator on #FreeBSD and thinks it's magical because VS Code kinda works. 🎉🚀 It’s like finding out that water is wet—astoundingly groundbreaking! 🧙‍♂️🔍
    hayzam.com/blog/02-linuxulator #VSCode #discovery #techmagic #groundbreaking #HackerNews #ngated

  15. @trashheap <reddit.com/r/freebsd/comments/>

    "… Maybe first runs of www/chromium are just a little fragile. …"

    I made a messy screen recording that shows failure with a first run.

    Cc @clf

    #FreeBSD #DRM #Widevine #Chromium #Linuxulator

  16. @trashheap <reddit.com/r/freebsd/comments/>

    "… Maybe first runs of www/chromium are just a little fragile. …"

    I made a messy screen recording that shows failure with a first run.

    Cc @clf

    #FreeBSD #DRM #Widevine #Chromium #Linuxulator

  17. (Linux news in previous posts)

    FOSS NEWS

    State of Mozilla report outlines an alternative vision for AI:
    betanews.com/article/state-of-

    Brave browser adds option to block YouTube Playables in settings:
    alternativeto.net/news/2026/1/
    (I play da YouTube game. I "pirate" stuff with FreeTube and yt-dlp, use VPN when I get IP block, use Invidious when FreeTube and yt-dlp break. Also have an Android-x86 VM just to have NewPipe as a fallback. Now that's the game.)
    (Actually someone should make a YouTube Piracy Simulator game where the player can collect score by watching or downloading videos using 3rd party tools (could work similarly like those simple mobile games where players need to tap on resources to collect them). The enemy is YouTube, final boss is DRM lmao)

    Signal now lets users pin messages in one-on-one and group chats, with time limits:
    alternativeto.net/news/2026/1/

    Proton Drive SDK update: faster, more reliable file operations:
    proton.me/blog/drive-sdk-janua

    Bitwarden enhances Premium and Families plans with more security features & raises prices:
    alternativeto.net/news/2026/1/

    Transmission 4.1.0 Released with Big Updates:
    omgubuntu.co.uk/2026/01/transm

    Notesnook 3.3.8 brings note expiration, CSV import/export, and improved customization:
    alternativeto.net/news/2026/1/

    Shotcut Video Editor Now Using Hardware Decoding By Default Except For NVIDIA On Linux:
    phoronix.com/news/Shotcut-26.1

    Calibre 9.0 adds new bookshelf view, instant editing, Linux scrolling upgrades, and more:
    alternativeto.net/news/2026/1/

    F-Droid Basic 2.0 alpha debuts with rewritten UI, better search and improved app discovery:
    alternativeto.net/news/2026/1/

    STAR WARS Battlefront II private server and mod launcher KYBER goes open source:
    gamingonlinux.com/2026/01/star

    Linuxulator-Steam-Utils To Enjoy Steam Play Gaming On FreeBSD & Other Options:
    phoronix.com/news/FreeBSD-Gami

    (more FOSS news in comments)

    #WeeklyNews #OpenSource #FOSSNews #Mozilla #Brave #Signal #Proton #ProtonDrive #Bitwarden #Transmission #Notesnook #Shotcut #Calibre #FDroid #StarWarsBattlefront #Kyber #Linuxulator #FreeBSD #FosseryTech

  18. (Linux news in previous posts)

    FOSS NEWS

    State of Mozilla report outlines an alternative vision for AI:
    betanews.com/article/state-of-

    Brave browser adds option to block YouTube Playables in settings:
    alternativeto.net/news/2026/1/
    (I play da YouTube game. I "pirate" stuff with FreeTube and yt-dlp, use VPN when I get IP block, use Invidious when FreeTube and yt-dlp break. Also have an Android-x86 VM just to have NewPipe as a fallback. Now that's the game.)
    (Actually someone should make a YouTube Piracy Simulator game where the player can collect score by watching or downloading videos using 3rd party tools (could work similarly like those simple mobile games where players need to tap on resources to collect them). The enemy is YouTube, final boss is DRM lmao)

    Signal now lets users pin messages in one-on-one and group chats, with time limits:
    alternativeto.net/news/2026/1/

    Proton Drive SDK update: faster, more reliable file operations:
    proton.me/blog/drive-sdk-janua

    Bitwarden enhances Premium and Families plans with more security features & raises prices:
    alternativeto.net/news/2026/1/

    Transmission 4.1.0 Released with Big Updates:
    omgubuntu.co.uk/2026/01/transm

    Notesnook 3.3.8 brings note expiration, CSV import/export, and improved customization:
    alternativeto.net/news/2026/1/

    Shotcut Video Editor Now Using Hardware Decoding By Default Except For NVIDIA On Linux:
    phoronix.com/news/Shotcut-26.1

    Calibre 9.0 adds new bookshelf view, instant editing, Linux scrolling upgrades, and more:
    alternativeto.net/news/2026/1/

    F-Droid Basic 2.0 alpha debuts with rewritten UI, better search and improved app discovery:
    alternativeto.net/news/2026/1/

    STAR WARS Battlefront II private server and mod launcher KYBER goes open source:
    gamingonlinux.com/2026/01/star

    Linuxulator-Steam-Utils To Enjoy Steam Play Gaming On FreeBSD & Other Options:
    phoronix.com/news/FreeBSD-Gami

    (more FOSS news in comments)

    #WeeklyNews #OpenSource #FOSSNews #Mozilla #Brave #Signal #Proton #ProtonDrive #Bitwarden #Transmission #Notesnook #Shotcut #Calibre #FDroid #StarWarsBattlefront #Kyber #Linuxulator #FreeBSD #FosseryTech

  19. @mpts Thanks again for your tip! My #Jekyll build chain works - via a Git hook calling the #Linuxulator - on my existing #Forgejo #FreeBSD server now.

    Quick writeup for anyone interested:

    oxcrag.net/blog/2025/07/26/Git

  20. @mpts Thanks again for your tip! My #Jekyll build chain works - via a Git hook calling the #Linuxulator - on my existing #Forgejo #FreeBSD server now.

    Quick writeup for anyone interested:

    oxcrag.net/blog/2025/07/26/Git

  21. @mikael Hmm, I see. Wouldn't the bundler break on a Linux distro as well?

    When it comes to the Linux-only SASS library, a solution might be to run it with #Linuxulator on #FreeBSD. I've done it in the past for various programs that are only released for Linux.

    Good luck!

  22. @mikael Hmm, I see. Wouldn't the bundler break on a Linux distro as well?

    When it comes to the Linux-only SASS library, a solution might be to run it with #Linuxulator on #FreeBSD. I've done it in the past for various programs that are only released for Linux.

    Good luck!

  23. Ok, so check this out. I raved about how magical #FreeBSD #linuxulator is, but it gets even better! In my Ubuntu linux jail, I downloaded the source for the #mobian kernel, installed cross-compiling tools, compiled the kernel and modules, copied to an sdcard, and booted up the kernel on my #pinephonepro 🤯 So, on my amd64 FreeBSD, I used a translation layer to load up Ubuntu Linux, used it to cross-compile a Linux kernel for arm64, and booted that up on a device! How unbelievable is that?!?

  24. Ok, so check this out. I raved about how magical #FreeBSD #linuxulator is, but it gets even better! In my Ubuntu linux jail, I downloaded the source for the #mobian kernel, installed cross-compiling tools, compiled the kernel and modules, copied to an sdcard, and booted up the kernel on my #pinephonepro 🤯 So, on my amd64 FreeBSD, I used a translation layer to load up Ubuntu Linux, used it to cross-compile a Linux kernel for arm64, and booted that up on a device! How unbelievable is that?!?

  25. Oh wow, the #FreeBSD #Linuxulator is just magic! I setup an Ubuntu #LinuxJail as described in the linked wiki and was able to compile and flash #Arduino code to my Uno using #PlatformIO, which is absolutely mind blowing because the tools for compiling are not available for "freebsd_amd64", yet in this Linux environment (not emulated, not a VM, just a translation layer), the Linux binaries were able to compile and then flash to the USB device (using the FreeBSD kernel… tobykurien.com/post-1744211915

  26. Oh wow, the #FreeBSD #Linuxulator is just magic! I setup an Ubuntu #LinuxJail as described in the linked wiki and was able to compile and flash #Arduino code to my Uno using #PlatformIO, which is absolutely mind blowing because the tools for compiling are not available for "freebsd_amd64", yet in this Linux environment (not emulated, not a VM, just a translation layer), the Linux binaries were able to compile and then flash to the USB device (using the FreeBSD kernel… tobykurien.com/post-1744211915

  27. One of the main things that worried me regarding running #FreeBSD on this computer was the unavailability of #1Password for this operating system: With unique credentials everywhere and multiple devices, some sort of centralized secrets manager is a must. Fortunately the #Firefox plugin works here. Next step will be to dip my toes into the #linuxulator to see what can be done that way.

  28. One of the main things that worried me regarding running #FreeBSD on this computer was the unavailability of #1Password for this operating system: With unique credentials everywhere and multiple devices, some sort of centralized secrets manager is a must. Fortunately the #Firefox plugin works here. Next step will be to dip my toes into the #linuxulator to see what can be done that way.

  29. #Podman has been ported to #FreeBSD. And it can run Arch Linux for me.

    Linux containers in FreeBSD can start through the old good #Linuxulator - which does not support complex features like cgroups or namespaces, which means I probably can't run a container inside a container. Yet.

    But this Linux layer is actively supported in FreeBSD for almost 20 years and is rock-solid! It started in 2006 at Google, based on Linux kernel 2.6 and today it shows up as 5.15-compatible!

  30. In case you did not know, you can easily watch #Netflix or other content that requires #WidevineDRM on #FreeBSD, thanks to #linuxulator compatibility layer.

    Very easy to set up. And one more solid reason to use FreeBSD as your primary daily driver, without the need to switch to something else.

    github.com/mrclksr/linux-brows

  31. In case you did not know, you can easily watch #Netflix or other content that requires #WidevineDRM on #FreeBSD, thanks to #linuxulator compatibility layer.

    Very easy to set up. And one more solid reason to use FreeBSD as your primary daily driver, without the need to switch to something else.

    github.com/mrclksr/linux-brows

  32. @meka not really. In a jail, using Gentoo's "portage" to build packages probably would make sense. But the #Linuxulator userland should not run jailed but instead integrated (by means of the "overlay" that's by default in /compat/linux) with the #FreeBSD userland, so it can (mostly!) access the same files at the same paths. This comes with additional requirements and also additional challenges building the packages (so unmodified portage wouldn't work either). It makes more sense using #FreeBSD ports for that, as you probably want FreeBSD packages. Moreover, it's possible to "bootstrap" that without the need for any Linux binary, by first cross-compiling the #GNU toolchain, I got this part working somewhat well 😉

  33. @meka not really. In a jail, using Gentoo's "portage" to build packages probably would make sense. But the userland should not run jailed but instead integrated (by means of the "overlay" that's by default in /compat/linux) with the userland, so it can (mostly!) access the same files at the same paths. This comes with additional requirements and also additional challenges building the packages (so unmodified portage wouldn't work either). It makes more sense using ports for that, as you probably want FreeBSD packages. Moreover, it's possible to "bootstrap" that without the need for any Linux binary, by first cross-compiling the toolchain, I got this part working somewhat well 😉

  34. @meka Unfortunately, I hit a roadblock (needing #rust for #Linuxulator before getting to a point where I could actually test some closed-source #Linux software) and didn't find time to experiment building that on #FreeBSD. So, no conclusion yet, and to continue, I'd have to go through the whole branch again first and at least upgrade everything .... 😞

  35. @meka Unfortunately, I hit a roadblock (needing for before getting to a point where I could actually test some closed-source software) and didn't find time to experiment building that on . So, no conclusion yet, and to continue, I'd have to go through the whole branch again first and at least upgrade everything .... 😞

  36. @stefano Ok, so you're exactly where I finally gave up, my instance is running in a #Devuan vm (no docker involved) after I failed to both run it inside #FreeBSD and #Linuxulator jails 😞

  37. @stefano Ok, so you're exactly where I finally gave up, my instance is running in a vm (no docker involved) after I failed to both run it inside and jails 😞

  38. Update on my #FreeBSD #Linuxulator "userland from source" project: Fixing "interesting" issues 🙄

    I meanwhile created a #ports #overlay, for easy testing in different environments, and trying it on my "productive" builder, there were suddenly lots of failures. The "weirdest" one now took me many days to fully understand: For some ports, "stage" seemed to install the files just fine, yet "package" didn't find any files. 🤯

    Turns out installing using #Linux tools created the stagedir below /compat/linux instead. Trying to understand why, the answer was "because it could".

    The indirect reason was #ccache, forcing #poudriere to do everything as root by default, and for root, /compat/linux is writable. There are still some other fails, maybe also ccache-related, but at least I just committed a workaround (including a warning) for *this* issue:
    github.com/Zirias/freebsd-port

  39. Update on my "userland from source" project: Fixing "interesting" issues 🙄

    I meanwhile created a , for easy testing in different environments, and trying it on my "productive" builder, there were suddenly lots of failures. The "weirdest" one now took me many days to fully understand: For some ports, "stage" seemed to install the files just fine, yet "package" didn't find any files. 🤯

    Turns out installing using tools created the stagedir below /compat/linux instead. Trying to understand why, the answer was "because it could".

    The indirect reason was , forcing to do everything as root by default, and for root, /compat/linux is writable. There are still some other fails, maybe also ccache-related, but at least I just committed a workaround (including a warning) for *this* issue:
    github.com/Zirias/freebsd-port

  40. @thindil Haha, that was just a gentle hint 😉. But I think it's really important to understand the difference between #Linuxulator and #LinuxKPI, although you're certainly right, *both* were further improved/extended in #FreeBSD 14.

    BTW, I'm pretty sure there is *no* GPL-licensed code in the kernel. There is some GPL-licensed code in base, yes, but you can build base without it; the goal is always to provide a full BSD-licensed OS.

    In fact, if I'm not mistaken, remains of GPL-licensed files in LinuxKPI are the main reason we still have drm-kmod drivers as a port (and not integrated with the base kernel), where this port includes these small parts of LinuxKPI. The drm drivers themselves are not GPL-licensed.

  41. @thindil Haha, that was just a gentle hint 😉. But I think it's really important to understand the difference between and , although you're certainly right, *both* were further improved/extended in 14.

    BTW, I'm pretty sure there is *no* GPL-licensed code in the kernel. There is some GPL-licensed code in base, yes, but you can build base without it; the goal is always to provide a full BSD-licensed OS.

    In fact, if I'm not mistaken, remains of GPL-licensed files in LinuxKPI are the main reason we still have drm-kmod drivers as a port (and not integrated with the base kernel), where this port includes these small parts of LinuxKPI. The drm drivers themselves are not GPL-licensed.

  42. @thindil @emaste Please understand that a #syscall is something completely different than some other, in-kernel, call. A syscall is the special way userspace can call something in the kernel, which needs a context switch. Some architectures have special CPU instructions for syscalls available, on other architectures, software-interrupts (that the kernel can handle) are used, etc.

    Nothing of that is done for in-kernel calls, they're "just" function calls.

    #FreeBSD #Linuxulator provides a set of #Linux-compatible syscalls. The #LinuxKPI project on the other hand aims to provide in-kernel Linux compatibility for use by certain drivers. They're completely unrelated.

    BTW, you're missing a syllable, it's spelled LinuxULator 😉

  43. @thindil @emaste Please understand that a is something completely different than some other, in-kernel, call. A syscall is the special way userspace can call something in the kernel, which needs a context switch. Some architectures have special CPU instructions for syscalls available, on other architectures, software-interrupts (that the kernel can handle) are used, etc.

    Nothing of that is done for in-kernel calls, they're "just" function calls.

    provides a set of -compatible syscalls. The project on the other hand aims to provide in-kernel Linux compatibility for use by certain drivers. They're completely unrelated.

    BTW, you're missing a syllable, it's spelled LinuxULator 😉

  44. Did all these tests, did some fixes, "#Linuxulator userland from source" branch builds fine on 14-CURRENT/13.2-RELEASE, aarch64/amd64/i386 🥳

    Now doing test builds with 15-CURRENT, which already has a fix for the issue. Unfortunately, it's still incomplete. Neverending story 😞

    JFTR, not blaming dchagin at all. It seems Linux has some very weird design decisions, and semantics of the xattr syscall return codes -- EPERM is considered fatal by GNU/Linux tools, because Linux returns ENOATTR or ENOTSUP when access to e.g. the system namespace is restricted 🤯

  45. Double-checking still in progress. So far, fixed an issues on 13.2/aarch64, another one on 14-CURRENT/amd64 (yep, didn't upgrade my test builders to 15-CURRENT yet 🙈) and yet another one on 14-CURRENT/i386.

    Now, test builds for 13.2/i386 are running. We will see. Once I'm sure the version of builds fine everywhere, I'll finally check 😎