home.social

#systemd — Public Fediverse posts

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

  1. This week in #fedora #linux, basically nothing since I was on PTO:

    • Opened a draft/strawman PR for a solution to systemd-run0 and SELinux, discussion ongoing there so if you know things about SELinux and #systemd your input is very much appreciated: github.com/systemd/systemd/pul
    • Discussed a bit about Pi 3 support and MBR/GPT stuff.
    • Some meetings.
  2. unattended-upgrades был включен и с июля не поставил ни одного обновления

    Уязвимости в PHP и Ubuntu в последнее время выходят чуть ли не каждый день, и на серверах их обычно закрывает unattended-upgrades. На четырех наших серверах он был установлен и включен, таймеры apt срабатывали по расписанию. При этом с июля он не поставил ни одного пакета.

    habr.com/ru/articles/1107418/

    #ubuntu #php #ppa #apt #unattendedupgrades #systemd #обновления_безопасности #noblesecurity

  3. Run GNS3 as a headless daemon on Ubuntu: gns3-server exposes a REST API on TCP 3080, driving KVM/QEMU, Docker, and Dynamips, managed via systemd. #gns3 #systemd #kvm valtersit.com/vault/headless-g

  4. the issue is related to syscall filtering.

    The ExecStartPre only fails because of it on 1st try. The automatic retry however succeeds. Does #systemd bypass the syscall filtering when it does a on-failure retry?!?

    No, probably not, as the script creates the files when I comment it out.

    However it considers the failing ExecStartPre as successful for whatever reason.

    WTF?!?

  5. The 2nd install creates the files properly with the correct user (the one the script itself is running as) but incorrect mode. they're 0600 instead of 0644. So it probably fails there.

    The 3rd install command matches the live environment. So not sure if it gets executed.

    The 4th one never gets executed. The files do not exist.

    But regardless, why does the automatic retry succeed? Shouldn't it fail too?

    I would have expected that, chatGPT expected that, so why does it work?!?

    #systemd

  6. It's something with ExecStartPre and Restart=on-failure. I smell a bug but I cannot see it.

    The prestart script should always fail as it tries to chown something it doesn't have permissions to. But for whatever reason it only fails the unit the first time and gets skipped when systemd does an automatic retry.

    Like I can reproduce this when I stop the unit and manually start it again. It fails and gets automatically retried and then starts...

    Wtf?!?

    (StartPre script is attached)

    #systemd

  7. #ChatGPT is useless for debugging #systemd issues.

    It just tells me that the behavior I'm seeing is impossible...

    The full unit file and error as text (available for 3 days): privatebin.net/?1b52137e6fcf73

  8. Как я написал на Go демон для экрана кулера Ocypus в Linux

    Всем привет! Моя основная система — Linux (Arch). Мне она очень нравится, но относительно недавно я обновил процессор и решил заодно поменять кулер. Выбор пал на Ocypus Delta A62 EX Digital . У него есть простая, но симпатичная фича: небольшой экранчик, на котором можно показывать температуру процессора или видеокарты. У Ocypus есть официальное приложение для Windows, а для Linux — нет. Поэтому я решил написать своё. В то время я как раз изучал Go, и он почти идеально подходит под такую задачу, но, честно говоря, это было ещё и желанием потренироваться в языке. К слову, я думаю когда‑нибудь переписать всё на C или Rust, но из‑за большого объёма учёбы времени на это пока нет. Так и начался проект ocyd .

    habr.com/ru/articles/1107776/

    #open_source #linux #go #reverse_engineering #arch_linux #systemd #nvml #ocypus #ocyd #ocypus_delta_a62_ex_digital

  9. zlink 0.9 is out: a Rust implementation of the Varlink IPC protocol. A program no longer needs an async runtime of its own to use it, and a service can restart under systemd without dropping its clients.

    What's new:
    • zruntime is the default runtime rather than Tokio, and each runtime has a `block_on` that drives it on the calling thread.
    • A service is now a struct that derives `Service` and holds its interfaces, each a type with `#[interface]` on its `impl` block.
    • `Server::run_until` stops a server gracefully, between method calls, and returns its listener, service and connections.
    • With the `handover` feature, on Linux, a service hands its connections over to its next instance, through zoter and systemd's file descriptor store.
    • The `byte_stream` module of each runtime runs a connection over a TLS stream, a WebSocket or any other byte stream.

    What breaks:

    • Tokio support is off by default: enable the `tokio` feature to keep using `zlink::tokio`.
    • `WriteHalf::write` returns the number of bytes it wrote, and the new `write_all` writes the whole buffer.
    • `Socket` has a new required method, `join`, the opposite of `split`.

    The `service` attribute macro keeps working but is deprecated in favor of `Service` derive and `interface` attribute macro, and the release notes list every breaking change.

    Release notes: github.com/z-galaxy/zlink/rele
    Book: z-galaxy.github.io/zlink/
    Crate: crates.io/crates/zlink

    #rustlang #varlink #systemd #zlink

  10. TurboJedi: три недели спустя

    Терминальный просмотрщик журнала systemd от первого коммита до версии 0.13.1: весь код пишет Claude, а автор ставит задачи и читает Это продолжение статьи «Turbo Vision спустя 36 лет: нормальный интерфейс для journald» . Три недели назад, 23 октября, в репозитории cyanide-burnout/TurboJedi появился первый коммит: «TurboJedi: Turbo Vision viewer of the systemd journal», чуть меньше пяти тысяч строк. Уже на следующий день вышла 0.1: окна журнала с фильтрами, уровнями и колонками, подсветка по правилам grc, переход ко времени. Название расшифровывается как Turbo Journald Interface, J[e]DI. С тех пор набралось почти сто коммитов и два десятка тегов, последняя версия — 0.13.1. В Source/ сейчас больше десяти тысяч строк C++, на GitHub — четыре десятка звёзд. Каждый релиз собирается в 23 пакета под двенадцать версий дистрибутивов. Ещё четыре pull request ушли в сам Turbo Vision.

    habr.com/ru/articles/1107514/

    #nfs #sshfs #turbo_vision #systemd #tui #journald #codex #claude #aiразработка #tvision

Share on Mastodon

Enter the server where you have an account.