home.social

#chroot — Public Fediverse posts

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

  1. If you are using chroot for your gunicorn applications I’d like to chat about a few things.

    #chroot #django #djangochannels
    #pyconus #gunicorn

  2. Wrote a silly script to showcase how to use unshare + chroot/pivot_root in order to manually enter a / without needing privileges:

    gist.github.com/mid-kid/9293f4

    I rarely see anyone mention how this can be done without needing to reach for or systemd-nspawn, and I think it's important to see how you can leverage the primitives that drive container technology.

    The script can be simplified, but not without sacrificing correctness. I hope the comments help.

  3. Regex песочница

    В данной статье описывается процесс реализации песочницы для регулярных выражений с помощью платформы для контейнеризации Docker и утилит Linux. Цель - получить ограниченную среду, куда пользователь может подключиться по SSH и где у него будет минимум возможностей, чтобы он ничего не сломал, но мог свободно использовать регулярные выражения как со встроенными в среду txt заготовками, так и со своим произвольным пользовательским вводом.

    habr.com/ru/articles/1008668/

    #docker #bash #bashscripting #chroot #shell

  4. Say hello to the new plugin: `Hop`. Thanks to the new #rust plugin-sdk we can code plugins in rust!

    This plugin will be the base of the CI/CD of GitRoot. It permit to execute process on the host server.

    This process could be executed in an oci container #podman or #docker

    But for now I want to try to exec in a #chroot jail. The approache is much more in the spirit of GitRoot (less ressource needed, more simple to use... or not will see...) even if I know oci container are mandatory.

    It will be the responsibility of the instance administrator to choose what strategy they want to offer to their users.

    #git #forge #cicd #rustlang

  5. Any #BSD 'heads out there with lots of #Linux experience?

    What is your take on #chroot #jails versus #Docker #containers / #pods ?

    Talk to me like the last time I ran #FreeBSD in production was twenty years ago.

    5AM #espresso #musings

    #DevOps #Server #VM #PlatformEngineering #FreeBSD #OpenBSD #NetBSD

  6. Who is using chroot with php-fpm? Is it worth it?

  7. Oh, looks like there is one problem with using cash register as a server :drgn_cry:

    The Intel Atom N2800 doesn't support VT-x, so I can't use nvmm NetBSD hypervisor. Looks like the only one option to sandbox some services, which should be exposed outside, is to use chroot and sandboxctl: cdn.netbsd.org/pub/pkgsrc/curr

    #NetBSD #homelab #chroot

  8. За 20 минут со стаканом чая и составленным планом действий над статьями в большом блоге я успел обработать всего 3 статьи, одну из которых удалил. Медленно :(

    Обнаружил, что есть несколько статей, посвящённых сбору очень компактных #chroot'ов. Какую пользу из них вынести в 2025? За #docker образы так никто не дрочится. В чрутах никто не работает. Грохать жалко. Чувствую себя цифровым скопидомом.

  9. #Root-Zugriff für alle:

    #Kritische #Sudo-Lücke gefährdet unzählige #Linux-Systeme

    #Forscher haben eine gefährliche #Sicherheitslücke im #Kommandozeilentool #Sudo entdeckt. Angreifer können mit wenig Aufwand Root-Rechte erlangen.

    Die #Sicherheitslücke besteht laut Blogbeitrag der #Forscher seit der im Juni 2023 veröffentlichten #Sudo-Version 1.9.14 – und damit seit rund zwei Jahren. Ursache ist wohl ein Fehler in der #Chroot- #Implementierung.

    golem.de/news/root-zugriff-fue

  10. @nickbearded but to more productive topics - i like how you can get a couple accounts going; of course this can be extended to stuff like groupware or black box zimbra. will get the vpn sorted today and certs going for the r proxy - it works fine have used it a bunch #flavors of tls and ssl #etherpad #securedrop #chroot access

  11. Happy to see things finally falling into place!
    SLiM is running smoothly on the live system, and BashCoreX (the GUI evolution of BashCore) is starting to take shape!

    I'm now installing the CLI toolset via apt inside the chroot.

    Next up: testing everything, then bringing in tools from GitHub, GitLab, and the rest of the wild.

    Let’s push it further! 🍻

    #BashCoreX #BashCore #Linux #MinimalistOS #Pentesting #XFCE #chroot

  12. [Перевод] Восстанавливаем повреждённый Linux через chroot

    Доводилось ли вам раскупоривать системник с Linux, который не грузится ни в какую – даже после того, как вы убедились в корректности настроек BIOS и в том, что никаких серьёзных аппаратных ошибок в машине нет? Если да – то вам просто необходимо изучить chroot. Он станет для вас настоящей палочкой-выручалочкой. Например, мне пару недель назад удалось таким методом восстановить устройство Nanopore GridION , после того, как мне совершенно не помог официальный метод переустановки через .iso-файл образа . Поэтому я решил задокументировать проделанные шаги. Этот метод я нащупал только после того, как Linux более десяти лет был моей рабочей лошадкой (спасибо, Мэтт !). Поэтому у меня есть основания полагать, что этот метод очень полезен и заслуживает вашего внимания. Надеюсь, этим постом мне удастся помочь тем, кому не доставало такого рассказа.

    habr.com/ru/articles/899776/

    #Linux #chroot #загрузочный_носитель #восстановление_данных #командная_строка

  13. Ah, yes, the ever-elusive #chroot technique—a #magical #ritual for resurrecting your #Linux systems from the dead. 🙄 Apparently, it's the "Swiss army knife" for when you can't manage to stick an .iso file into the right slot. 🛠️ Everyone take notes, because clearly, after a decade of using Linux, discovering basic #troubleshooting methods is a revelation. 🚀
    livesys.se/posts/the-chroot-te #SwissArmyKnife #tech #tips #HackerNews #ngated

  14. [Перевод] Что не так с chroot: почему для контейнеров используется именно pivot_root

    В этой статье рассматриваются различия между pivot_root и chroot в контексте безопасности контейнеров. Узнайте, почему Docker отказался от chroot в пользу pivot_roo t и как это решение улучшает защиту от потенциальных уязвимостей.

    habr.com/ru/companies/flant/ar

    #контейнеры #chroot #pivot_root #корневая_директория #dockerfs #root #linux #docker

  15. Ayer una actualización de windows rompió el grub. Con todas mis críticas a Manjaro últimamente, tienen una gran herramienta que facilita el chroot en el sistema. Una vez leído el funcionamiento, me llevó 3 minutos arreglar todo.

    #manjaro #gnulinux #chroot

  16. AND WE ARE LIVE!!!

    STEP ONE COMPLETE!! Now to learn how to use the darn thing.

    Also the #chroot idea worked!! I AM RUNNING APPIMAGES ON VOID LINUX!!! L E T ' S F _ C K I N G G O O O O O O O O O O O O O _

    #voidlinux #linux #hardwarehacking #logicanalyzer #HYPED #EXCITED

  17. @thegibson Setting up #Debian on #musl #voidlinux to #chroot into for installing #leapmotion software to control my new hand/motion tracker/controller, only for the software to spit out this:

    Error: Missing Dependency: glibc

    Thought I could cheat the system. Long story short, installed the GLIBC variant of Void on a USB, booted into it, and redid the process of converting and installing (guide coming soon).

  18. I'm running #pcmanfm from a #chroot with

    it opens and works, but fonts don't want to work
  19. Just added 𝗨𝗣𝗗𝗔𝗧𝗘 𝟮 - 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗲 𝗩𝗲𝗿𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗙𝗮𝗶𝗹𝗲𝗱 for 𝗙𝗶𝘅 𝗹𝗶𝗻𝘂𝘅-𝗯𝗿𝗼𝘄𝘀𝗲𝗿-𝗶𝗻𝘀𝘁𝗮𝗹𝗹𝗲𝗿(𝟴) 𝗼𝗻 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 article.

    vermaden.wordpress.com/2023/10

    #verblog #linux #freebsd #chroot #compat #browser #chrome #upgrade #update

  20. New 𝗙𝗶𝘅 𝗹𝗶𝗻𝘂𝘅-𝗯𝗿𝗼𝘄𝘀𝗲𝗿-𝗶𝗻𝘀𝘁𝗮𝗹𝗹𝗲𝗿(𝟴) 𝗼𝗻 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 [Fix linux-browser-installer(8) on FreeBSD] article on vermaden.wordpress.com blog.

    vermaden.wordpress.com/2023/10

    #verblog #freebsd #desktop #laptop #linux #drm #browser #chroot #compat

  21. #RunCPM v6.1 on
    NAS WLX-652 (like NS-K330)
    #SnakeOS v1.3.2 with #debian #Lenny #chroot
    300Mhz #Gemini #FA526id (STAR #STR8100) CPU
    32MB RAM, Kernel 2.6.16-gazineu
    61MB swap-file on USB2 (for RunCPM compile)
    USB1 = /usb/mnt/sda1 = chroot debian Lenny
    USB2 = /usb/mnt/sdb1 = swapfile-drive

  22. tinkering with the Linux Binary Compatibility of #FreeBSD - I just set up an #Ubuntu environment under /compat/ubuntu and did a #chroot into it. Then I've added a few more packages like xa65 , build-essential etc. and then cloned and successfully built #RomWBW with this setup.

    Another problem solved, well at least I can build RomWBW images on my FreeBSD system.

    As for actually burning the resulting ROM image to a real #chip ... let's just say that support for #Batronix usb devices is still ... err ... non-existent ... (I knew about this, so not surprised)

  23. #RunCPM v6.1 on
    NAS WLX-652 (like NS-K330)
    #SnakeOS v1.3.2 with #debian #Lenny #chroot
    300Mhz #Gemini #FA526id (STAR #STR8100) CPU
    32MB RAM, Kernel 2.6.16-gazineu
    61MB swap-file on USB2 (for RunCPM compile)
    USB1 = /usb/mnt/sda1 = chroot debian Lenny
    USB2 = /usb/mnt/sdb1 = swapfile-drive

  24. #RunCPM v6.1 on
    NAS WLX-652 (like NS-K330)
    #SnakeOS v1.3.2 with #debian #Lenny #chroot
    300Mhz #Gemini #FA526id (STAR #STR8100) CPU
    32MB RAM, Kernel 2.6.16-gazineu
    61MB swap-file on USB2 (for RunCPM compile)
    USB1 = /usb/mnt/sda1 = chroot debian Lenny
    USB2 = /usb/mnt/sdb1 = swapfile-drive

  25. #RunCPM v6.1 on
    NAS WLX-652 (like NS-K330)
    #SnakeOS v1.3.2 with #debian #Lenny #chroot
    300Mhz #Gemini #FA526id (STAR #STR8100) CPU
    32MB RAM, Kernel 2.6.16-gazineu
    61MB swap-file on USB2 (for RunCPM compile)
    USB1 = /usb/mnt/sda1 = chroot debian Lenny
    USB2 = /usb/mnt/sdb1 = swapfile-drive

  26. #RunCPM v6.1 on
    NAS WLX-652 (like NS-K330)
    #SnakeOS v1.3.2 with #debian #Lenny #chroot
    300Mhz #Gemini #FA526id (STAR #STR8100) CPU
    32MB RAM, Kernel 2.6.16-gazineu
    61MB swap-file on USB2 (for RunCPM compile)
    USB1 = /usb/mnt/sda1 = chroot debian Lenny
    USB2 = /usb/mnt/sdb1 = swapfile-drive

  27. [Перевод] Что не так с chroot: почему для контейнеров используется именно pivot_root

    В этой статье рассматриваются различия между pivot_root и chroot в контексте безопасности контейнеров. Узнайте, почему Docker отказался от chroot в пользу pivot_roo t и как это решение улучшает защиту от потенциальных уязвимостей.

    habr.com/ru/companies/flant/ar

    #контейнеры #chroot #pivot_root #корневая_директория #dockerfs #root #linux #docker

  28. [Перевод] Что не так с chroot: почему для контейнеров используется именно pivot_root

    В этой статье рассматриваются различия между pivot_root и chroot в контексте безопасности контейнеров. Узнайте, почему Docker отказался от chroot в пользу pivot_roo t и как это решение улучшает защиту от потенциальных уязвимостей.

    habr.com/ru/companies/flant/ar

    #контейнеры #chroot #pivot_root #корневая_директория #dockerfs #root #linux #docker

  29. [Перевод] Что не так с chroot: почему для контейнеров используется именно pivot_root

    В этой статье рассматриваются различия между pivot_root и chroot в контексте безопасности контейнеров. Узнайте, почему Docker отказался от chroot в пользу pivot_roo t и как это решение улучшает защиту от потенциальных уязвимостей.

    habr.com/ru/companies/flant/ar

    #контейнеры #chroot #pivot_root #корневая_директория #dockerfs #root #linux #docker